/* HytaleHQ - Professional Gaming Website */
:root {
    --primary-gold: #ffd700;
    --primary-blue: #1e3a8a;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-orange: #ff6b35;
    --success-green: #10b981;
    --hover-bg: #2a2a2a;
    --focus-ring: rgba(255, 215, 0, 0.45);
    --focus-ring-strong: rgba(255, 215, 0, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-image: url('https://sm.ign.com/t/ign_latam/screenshot/default/11_8d46.1080.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Falling drops / rain effect (Hyfable-style) */
.drops-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.drops-container .drop {
    position: absolute;
    top: -24px;
    width: 2px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(200, 230, 255, 0.2));
    animation: dropFall linear infinite;
}

@keyframes dropFall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Particles container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
}

.particles-container .particle {
    position: absolute;
    width: 2px;
    height: 6px;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 1), rgba(255, 107, 53, 0.7));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow:
        0 0 3px rgba(255, 215, 0, 0.7),
        0 0 6px rgba(255, 215, 0, 0.4),
        inset 0 -1px 1px rgba(255, 255, 255, 0.2);
    animation: rainDrop linear infinite;
    will-change: transform, opacity;
    transform-origin: top center;
}

.particles-container .particle.small {
    width: 1.5px;
    height: 5px;
    box-shadow:
        0 0 2px rgba(255, 215, 0, 0.6),
        0 0 4px rgba(255, 215, 0, 0.3),
        inset 0 -0.5px 0.5px rgba(255, 255, 255, 0.15);
}

.particles-container .particle.medium {
    width: 2px;
    height: 6px;
    box-shadow:
        0 0 3px rgba(255, 215, 0, 0.7),
        0 0 6px rgba(255, 215, 0, 0.4),
        inset 0 -1px 1px rgba(255, 255, 255, 0.2);
}

.particles-container .particle.large {
    width: 2.5px;
    height: 7px;
    box-shadow:
        0 0 4px rgba(255, 215, 0, 0.8),
        0 0 8px rgba(255, 215, 0, 0.5),
        0 0 12px rgba(255, 215, 0, 0.3),
        inset 0 -1.5px 1.5px rgba(255, 255, 255, 0.25);
}

@keyframes rainDrop {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    2% {
        opacity: 0.8;
    }
    5% {
        opacity: 1;
        transform: translateY(5vh) translateX(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) translateX(calc(var(--drift-x, 0) * 0.5)) rotate(1deg);
    }
    95% {
        opacity: 1;
        transform: translateY(95vh) translateX(var(--drift-x, 0)) rotate(0deg);
    }
    98% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift-x, 0)) rotate(-1deg);
        opacity: 0;
    }
}

/* Mouse trail container */
.mouse-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.mouse-trail-container .trail-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.9), rgba(255, 107, 53, 0.5));
    box-shadow:
        0 0 8px rgba(255, 215, 0, 0.8),
        0 0 16px rgba(255, 215, 0, 0.4);
    animation: trailFadeOut 0.6s ease-out forwards;
    will-change: transform, opacity;
    pointer-events: none;
}

@keyframes trailFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Hover particle burst */
.hover-particle-burst {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.9), rgba(255, 237, 78, 0.5));
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
    pointer-events: none;
    animation: burstOut 0.8s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes burstOut {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--burst-x, 0), var(--burst-y, 0)) scale(0);
    }
}

/* Subtle global polish */
::selection {
    background: rgba(255, 215, 0, 0.25);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.25);
    color: var(--text-primary);
}

/* Better default link styling */
a {
    color: var(--primary-gold);
    text-decoration: none;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration: underline;
}

/* Accessible, consistent focus rings (keyboard-friendly) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--focus-ring-strong);
    outline-offset: 2px;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Consistent "pressed" micro-interaction */
.btn-primary:active,
.btn-secondary:active,
.btn-vote:active,
.btn-discord:active,
.btn-join:active,
.btn-login:active,
.btn-register:active,
.btn-logout:active,
.btn-purchase:active,
.btn-discord-join:active,
.forum-nav-btn:active,
.btn-back:active,
.btn-new-thread:active,
.lb-tab:active,
.copy-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Subtle tab fade-in */
.tab-content.active {
    animation: tabFadeIn 180ms ease both;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Unified input caret color */
input,
textarea {
    caret-color: var(--primary-gold);
}

/* Scrollbar styling */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 53, 0.7) rgba(0, 0, 0, 0.35);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.35);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.75), rgba(255, 215, 0, 0.55));
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.35);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.9), rgba(255, 215, 0, 0.7));
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .drops-container {
        display: none !important;
    }

    /* Particles are now always visible - user explicitly requested them */
    /* Override reduced motion for particles - user wants them visible */
    .particles-container .particle,
    .particles-container .particle::before,
    .particles-container .particle::after {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }

    .mouse-trail-container .trail-particle,
    .hover-particle-burst {
        animation-duration: 0.6s !important;
        animation-iteration-count: 1 !important;
    }
}

/* Navigation - Enhanced with soft glow and rounded corners */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation container with proper spacing */
.nav-container {
    max-width: 1400px; /* Increased max-width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Reduced padding */
    gap: 1rem; /* Reduced gap */
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    flex-shrink: 0; /* Prevent logo from shrinking */
    margin-right: 1rem; /* Reduced margin */
    background: transparent !important;
}

/* Navigation Logo - Original style */
.nav-logo .logo-img {
    height: 100px;
    width: auto;
    max-width: 450px;
    display: block;
    margin: -15px 0 -15px -20px;
    transition:
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.3s ease;
    animation: navLogoBounce 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
    transform-origin: center;
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.4))
        drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

@keyframes navLogoBounce {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
    }
    20% {
        opacity: 1;
        transform: translateY(-8px) scale(1.05);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
    }
    40% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
    }
    60% {
        transform: translateY(-4px) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    }
    80% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
    }
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
    }
}

/* Hover effect for the logo */
.nav-logo:hover .logo-img {
    transform: scale(1.06);
    filter: brightness(1.1) drop-shadow(0 6px 20px rgba(255, 140, 0, 0.6))
        drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Increased spacing between tabs */
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1; /* Allow nav menu to take available space */
    justify-content: center; /* Center the navigation items */
}

.nav-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: none !important;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    margin: 0;
    position: relative;
    overflow: visible;
    letter-spacing: 0.02em;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    width: 80%;
    transform: translateX(-50%) scaleX(1);
}

.nav-link i,
.nav-link .nav-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.nav-link .nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-link:hover i,
.nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-link:hover {
    color: var(--text-primary) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--text-primary) !important;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 215, 0, 0.08));
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
    width: 100%;
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.user-menu {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu .user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.username {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
}

/* Navigation Actions - Enhanced with auth buttons */
.nav-actions {
    display: flex;
    gap: 0.4rem; /* Reduced gap */
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.auth-buttons {
    display: flex;
    gap: 0.4rem; /* Reduced gap */
    align-items: center;
    margin-left: 0.75rem; /* Reduced margin */
    padding-left: 0.75rem; /* Reduced padding */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-vote,
.btn-discord,
.btn-join,
.btn-login,
.btn-register,
.btn-logout {
    padding: 0.6rem 1rem; /* Reduced padding */
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap */
    border-radius: 6px; /* Slightly smaller radius */
    font-size: 0.9rem; /* Smaller font size */
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.badge-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
}

.btn-login {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    justify-content: center;
    border-radius: 50%;
}

.btn-discord {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn-vote:hover,
.btn-join:hover {
    background: var(--hover-bg);
    border-color: #555;
}

.btn-login:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 107, 53, 0.5);
}

.btn-register:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-discord:hover {
    background: #e55a2b;
}

/* Tab System */
.tab-container {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 80px);
}

.tab-content {
    display: none;
    min-height: calc(100vh - 80px);
    padding-top: 0;
}

.tab-content.active {
    display: block;
}

/* Ensure page headers are at the very top of tabs */
.tab-content > .page-header:first-child {
    margin-top: 0;
    padding-top: 0.5rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 1rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Trajanus Roman', 'Cinzel', serif;
    color: #ffd700; /* Bright yellow */
    text-transform: uppercase;
    letter-spacing: 0.08em; /* Optimized for page headers */
    margin-bottom: 1rem;

    /* Clean black shadows for page headers */
    text-shadow: 
        /* Black outline/stroke */
        -1px -1px 0 #000000,
        1px -1px 0 #000000,
        -1px 1px 0 #000000,
        1px 1px 0 #000000,
        -1px 0 0 #000000,
        1px 0 0 #000000,
        0 -1px 0 #000000,
        0 1px 0 #000000,
        /* Subtle depth shadow */ 0 2px 4px rgba(0, 0, 0, 0.8);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Hero Left Sidebar - Recently Donated (left of logo) */
.hero-left-sidebar {
    position: fixed;
    top: 72px;
    left: 2.5rem;
    z-index: 100;
}

/* Recently Donated - Glassy card */
.recently-donated-card {
    width: 280px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.recently-donated-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 107, 53, 0.3);
}

.recently-donated-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.donation-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.donation-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.donation-item .donation-amount {
    color: var(--primary-gold);
    font-weight: 700;
}

.donation-item .donation-name {
    color: var(--text-primary);
}

.donation-item .donation-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.donation-item.empty-state span {
    color: var(--text-secondary);
    font-style: italic;
}

.donation-item.donation-loading {
    justify-content: center;
    color: var(--text-muted);
}

/* Hero Sidebar Wrapper - Full-height sidebar on right */
.hero-sidebar-wrapper {
    position: fixed;
    top: 72px;
    right: 2.5rem;
    bottom: 1rem;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.3) transparent;
}

.hero-sidebar-wrapper::-webkit-scrollbar {
    width: 6px;
}

.hero-sidebar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.hero-sidebar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
}

.hero-sidebar-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Hero Sidebar - Discord/Server cards on right */
.hero-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

.hero-sidebar .discord-card {
    margin: 0;
}

.hero-sidebar .server-info {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.25rem;
    margin: 0;
}

.hero-sidebar .server-ip-container {
    margin: 0.75rem 0 0;
    max-width: 100%;
}

.hero-sidebar .server-ip-box {
    flex-wrap: wrap;
}

.hero-sidebar .hero-actions {
    margin: 0;
}

.hero-sidebar .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* Sidebar cards in hero-sidebar */
.hero-sidebar .sidebar-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
}

.hero-sidebar .sidebar-card h3 {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 0.5rem;
}

.hero-sidebar .quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-sidebar .quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-sidebar .quick-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--primary-gold);
}

@media (max-width: 1200px) {
    .hero-left-sidebar {
        position: static;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .hero-sidebar-wrapper {
        position: static;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .recently-donated-card {
        width: 100%;
    }

    .hero-sidebar {
        width: 100%;
    }

    .hero-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Hero Section - Right below navbar */
.hero-section {
    padding: 1.5rem 2rem 2.5rem; /* Extra bottom padding for sidebar buttons */
    padding-left: calc(280px + 3rem); /* Space for Recently Donated on left */
    padding-right: calc(320px + 3rem); /* Space for Discord/Server on right */
    text-align: center;
    max-width: 100%;
    margin: 0;
    position: relative;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0; /* Centered between left and right sidebars */
}

.hero-badge {
    display: inline-block;
    background: var(--card-bg);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Hero title - Original style */
.hero-title {
    margin-bottom: 0.25rem;
    margin-top: 0;
    position: relative;
    line-height: 0;
    background: transparent !important;
}

.hero-logo-img {
    height: auto;
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto 2rem;
    transform-origin: center;
    filter: drop-shadow(0 6px 25px rgba(255, 140, 0, 0.5))
        drop-shadow(0 0 35px rgba(255, 215, 0, 0.4));
    transition: filter 0.3s ease;
}

/* Remove bounce animation */
@media (prefers-reduced-motion: reduce) {
    .hero-logo-img {
        animation: none !important;
    }
}

.hero-title:hover .hero-logo-img {
    filter: brightness(1.15) drop-shadow(0 8px 35px rgba(255, 140, 0, 0.7))
        drop-shadow(0 0 50px rgba(255, 215, 0, 0.6));
}

@keyframes heroLogoPulse {
    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.6));
    }
}

@keyframes heroLogoBounce {
    0% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.02);
    }
    50% {
        transform: translateY(0px) scale(1);
    }
    75% {
        transform: translateY(-8px) scale(1.01);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    min-height: 6em; /* Prevent collapse during typing animation */
}

/* Discord Card - Custom glassmorphism widget */
.discord-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0 auto 1.5rem;
    max-width: 350px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.discord-card:hover::before {
    left: 100%;
}

.discord-server-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5865f2, #7289da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.discord-server-icon svg {
    display: block !important;
    color: white !important;
    width: 24px !important;
    height: 24px !important;
    z-index: 3;
    position: relative;
}

.discord-card:hover .discord-server-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.5);
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.discord-info h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.discord-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.discord-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 4.5rem;
    min-width: 0;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

.discord-join-btn {
    position: relative;
    z-index: 2;
}

.btn-discord-join {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-discord-join:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.discord-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.discord-info h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.discord-info p {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.discord-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 4.5rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Server Info */
.server-info {
    margin: 1.5rem 0;
}

.server-status {
    color: var(--success-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.server-ip-container {
    position: relative;
    max-width: 450px;
    margin: 1rem auto;
}

.gfx-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: gfxPulse 2s ease-in-out infinite;
}

@keyframes gfxPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.5);
    }
}

.server-ip-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.server-ip-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.server-ip {
    font-family: 'Orbitron', 'Space Grotesk', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.02em;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent-orange);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.copy-btn:active {
    transform: scale(0.98);
}

.player-count {
    color: var(--text-secondary);
    margin: 1rem 0;
    font-size: 1.1rem;
    text-align: center;
}

/* Action Buttons - Enhanced with soft glows and rounded corners */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-primary);
    padding: 1.2rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Enhanced Glassmorphism Cards - Apply to all boxes */
.main-content,
.sidebar-card,
.news-item,
.rank-card,
.feature-card,
.value-card,
.lb-item,
.forum-category,
.thread-item,
.recent-post,
.create-thread-form {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-content:hover,
.sidebar-card:hover,
.news-item:hover,
.rank-card:hover,
.feature-card:hover,
.value-card:hover,
.lb-item:hover,
.forum-category:hover,
.thread-item:hover,
.recent-post:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Shimmer effect for all glassmorphism cards */
.main-content::before,
.sidebar-card::before,
.news-item::before,
.rank-card::before,
.feature-card::before,
.value-card::before,
.lb-item::before,
.forum-category::before,
.thread-item::before,
.recent-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.main-content:hover::before,
.sidebar-card:hover::before,
.news-item:hover::before,
.rank-card:hover::before,
.feature-card:hover::before,
.value-card:hover::before,
.lb-item:hover::before,
.forum-category:hover::before,
.thread-item:hover::before,
.recent-post:hover::before {
    left: 100%;
}

/* Ensure content is above the shimmer effect */
.main-content > *,
.sidebar-card > *,
.news-item > *,
.rank-card > *,
.feature-card > *,
.value-card > *,
.lb-item > *,
.forum-category > *,
.thread-item > *,
.recent-post > * {
    position: relative;
    z-index: 2;
}

/* Content Grid - Enhanced responsive layout */
.content-grid {
    max-width: 1400px;
    margin: 1rem auto 3rem; /* Reduced top margin - pull Latest News up under hero text */
    padding: 0 2rem;
    padding-right: calc(340px + 3rem); /* Space for fixed sidebar */
    padding-left: calc(280px + 3rem); /* Space for left sidebar */
    display: block;
}

.main-content {
    padding: 2rem;
    max-width: 100%;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 150; /* Above hero-sidebar-wrapper (z-index: 100) */
}

.sidebar-card {
    padding: 2rem;
}

.sidebar-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--primary-gold);
}

.quick-link svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* News Section - Enhanced with glassmorphism effect */
.news-section {
    position: relative;
}

.news-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.news-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.news-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.news-item:hover .news-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

.news-meta h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* User List - Enhanced with interactive effects */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(4px);
}

.user-list .user-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success-green), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.user-item:hover .user-avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

/* Online user items for sidebar */
.online-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.online-user:hover {
    background: rgba(255, 255, 255, 0.1);
}

.online-user .user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
}

.online-user .user-avatar.owner {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.online-user .user-avatar.admin {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.online-user .user-avatar.moderator {
    background: linear-gradient(135deg, #10b981, #059669);
}

.online-user .user-avatar.helper {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.online-user .user-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.online-user .user-rank {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.online-user .user-rank.owner {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.online-user .user-rank.admin {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.online-user .user-rank.moderator {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.online-user .user-rank.helper {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.server-players-info {
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-players-info::before {
    content: '●';
    color: #10b981;
    animation: pulse 2s infinite;
}

.empty-state {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

/* ABOUT TAB STYLES */
.about-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.about-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: var(--hover-bg);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 3rem;
}

.value-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent-orange);
    stroke: var(--accent-orange);
}

.value-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    margin: 0;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* FEATURES TAB STYLES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--hover-bg);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.feature-icon i {
    font-size: 3rem;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* STORE TAB STYLES - Enhanced Golden Glassmorphism */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.rank-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.rank-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.rank-card:hover::before {
    left: 100%;
}

/* Ensure content is above the shimmer effect */
.rank-card > * {
    position: relative;
    z-index: 2;
}

.rank-card.featured {
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.rank-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Store Credit Card - Enhanced Golden Styling */
.rank-card.store-credit {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rank-card.store-credit:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(255, 215, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.rank-card.store-credit h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.credit-amount-selector {
    margin: 1.5rem 0;
    text-align: left;
}

.credit-amount-selector label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.credit-select,
.custom-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.credit-select:focus,
.custom-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.custom-input {
    margin-top: 0.5rem;
}

.btn-credit {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    font-weight: 700;
    text-shadow: none;
}

.btn-credit:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.rank-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    z-index: 3;
}

.rank-header h3 {
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', 'Rajdhani', sans-serif;
    font-weight: 700;
    text-shadow:
        -1px -1px 0 #0f172a,
        1px -1px 0 #0f172a,
        -1px 1px 0 #0f172a,
        1px 1px 0 #0f172a,
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.rank-price {
    color: var(--primary-gold);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.rank-features {
    text-align: left;
    margin: 2rem 0;
}

.feature {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature:last-child {
    border-bottom: none;
}

.feature::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-purchase {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* ========================================
   CART & NEW STORE STYLES
   ======================================== */

/* Cart Icon in Navbar */
.btn-cart {
    position: relative;
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Cart Button inside store filters (shop page only) */
.shop-cart-btn {
    position: relative;
    margin-left: auto;
    background: linear-gradient(135deg, rgba(20, 15, 30, 0.95), rgba(30, 20, 45, 0.95));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 25px;
    cursor: pointer;
    padding: 0.8rem 2rem;
    color: var(--primary-gold);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.shop-cart-btn:hover {
    background: linear-gradient(135deg, rgba(30, 20, 50, 0.98), rgba(45, 30, 65, 0.98));
    border-color: var(--primary-gold);
    color: #fff;
    box-shadow:
        0 6px 28px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.shop-cart-btn:active {
    transform: translateY(0);
}

.shop-cart-btn svg {
    flex-shrink: 0;
}

.shop-cart-btn .cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    z-index: 2000;
    pointer-events: none;
}

.cart-drawer.open {
    pointer-events: auto;
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.cart-drawer.open .cart-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.cart-drawer.open .cart-drawer-content {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.cart-drawer-header h2 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-close-btn:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.cart-empty svg {
    color: rgba(255, 215, 0, 0.3);
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
}

.cart-item-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 215, 0, 0.3);
}

.cart-item-details {
    min-width: 0;
}

.cart-item-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-price .original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.cart-item-price .current-price {
    color: var(--primary-gold);
    font-weight: 700;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.25rem;
}

.qty-btn {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
}

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cart-subtotal span:first-child {
    color: var(--text-secondary);
}

.cart-subtotal span:last-child {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-continue-shopping {
    width: 100%;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
}

/* Store standalone page wrapper */
.store-page {
    display: block;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Store Filters */
.store-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.filter-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.filter-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Tag Logo */
.tag-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.tag-logo-image {
    max-width: 800px;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.2));
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(10, 10, 10, 0.4) 100%);
    /* Subtle gradient for depth */
    backdrop-filter: blur(20px);
    /* Increased blur for more premium feel */
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    /* Slightly more subtle border */
    border-radius: 20px;
    /* Increased border radius for softer look */
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother easing */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Inner highlight for premium feel */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    /* Subtle scale on hover */
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 215, 0, 0.35),
        0 0 80px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card.featured {
    border-color: rgba(255, 215, 0, 0.6);
}

.product-card.out-of-stock {
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: 1rem;
    z-index: 10;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.featured-badge {
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.product-badge.sale-badge {
    right: 1rem;
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.product-badge.stock-badge {
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-secondary);
}

.product-image-wrapper {
    width: 100%;
    height: 325px;
    /* Increased from 180px to 280px for more prominent artwork */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image {
    width: 97%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    color: rgba(255, 215, 0, 0.2);
}

.product-content {
    padding: 2rem 1.75rem;
    /* Increased padding for more breathing room */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Consistent spacing between elements */
}

.product-name {
    color: var(--primary-gold);
    font-size: 1.75rem;
    /* Increased from 1.5rem for better prominence */
    font-weight: 800;
    /* Bolder weight for premium feel */
    margin: 0 0 0.75rem 0;
    /* Increased spacing */
    font-family: 'Cinzel', 'Rajdhani', sans-serif;
    text-transform: uppercase;
    /* Ensure consistent capitalization */
    letter-spacing: 0.5px;
    /* Subtle letter spacing for luxury feel */
    line-height: 1.2;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    /* Slightly larger */
    margin: 0 0 0.5rem 0;
    /* Reduced bottom margin */
    line-height: 1.6;
    /* Improved line height for readability */
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    opacity: 0.9;
    /* Subtle transparency for hierarchy */
}

.product-description,
.product-description * {
    white-space: normal !important;
    text-overflow: unset !important;
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0.75rem 0 1.25rem 0;
    /* Adjusted margins for better spacing */
}

.product-original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
    /* Slightly larger for better readability */
}

.product-price {
    color: var(--primary-gold);
    font-size: 2.25rem;
    /* Increased from 2rem for more prominence */
    font-weight: 900;
    /* Maximum weight for luxury feel */
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow for depth */
    letter-spacing: -0.5px;
    /* Tighter spacing for numbers */
}

.product-price.sale-price {
    color: #ef4444;
}

.discount-percent {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.cart-item-price .discount-percent {
    font-size: 0.75rem;
    padding: 0.1rem 0.35rem;
}

.featured-product-price .discount-percent {
    font-size: 0.85rem;
}

.product-features {
    margin: 0.5rem 0 1.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Increased spacing between features */
}

.product-feature {
    display: flex;
    align-items: flex-start;
    /* Align to top for multi-line features */
    gap: 0.75rem;
    /* Increased gap between icon and text */
    padding: 0.5rem 0;
    /* Increased vertical padding */
    color: var(--text-primary);
    /* Changed from secondary to primary for better readability */
    font-size: 0.95rem;
    /* Slightly larger font */
    line-height: 1.5;
    border-bottom: none;
    /* Removed border for cleaner look */
}

.product-feature:last-child {
    border-bottom: none;
}

.product-feature svg {
    color: var(--primary-gold);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
    /* Subtle glow on checkmarks */
    margin-top: 0.1rem;
    /* Align with text better */
}

.product-feature.more {
    color: var(--primary-gold);
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
    padding-top: 0.25rem;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffed4e 100%);
    color: #000;
    border: none;
    padding: 1.1rem 1.75rem;
    /* Slightly more padding */
    border-radius: 12px;
    /* More rounded for premium feel */
    font-weight: 800;
    /* Bolder weight */
    font-size: 1.05rem;
    /* Slightly larger */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 1.75rem 1.75rem;
    /* Increased margins for more breathing room */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-add-to-cart:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #ffed4e 0%, var(--primary-gold) 100%);
    /* Reverse gradient on hover */
}

.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(100, 100, 100, 0.5);
    color: var(--text-secondary);
}

.btn-add-to-cart.added {
    background: #10b981;
    color: white;
}

/* Loading Skeleton */
.product-skeleton {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    height: 280px;
    /* Updated to match new image wrapper height */
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 1.5rem;
}

.skeleton-title {
    width: 70%;
    height: 24px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-price {
    width: 40%;
    height: 32px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-features {
    margin-bottom: 1.5rem;
}

.skeleton-feature {
    width: 80%;
    height: 16px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-button {
    width: 100%;
    height: 48px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 10px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Spin animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* No Products State */
.no-products,
.store-error {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.no-products svg,
.store-error svg {
    color: rgba(255, 215, 0, 0.3);
    margin-bottom: 1.5rem;
}

.no-products h3,
.store-error h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.btn-retry {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Store notification */
.store-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.store-notification.show {
    transform: translateX(0);
}

.store-notification.success {
    background: #10b981;
    color: white;
}

.store-notification.error {
    background: #ef4444;
    color: white;
}

.store-notification.info {
    background: #3b82f6;
    color: white;
}

/* Cart Drawer Responsive */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }

    .cart-item-quantity,
    .cart-item-remove {
        grid-column: 2;
        justify-self: start;
    }

    .shop-cart-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

.feature {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature:last-child {
    border-bottom: none;
}

.btn-purchase {
    background: var(--accent-orange);
    color: white;
    padding: 1rem 2rem;
    border: none;
    width: 100%;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-purchase:hover {
    background: #e55a2b;
}

/* LEADERBOARD TAB STYLES - Enhanced Glassmorphism */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lb-tab {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lb-tab:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.lb-tab:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.lb-tab:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--text-primary);
}

.lb-tab.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.6), rgba(255, 215, 0, 0.4));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 4px 15px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.leaderboard-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lb-content {
    display: none;
}

.lb-content.active {
    display: block;
}

.lb-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lb-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.lb-item:hover::before {
    left: 100%;
}

.lb-item:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lb-rank {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 800;
    min-width: 60px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    font-family: 'Rajdhani', sans-serif;
}

.lb-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.lb-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.lb-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.lb-value {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* FORUMS TAB STYLES - Interactive Forum System */
.forum-nav {
    display: flex;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 0 2rem;
    justify-content: center;
}

.forum-nav-btn {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forum-nav-btn:hover,
.forum-nav-btn.active {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    color: var(--text-primary);
}

.forum-view {
    display: none;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.forum-view.active {
    display: block;
}

/* Create Thread View */
#forum-create-view .forum-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

#forum-create-view .forum-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

#forum-create-view .btn-back {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--primary-gold);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
}

#forum-create-view .btn-back:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
    transform: translateX(-3px);
}

.forum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back,
.btn-new-thread {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover,
.btn-new-thread:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.forum-categories {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.forum-category {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.forum-category:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.forum-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.forum-category:hover::before {
    left: 100%;
}

.category-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2rem;
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-orange);
    stroke: var(--accent-orange);
}

.category-info {
    position: relative;
    z-index: 2;
}

.category-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.category-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.category-stats {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.category-latest {
    text-align: right;
    position: relative;
    z-index: 2;
}

.post-title {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.post-author {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Thread List Styles */
.thread-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thread-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thread-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.thread-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.thread-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.thread-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.thread-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: auto;
}

/* Create Thread Form */
.create-thread-form {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
}

.create-thread-form::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-gold),
        var(--accent-orange),
        var(--primary-gold)
    );
}

.create-thread-form form {
    padding: 2rem 2.5rem 2.5rem;
}

.create-thread-form .form-group {
    margin-bottom: 1.75rem;
}

.create-thread-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.create-thread-form .form-group label::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-gold);
    border-radius: 2px;
}

.create-thread-form .form-group input,
.create-thread-form .form-group select,
.create-thread-form .form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.create-thread-form .form-group input:hover,
.create-thread-form .form-group select:hover,
.create-thread-form .form-group textarea:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.create-thread-form .form-group input:focus,
.create-thread-form .form-group select:focus,
.create-thread-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.5);
    box-shadow:
        0 0 0 3px rgba(255, 215, 0, 0.15),
        0 4px 20px rgba(255, 215, 0, 0.1);
}

.create-thread-form .form-group input::placeholder,
.create-thread-form .form-group textarea::placeholder {
    color: var(--text-muted);
}

.create-thread-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.create-thread-form .form-group textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.6;
}

.create-thread-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.create-thread-form .form-actions .btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ffb700 100%);
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.create-thread-form .form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.45);
}

.create-thread-form .form-actions .btn-secondary {
    padding: 1rem 1.75rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-thread-form .form-actions .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Generic Form Group (fallback) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.recent-post:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Individual Thread View Styles */
.thread-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.thread-post {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thread-post.original-post {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.thread-post:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.thread-post.original-post:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.post-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.original-post .post-avatar {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.thread-post:hover .post-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

.original-post:hover .post-avatar {
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.post-meta {
    flex: 1;
}

.post-author {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: 'Rajdhani', sans-serif;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.replies-section {
    margin: 3rem 0;
}

.replies-section h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.replies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reply-post {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reply-post:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.reply-post .post-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.reply-form-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.reply-form-section h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.reply-form {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.reply-form .form-group {
    margin-bottom: 1.5rem;
}

.reply-form .form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.reply-form .form-group input,
.reply-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.reply-form .form-group input:focus,
.reply-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.reply-form .form-group input::placeholder,
.reply-form .form-group textarea::placeholder {
    color: var(--text-muted);
}

.reply-form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Empty states */
.empty-replies {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness - Enhanced */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1rem; /* Maintain spacing on mobile */
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .hero-title .hero-logo-img {
        max-width: 400px;
    }

    .hero-section {
        padding: 0.5rem 1rem 2rem;
        border-radius: 0 0 16px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .discord-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }

    .features-grid,
    .store-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .forum-category {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .category-latest {
        text-align: center;
    }

    .leaderboard-tabs {
        flex-direction: column;
    }

    .lb-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Create Thread Form Mobile */
    .create-thread-form {
        border-radius: 16px;
    }

    .create-thread-form form {
        padding: 1.5rem;
    }

    .create-thread-form .form-group {
        margin-bottom: 1.25rem;
    }

    .create-thread-form .form-group input,
    .create-thread-form .form-group select,
    .create-thread-form .form-group textarea {
        padding: 0.875rem 1rem;
    }

    .create-thread-form .form-group textarea {
        min-height: 150px;
    }

    .create-thread-form .form-actions {
        flex-direction: column;
    }

    .create-thread-form .form-actions .btn-primary,
    .create-thread-form .form-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    #forum-create-view .forum-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #forum-create-view .forum-header h2 {
        font-size: 1.25rem;
    }
}

/* Purchase Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--hover-bg);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin: 0;
}

.close {
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-actions .btn-secondary,
.form-actions .btn-primary {
    padding: 0.75rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 107, 53, 0.2);
    animation: slideInRight 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.notification:hover {
    transform: translateX(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 107, 53, 0.3);
}

.notification.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(16, 185, 129, 0.2);
}

.notification.success:hover {
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(16, 185, 129, 0.3);
}

.notification.error {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(239, 68, 68, 0.2);
}

.notification.error:hover {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(239, 68, 68, 0.3);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.notification:hover::before {
    left: 100%;
}

.notification-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification.success .notification-icon {
    color: var(--success-green);
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification.info .notification-icon {
    color: var(--primary-gold);
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
}

.notification-close {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

.notification-close:hover {
    color: var(--text-primary);
}

.notification.removing {
    animation: slideOutRight 0.3s ease forwards;
}

/* Authentication Modals - Glassmorphism Design */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.auth-modal-content {
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 450px;
    animation: authModalSlideIn 0.3s ease;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.auth-modal-content:hover::before {
    left: 100%;
}

@keyframes authModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal-header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.auth-modal-header h2 {
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.auth-modal-header h2 i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.auth-modal-header .close {
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.auth-modal-header .close:hover {
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.auth-modal-body {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.auth-modal .form-group {
    margin-bottom: 1.5rem;
}

.auth-modal .form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

.auth-modal .form-group input {
    width: 100%;
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-modal .form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.auth-modal .form-group input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Custom Checkbox Styling */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type='checkbox'] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type='checkbox']:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    border-color: var(--primary-gold);
}

.checkbox-label input[type='checkbox']:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.auth-modal .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.auth-modal .form-actions .btn-secondary,
.auth-modal .form-actions .btn-primary {
    padding: 0.875rem 1.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    font-size: 1rem;
}

.auth-modal .btn-secondary {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-modal .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 107, 53, 0.5);
}

.auth-modal .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.auth-modal .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.auth-links {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: #ffed4e;
}

/* Gamer Username Modal Specific Styles */
.gamer-username-hint {
    margin: 0 0 20px 0;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #4caf50;
    border-radius: 4px;
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.4;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Email Verification Modal Specific Styles */
.verification-content {
    text-align: center;
}

.verification-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    animation: verificationPulse 2s ease-in-out infinite;
}

@keyframes verificationPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.verification-content h3 {
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.verification-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile Responsiveness for Auth Modals */
@media (max-width: 1200px) {
    .nav-container {
        max-width: 100%;
        padding: 0 0.75rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .btn-vote,
    .btn-discord,
    .btn-join,
    .btn-login,
    .btn-register {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .auth-buttons {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-logo {
        margin-right: 0;
    }

    .nav-menu {
        gap: 1rem; /* Maintain spacing on mobile */
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
        margin: 2px;
    }

    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .auth-buttons {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .user-menu {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.5rem;
        justify-content: center;
    }

    .hero-title .hero-logo-img {
        max-width: 400px;
    }

    .hero-section {
        padding: 0.5rem 1rem 2rem;
        border-radius: 0 0 16px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .discord-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }

    .features-grid,
    .store-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .forum-category {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .category-latest {
        text-align: center;
    }

    .leaderboard-tabs {
        flex-direction: column;
    }

    .lb-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .auth-modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: none;
    }

    .auth-modal-body {
        padding: 1.5rem;
    }
}

/* Custom scrollbar for privacy modal */
.privacy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Privacy/Terms modals: no backdrop-filter on overlay (prevents mobile crashes) */
#privacyModal.auth-modal,
#termsModal.auth-modal,
#communityRulesModal.auth-modal {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    /* Disable all animations and transitions */
    animation: none !important;
    transition: none !important;
}

#privacyModal *,
#termsModal * {
    animation: none !important;
    transition: none !important;
}

/* Privacy Policy Modal - Simplified to prevent crashes */
.privacy-modal-content {
    max-width: 800px !important;
    max-height: 85vh;
    background: rgba(20, 20, 20, 0.98) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
    margin: 2rem auto !important;
    position: relative;
    animation: none !important;
    transition: none !important;
}

.privacy-modal-content::before {
    display: none !important;
}

.privacy-modal-body {
    max-height: calc(85vh - 150px);
    overflow-y: auto;
    padding: 2rem;
    background: transparent !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
    will-change: auto;
    animation: none !important;
    transition: none !important;
}

.privacy-modal-content .auth-modal-header {
    background: rgba(0, 0, 0, 0.6) !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3) !important;
}

.privacy-modal-content .auth-modal-header h2 {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.privacy-modal-content .close {
    color: var(--primary-gold) !important;
    transition: all 0.3s ease;
}

.privacy-modal-content .close:hover {
    color: #ffed4e !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.privacy-modal-content .auth-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    text-align: center;
}

.privacy-modal-content .auth-modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.privacy-modal-content .auth-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold)) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-2px);
}

/* Privacy Modal Body Text Styling */
.privacy-modal-body h3 {
    color: var(--primary-gold) !important;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 0.5rem;
}

.privacy-modal-body h4 {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.privacy-modal-body p {
    color: var(--text-secondary) !important;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-modal-body ul {
    color: var(--text-secondary) !important;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    list-style: none;
    padding-left: 0;
}

.privacy-modal-body ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-modal-body ul li::before {
    content: '•';
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.privacy-modal-body strong {
    color: var(--primary-gold) !important;
    font-weight: 700;
}

/* Terms of Service Modal - Same Theme as Privacy Modal */
/* Terms Modal - Simplified to prevent crashes (no backdrop-filter) */
.terms-modal-content {
    max-width: 800px !important;
    max-height: 85vh;
    background: rgba(20, 20, 20, 0.98) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
    margin: 2rem auto !important;
    position: relative;
    animation: none !important;
    transition: none !important;
}

.terms-modal-content::before {
    display: none !important;
}

.terms-modal-body {
    max-height: calc(85vh - 150px);
    overflow-y: auto;
    padding: 2rem;
    background: transparent !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
    will-change: auto;
    animation: none !important;
    transition: none !important;
}

.terms-modal-content .auth-modal-header {
    background: rgba(0, 0, 0, 0.6) !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3) !important;
}

.terms-modal-content .auth-modal-header h2 {
    color: var(--primary-gold) !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.terms-modal-content .close {
    color: var(--primary-gold) !important;
    transition: all 0.3s ease;
}

.terms-modal-content .close:hover {
    color: #ffed4e !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.terms-modal-content .auth-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    text-align: center;
}

.terms-modal-content .auth-modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.terms-modal-content .auth-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold)) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-2px);
}

/* Terms Modal Body Text Styling */
.terms-modal-body h3 {
    color: var(--primary-gold) !important;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 0.5rem;
}

.terms-modal-body h4 {
    color: var(--primary-gold) !important;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.terms-modal-body p {
    color: var(--text-secondary) !important;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-modal-body ul {
    color: var(--text-secondary) !important;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    list-style: none;
    padding-left: 0;
}

.terms-modal-body ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.terms-modal-body ul li::before {
    content: '•';
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-modal-body strong {
    color: var(--primary-gold) !important;
    font-weight: 700;
}

.terms-modal-body em {
    color: var(--text-muted) !important;
    font-style: italic;
}

@media (max-width: 768px) {
    .auth-modal .form-actions {
        flex-direction: column;
    }

    .auth-modal .form-actions .btn-secondary,
    .auth-modal .form-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .verification-actions {
        flex-direction: column;
    }

    /* Thread View Mobile Styles */
    .thread-content {
        padding: 0 1rem;
    }

    .thread-post {
        padding: 1.5rem;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: center;
    }

    .post-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        align-self: center;
    }

    .post-meta {
        text-align: center;
        width: 100%;
    }

    .reply-form {
        padding: 1.5rem;
    }

    .reply-form .form-actions {
        flex-direction: column;
    }

    .reply-form .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Notification Mobile Styles */
    .notification-container {
        top: 80px;
        right: 10px;
        left: 10px;
    }

    .notification {
        max-width: none;
        margin: 0 auto;
    }
}

/* Footer - Hyfable-style */
.site-footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    margin-top: 4rem;
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

.footer-store-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-store-link:hover {
    background: linear-gradient(135deg, #ffed4e, var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Enhanced Statistics - Hyfable-style */
.sidebar-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(2px);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-value {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
}

/* Featured Products Section - Hyfable-style */
.featured-products-section {
    position: relative;
}

.featured-products-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.featured-product-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 14px;
    padding: 1.25rem;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
    overflow: hidden;
}

.featured-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.featured-product-card:hover::before {
    left: 100%;
}

.featured-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Featured product title with inline badge */
.featured-product-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
    flex-wrap: wrap;
}

.featured-product-card h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Cinzel', 'Rajdhani', sans-serif;
    font-weight: 700;
}

.featured-product-badge {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000000;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.featured-product-price {
    color: var(--primary-gold);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.featured-product-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.featured-product-link {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: none;
}

.featured-product-link:hover {
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    color: #ffed4e;
}

.featured-product-link:active {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .featured-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FEATURED PRODUCTS CAROUSEL
   ======================================== */

.featured-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.featured-products-header h2 {
    margin: 0;
    border: none;
    padding: 0;
}

.carousel-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    color: var(--primary-gold, #ffd700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    border-color: var(--primary-gold, #ffd700);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.featured-products-carousel {
    overflow: hidden;
    position: relative;
    padding-top: 0.5rem; /* Space for hover lift animation */
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .featured-product-card.carousel-item {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .carousel-track {
        gap: 0.5rem;
    }

    .carousel-track .featured-product-card.carousel-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Product image in carousel */
.featured-product-image {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    position: relative;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-product-card:hover .featured-product-image img {
    transform: scale(1.05);
}

/* Sale price styling */
.featured-product-price .original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-right: 0.5rem;
    opacity: 0.7;
}

.featured-product-price .sale-price {
    color: #4ade80;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 215, 0, 0.5);
}

.carousel-dot.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* Loading state */
.carousel-loading,
.carousel-empty,
.carousel-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    color: var(--text-secondary);
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.carousel-error svg,
.carousel-empty svg {
    color: var(--primary-gold);
    opacity: 0.6;
}

.carousel-error .btn-retry {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-error .btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* ========================================
   VISUAL ENHANCEMENTS - MICRO-INTERACTIONS
   ======================================== */

/* 1. BUTTON RIPPLE EFFECT */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.4);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
    transition:
        width 0s,
        height 0s;
}

/* 3D Button Press */
.btn-3d {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.2);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 215, 0, 0.15);
}

/* Icon Rotation on Hover */
@keyframes iconBounce {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-5deg);
    }
    75% {
        transform: translateY(-2px) rotate(5deg);
    }
}

.icon-bounce:hover .btn-icon,
.icon-bounce:hover .nav-icon {
    animation: iconBounce 0.5s ease;
}

/* Loading Spinner */
@keyframes spin-golden {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-golden {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin-golden 0.8s linear infinite;
}

/* 2. INPUT FIELD ENHANCEMENTS */

/* Floating Label */
.input-float-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-float {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-float-label {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
}

.input-float:focus,
.input-float:not(:placeholder-shown) {
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
}

.input-float:focus ~ .input-float-label,
.input-float:not(:placeholder-shown) ~ .input-float-label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--primary-gold);
}

/* Enhanced Focus Glow */
.input-glow:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

/* Border Draw Animation */
.input-draw {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.input-draw::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        90deg,
        var(--primary-gold),
        var(--accent-orange),
        var(--primary-gold)
    );
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.input-draw:focus::before {
    opacity: 1;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Password Strength Indicator */
.password-strength {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
}

.password-strength-bar.weak {
    width: 33%;
    background: #ef4444;
}
.password-strength-bar.medium {
    width: 66%;
    background: #f59e0b;
}
.password-strength-bar.strong {
    width: 100%;
    background: #10b981;
}

/* Character Counter */
.char-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: #f59e0b;
}
.char-counter.error {
    color: #ef4444;
}

/* 3. SCROLL ENHANCEMENTS */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-orange));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    border: none;
    border-radius: 50%;
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    animation: bounceTop 0.6s ease infinite;
}

@keyframes bounceTop {
    0%,
    100% {
        transform: translateY(-5px) scale(1.1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* 4. CARD 3D TILT & EFFECTS */

.card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.card-tilt-inner {
    transform: translateZ(20px);
}

/* Card Flip Effect */
.card-flip-container {
    perspective: 1000px;
    position: relative;
}

.card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-flip-container:hover .card-flip {
    transform: rotateY(180deg);
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
}

.card-flip-back {
    transform: rotateY(180deg);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Corner Ribbon Badge */
.ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: white;
    padding: 0.4rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow:
        0 4px 12px rgba(255, 107, 53, 0.4),
        -2px 0 0 rgba(0, 0, 0, 0.2);
    z-index: 10;
    font-family: 'Rajdhani', sans-serif;
}

.ribbon::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid #c44520;
    border-top: 5px solid #c44520;
}

.ribbon.new {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ribbon.new::before {
    border-right-color: #047857;
    border-top-color: #047857;
}

.ribbon.sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.ribbon.sale::before {
    border-right-color: #b91c1c;
    border-top-color: #b91c1c;
}

/* 5. TEXT ANIMATIONS */

/* Typing Effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-text {
    overflow: hidden;
    border-right: 2px solid var(--primary-gold);
    white-space: nowrap;
    animation:
        typing 3.5s steps(50, end),
        blink 0.75s step-end infinite;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.text-gradient-animated {
    background: linear-gradient(
        90deg,
        var(--primary-gold),
        var(--accent-orange),
        #ffed4e,
        var(--primary-gold)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Text Glitch Effect */
@keyframes glitch {
    0%,
    100% {
        transform: translate(0);
        opacity: 1;
    }
    20% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    40% {
        transform: translate(-2px, -2px);
        opacity: 0.8;
    }
    60% {
        transform: translate(2px, 2px);
        opacity: 0.8;
    }
    80% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
}

.text-glitch {
    position: relative;
    animation: glitch 0.3s ease;
}

/* Text Sparkle */
@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.text-sparkle::after {
    content: '✨';
    position: absolute;
    animation: sparkle 1s ease infinite;
}

/* 6. STATUS INDICATOR ANIMATIONS */

/* Pulsing Dot */
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.status-pulse {
    position: relative;
}

.status-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Breathing Animation */
@keyframes breathe {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.status-breathe {
    animation: breathe 3s ease-in-out infinite;
}

/* 7. LOADING SKELETON */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0px,
        rgba(255, 215, 0, 0.15) 40px,
        rgba(255, 255, 255, 0.05) 80px
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    border-radius: 16px;
}

/* 8. ENHANCED LIGHTING EFFECTS */

/* Light Beam Sweep */
@keyframes lightSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.light-sweep {
    position: relative;
    overflow: hidden;
}

.light-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0s;
}

.light-sweep:hover::after {
    left: 200%;
    transition: left 1s ease;
}

/* Dynamic Glow */
.glow-hover {
    transition:
        filter 0.3s ease,
        box-shadow 0.3s ease;
}

.glow-hover:hover {
    filter: brightness(1.2);
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2),
        0 0 60px rgba(255, 215, 0, 0.1);
}

/* 9. ANIMATED BORDERS */

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.border-animated {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
}

.border-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-gold),
        var(--accent-orange),
        var(--primary-gold),
        transparent
    );
    border-radius: 16px;
    animation: borderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.border-animated:hover::before {
    opacity: 1;
}

/* Growing Divider */
@keyframes growDivider {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.divider-grow {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
}

.divider-grow.visible {
    animation: growDivider 0.8s ease forwards;
}

/* 10. CONFETTI & CELEBRATION */

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-gold);
    animation: confettiFall 3s ease-out forwards;
}

/* Checkmark Animation */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark-svg {
    stroke: var(--success-green);
    stroke-width: 3;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkmark 0.6s ease forwards;
}

/* Error Shake */
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.error-shake {
    animation: shake 0.5s ease;
}

/* 11. TOOLTIP SYSTEM */

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.95);
}

.tooltip.bottom::before {
    top: 100%;
    bottom: auto;
    border-bottom-color: transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
}

/* 12. COUNTER ANIMATIONS */

.counter-animated {
    font-variant-numeric: tabular-nums;
}

/* Progress Ring */
@keyframes progressRing {
    from {
        stroke-dashoffset: 283;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.progress-ring-circle {
    stroke: var(--primary-gold);
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1s ease;
}

/* 13. NOTIFICATION ENHANCEMENTS */

.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-orange));
    border-radius: 0 0 12px 12px;
    animation: notificationProgress 5s linear forwards;
}

@keyframes notificationProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* 14. PARALLAX LAYERS */

.parallax-layer {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.parallax-slow {
    transform: translateY(var(--parallax-offset, 0));
}

/* 15. FORM VALIDATION VISUAL */

.input-valid {
    border-color: var(--success-green) !important;
}

.input-invalid {
    border-color: #ef4444 !important;
}

.validation-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.validation-icon.show {
    opacity: 1;
}

.validation-icon.success {
    color: var(--success-green);
    animation: iconBounce 0.5s ease;
}

.validation-icon.error {
    color: #ef4444;
    animation: shake 0.5s ease;
}

/* Error Message Slide */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message-animated {
    animation: slideDown 0.3s ease;
}

/* 16. PERFORMANCE OPTIMIZATIONS */

.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 17. ENHANCED MODAL ANIMATIONS */

@keyframes modalBackdropFade {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-backdrop-animated {
    animation: modalBackdropFade 0.3s ease forwards;
}

@keyframes modalBounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-content-animated {
    animation: modalBounceIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .ribbon {
        font-size: 0.65rem;
        padding: 0.3rem 1rem;
    }

    .tooltip {
        font-size: 0.75rem;
    }
}

/* ========================================
   MOBILE OPTIMIZATION
   Same look as main site - same colors, typography, buttons - adapted for small screens
   ======================================== */

/* Tablet & small laptop (≤992px) */
@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-actions {
        flex-wrap: wrap;
    }
}

/* Phone - match main site layout hierarchy (hero first, sidebars below) */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    /* Navbar - keep main site look: horizontal bar, logo left, nav center, actions right */
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.5rem;
        gap: 0.75rem;
    }

    .nav-logo {
        order: 1;
        margin-right: 0;
    }

    .nav-logo .logo-img {
        height: 56px;
        max-width: 200px;
        margin: -10px 0;
    }

    .nav-menu {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-actions {
        order: 2;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .nav-link {
        padding: 0.5rem 0.85rem;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .btn-vote,
    .btn-discord,
    .btn-join,
    .btn-login,
    .btn-register,
    .btn-logout {
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
        min-height: 40px;
    }

    /* Hero first (matches main site focus), then Recently Donated, then Discord */
    #home.tab-content.active {
        display: flex;
        flex-direction: column;
    }

    #home .hero-section {
        order: 1;
    }

    #home .hero-left-sidebar {
        order: 2;
    }

    #home .hero-sidebar-wrapper {
        order: 3;
    }

    #home .content-grid {
        order: 4;
    }

    .hero-section {
        padding: 1.25rem 1rem 1.5rem;
        margin: 0 0.75rem;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .hero-title .hero-logo-img {
        max-width: 340px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .hero-left-sidebar,
    .hero-sidebar-wrapper {
        max-width: 100%;
        margin: 0 auto 1.5rem;
        padding: 0 1rem;
    }

    .recently-donated-card,
    .hero-sidebar .discord-card,
    .hero-sidebar .server-info {
        border-radius: 16px;
        border: 1px solid rgba(255, 107, 53, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    .modal-content {
        width: 92%;
        max-height: 88vh;
        overflow-y: auto;
    }

    .tab-container {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* Small phones */
@media (max-width: 576px) {
    .nav-logo .logo-img {
        height: 48px;
        max-width: 170px;
    }

    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .hero-title .hero-logo-img {
        max-width: 280px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .typing-text {
        animation: none;
        border-right: none;
    }

    .text-gradient-animated {
        animation: none;
    }

    .skeleton {
        animation: none;
    }

    .border-animated::before {
        animation: none;
    }

    .confetti-piece {
        animation: none;
    }

    .status-pulse::before,
    .status-breathe {
        animation: none;
    }
}

/* Policy sections for better organization */
.policy-summary {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--primary-gold);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.policy-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-section:last-child {
    border-bottom: none;
}

/* Hide visual effects when modals are open to prevent freezing */
body:has(.auth-modal[style*='display: flex']) #particles-container,
body:has(.auth-modal[style*='display: flex']) #drops-container,
body:has(.auth-modal[style*='display: flex']) #mouse-trail-container {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================
   VOTE PAGE STYLES
   ========================================== */

.vote-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 120px;
    min-height: 100vh;
}

.vote-section {
    margin-bottom: 3rem;
}

.vote-section-title {
    color: var(--primary-gold);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.vote-section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Benefits Grid */
.vote-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.vote-benefit-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vote-benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
}

.vote-benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vote-benefit-card h4 {
    color: var(--primary-gold);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.vote-benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Vote Sites Grid */
.vote-sites-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.vote-site-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vote-site-card:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(8px);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.2);
}

.vote-site-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-gold), #b8860b);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vote-site-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1a1a1a;
}

.vote-site-info {
    flex-grow: 1;
}

.vote-site-name {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.vote-site-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.vote-site-arrow {
    color: var(--primary-gold);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.vote-site-card:hover .vote-site-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Thank You Section */
.vote-thank-you {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.05));
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.vote-thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.vote-heart-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.vote-thank-you h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vote-thank-you p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Vote Page Responsive */
@media (max-width: 768px) {
    .vote-page {
        padding: 1rem;
        padding-top: 100px;
    }

    .vote-section-title {
        font-size: 1.5rem;
    }

    .vote-benefits-grid {
        grid-template-columns: 1fr;
    }

    .vote-site-card {
        padding: 1.25rem;
    }

    .vote-site-icon {
        width: 48px;
        height: 48px;
    }

    .vote-site-name {
        font-size: 1.1rem;
    }

    .vote-thank-you {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   MULTI-PURCHASE BUTTONS (Keys)
   ========================================== */

.multi-purchase-section {
    margin: 1rem 1.75rem 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.multi-purchase-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.multi-purchase-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-multi-purchase {
    flex: 1;
    min-width: 50px;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-multi-purchase:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.btn-multi-purchase:active:not(:disabled) {
    transform: translateY(0);
}

.btn-multi-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-multi-purchase.added {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .multi-purchase-buttons {
        gap: 0.4rem;
    }

    .btn-multi-purchase {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
        min-width: 40px;
    }
}
