/* ========================================
   URBAN LEGENDS - Main Stylesheet
   ======================================== */

/* Variables */
:root {
    --primary: #38bdf8;
    --primary-light: #7dd3fc;
    --primary-dark: #0ea5e9;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #a78bfa;
    --accent: #22d3ee;
    --bg-primary: #030712;
    --bg-secondary: #0a0f1a;
    --bg-tertiary: #111827;
    --bg-card: rgba(10, 15, 26, 0.9);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);
    --success: #22c55e;
    --discord: #5865F2;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* html block removed - native scroll-behavior removed for Lenis */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Lenis Recommended Styles */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Effects */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 60% at 20% -10%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 100%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 42px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-cta,
.nav-shop {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 8px;
    transition: all 0.2s ease !important;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--bg-primary) !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.nav-shop {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: #030712 !important;
}

.nav-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, #fbbf24, #fb923c) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.btn-outline {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fadeIn 0.8s ease 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stat-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(167, 139, 250, 0.05));
    border-color: rgba(56, 189, 248, 0.25);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

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

.stat-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--primary-light);
    border-radius: 4px;
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-value small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: width 1s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   Quick Stats Bar
   ======================================== */
.quick-stats {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.quick-stat {
    text-align: center;
}

.quick-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.quick-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 5px 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--primary-light);
    border-radius: 6px;
    font-weight: 500;
}

/* ========================================
   Server Section
   ======================================== */
.server-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.server-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    box-shadow: 0 0 12px var(--success);
}

.status-text {
    font-weight: 600;
    color: var(--success);
    font-size: 0.9rem;
}

.server-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.connect-field {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.connect-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.connect-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.connect-value code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: var(--primary-light);
}

.copy-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
}

.server-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.detail-box {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 14px;
}

.detail-box .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-box .value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   Discord Card - Redesigned
   ======================================== */
.discord-card {
    background: #0a0f1a;
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-card>* {
    position: relative;
    z-index: 1;
}

/* Banner Header */
.discord-banner {
    height: 140px;
    width: 100%;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    object-fit: cover;
    position: relative;
}

/* Server Icon - Overlapping Banner */
.discord-server-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #0a0f1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    margin: 0 auto;
    display: block;
    object-fit: cover;
    background: #0a0f1a;
}

/* Server Name */
.discord-server-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 20px;
    padding: 0 24px;
}

/* Discord Stats */
.discord-stats {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 20px;
    padding: 0 24px;
}

.discord-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.discord-stat .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-stat .lbl {
    font-size: 0.85rem;
    color: #64748b;
}

/* Online Dot with Pulse Animation */
.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px #22c55e;
}

@keyframes onlinePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Member Avatars */
.discord-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 24px;
    min-height: 36px;
}

.discord-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #0a0f1a;
    object-fit: cover;
}

.discord-avatars .remaining-count {
    margin-left: 8px;
    color: #64748b;
    font-size: 0.85rem;
}

/* Discord Button */
.btn-discord {
    background: white;
    color: #5865F2;
    width: calc(100% - 48px);
    margin: 0 24px 24px 24px;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    padding: 14px;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

/* ========================================
   Info Card
   ======================================== */
.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.online-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .key {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-row .val {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   Top Players Leaderboard Section
   ======================================== */
.leaderboard-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Top 3 Players Featured Row */
.top-three-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

/* Top 3 Card Base */
.top-player-card {
    background: #0a0f1a;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 260px;
}

.top-player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Rank-specific styling */
.top-player-card.rank-1 {
    background: linear-gradient(135deg, #0a0f1a, rgba(255, 215, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
    padding: 32px;
    max-width: 280px;
    order: 2;
    animation: goldPulse 3s ease-in-out infinite;
}

.top-player-card.rank-2 {
    border-color: rgba(192, 192, 192, 0.3);
    order: 1;
}

.top-player-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.3);
    order: 3;
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.1), 0 0 40px rgba(255, 215, 0, 0.05);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 60px rgba(255, 215, 0, 0.1);
    }
}

/* Rank Badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.rank-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.rank-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #1a1a1a;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: #1a1a1a;
}

/* Crown Icon */
.crown-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
    animation: crownFloat 2s ease-in-out infinite;
}

@keyframes crownFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Player Avatar */
.player-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.top-player-card:hover .player-avatar {
    transform: scale(1.05);
}

.top-player-card.rank-1 .player-avatar {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.top-player-card.rank-2 .player-avatar {
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.top-player-card.rank-3 .player-avatar {
    border-color: rgba(205, 127, 50, 0.5);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}


.online-indicator.offline {
    background: #64748b;
    animation: none;
}

/* Player Info */
.player-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.player-discord-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Hours Display */
.hours-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hours-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.hours-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Last Seen */
.last-seen {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.last-seen.online {
    color: var(--success);
}

/* ========================================
   Leaderboard List (4th - 10th)
   ======================================== */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-row {
    background: #0a0f1a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.leaderboard-row:nth-child(1) {
    animation-delay: 0.1s;
}

.leaderboard-row:nth-child(2) {
    animation-delay: 0.15s;
}

.leaderboard-row:nth-child(3) {
    animation-delay: 0.2s;
}

.leaderboard-row:nth-child(4) {
    animation-delay: 0.25s;
}

.leaderboard-row:nth-child(5) {
    animation-delay: 0.3s;
}

.leaderboard-row:nth-child(6) {
    animation-delay: 0.35s;
}

.leaderboard-row:nth-child(7) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.leaderboard-row:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(8px);
}

/* Row Left Side */
.row-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.row-rank {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 32px;
    text-align: center;
}

.row-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.row-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.row-name {
    font-weight: 600;
    color: var(--text-primary);
}

.row-discord {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hours Badge */
.hours-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
}

.hours-badge .hours-value {
    font-weight: 700;
    color: var(--primary);
}

.hours-badge .hours-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Leaderboard Responsive
   ======================================== */
@media (max-width: 768px) {
    .top-three-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .top-player-card {
        max-width: 100%;
        width: 100%;
    }

    .top-player-card.rank-1 {
        order: 1;
        max-width: 100%;
    }

    .top-player-card.rank-2 {
        order: 2;
    }

    .top-player-card.rank-3 {
        order: 3;
    }

    .leaderboard-row {
        padding: 12px 16px;
    }

    .row-rank {
        min-width: 24px;
        font-size: 0.9rem;
    }

    .row-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .player-avatar {
        width: 64px;
        height: 64px;
    }

    .top-player-card {
        padding: 20px;
    }

    .leaderboard-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hours-badge {
        align-self: flex-end;
    }
}

/* ========================================
   Leaderboard Toggle Buttons
   ======================================== */
.leaderboard-toggles {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.leaderboard-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: rgba(10, 15, 26, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
}

.leaderboard-toggle:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leaderboard-toggle.active {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(10, 15, 26, 0.95));
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

/* Forbes button gold accent when active */
.leaderboard-toggle[data-category="forbes"].active {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(10, 15, 26, 0.95));
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.leaderboard-toggle[data-category="forbes"].active .toggle-title {
    color: #fbbf24;
}

.leaderboard-toggle[data-category="forbes"].active .toggle-arrow {
    background: #f59e0b;
    color: #030712;
}

/* Longeviv button blue accent when active */
.leaderboard-toggle[data-category="longeviv"].active .toggle-title {
    color: #38bdf8;
}

.leaderboard-toggle[data-category="longeviv"].active .toggle-arrow {
    background: #38bdf8;
    color: #030712;
}

.toggle-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leaderboard-toggle[data-category="forbes"] .toggle-icon {
    background: rgba(245, 158, 11, 0.15);
}

.leaderboard-toggle[data-category="longeviv"] .toggle-icon {
    background: rgba(56, 189, 248, 0.15);
}

.toggle-info {
    flex: 1;
    text-align: left;
}

.toggle-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    display: block;
}

.toggle-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.toggle-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-arrow svg {
    transition: transform 0.3s ease;
}

.leaderboard-toggle.active .toggle-arrow {
    transform: rotate(0);
}

.leaderboard-toggle.active .toggle-arrow svg {
    transform: rotate(180deg);
}

/* ========================================
   Leaderboard Expandable Panels
   ======================================== */
.leaderboard-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.leaderboard-panel.expanded {
    max-height: 1500px;
    opacity: 1;
    margin-top: 30px;
    transition:
        max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-inner {
    background: rgba(10, 15, 26, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 20px;
}

/* Slide-down animation for content */
.leaderboard-panel .top-three-container,
.leaderboard-panel .leaderboard-list {
    transform: translateY(-30px);
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease-out;
}

.leaderboard-panel.expanded .top-three-container,
.leaderboard-panel.expanded .leaderboard-list {
    transform: translateY(0);
    opacity: 1;
}

.leaderboard-panel.expanded .top-three-container {
    transition-delay: 0.15s;
}

.leaderboard-panel.expanded .leaderboard-list {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 600px) {
    .leaderboard-toggles {
        flex-direction: column;
        align-items: center;
    }

    .leaderboard-toggle {
        width: 100%;
        max-width: 350px;
    }
}

/* Leaderboard List */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Leaderboard Item */
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.leaderboard-item:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.03);
}

/* Rank Badges */
.leaderboard-item .rank {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
}

.leaderboard-item.rank-1 .rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.leaderboard-item.rank-2 {
    background: rgba(192, 192, 192, 0.05);
    border-color: rgba(192, 192, 192, 0.2);
}

.leaderboard-item.rank-2 .rank {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #000;
}

.leaderboard-item.rank-3 {
    background: rgba(205, 127, 50, 0.05);
    border-color: rgba(205, 127, 50, 0.2);
}

.leaderboard-item.rank-3 .rank {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #000;
}

.leaderboard-item .rank.normal {
    background: rgba(100, 116, 139, 0.2);
    color: #64748b;
}

/* Player Avatar */
.leaderboard-item .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.2);
    object-fit: cover;
}

.leaderboard-item.rank-1 .avatar {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Player Info */
.leaderboard-item .player-info {
    flex: 1;
    min-width: 0;
}

.leaderboard-item .player-name {
    font-weight: 600;
    color: #f8fafc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.leaderboard-item.rank-1 .player-name::before {
    content: '👑';
    font-size: 0.9rem;
}

.leaderboard-item .player-tag {
    font-size: 0.8rem;
    color: #64748b;
}

/* Stat Badge */
.leaderboard-item .stat {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.stat.money {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.stat.hours {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

/* ========================================
   Top 3 Player Cards
   ======================================== */
.top-three-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px 0;
}

/* Top 3 Card Base */
.top-player-card {
    background: #0a0f1a;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 260px;
}

.top-player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Rank-specific styling */
.top-player-card.rank-1 {
    background: linear-gradient(135deg, #0a0f1a, rgba(255, 215, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
    padding: 32px;
    max-width: 280px;
    order: 2;
    animation: goldPulse 3s ease-in-out infinite;
}

.top-player-card.rank-2 {
    border-color: rgba(192, 192, 192, 0.3);
    order: 1;
}

.top-player-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.3);
    order: 3;
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.1), 0 0 40px rgba(255, 215, 0, 0.05);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 60px rgba(255, 215, 0, 0.1);
    }
}

/* Rank Badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.rank-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.rank-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #1a1a1a;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: #1a1a1a;
}

/* Crown Icon */
.crown-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
    animation: crownFloat 2s ease-in-out infinite;
}

@keyframes crownFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Player Avatar */

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.top-player-card:hover .player-avatar {
    transform: scale(1.05);
}

.top-player-card.rank-1 .player-avatar {
    width: 90px;
    height: 90px;
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.top-player-card.rank-2 .player-avatar {
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.top-player-card.rank-3 .player-avatar {
    border-color: rgba(205, 127, 50, 0.5);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}

/* Online Status Indicator */
.online-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0a0f1a;
    animation: pulse 2s ease infinite;
}

.online-indicator.offline {
    background: #64748b;
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Player Info */
.player-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.top-player-card.rank-1 .player-name {
    font-size: 1.2rem;
    color: #fbbf24;
}

.player-discord-tag {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

/* Hours/Stats Display */
.hours-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hours-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #38bdf8;
}

.top-player-card.rank-1 .hours-number {
    font-size: 2.2rem;
    color: #fbbf24;
}

/* For Forbes category - gold colors */
.top-player-card.forbes .hours-number {
    color: #22c55e;
}

.top-player-card.rank-1.forbes .hours-number {
    color: #4ade80;
}

.hours-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Last Seen */
.last-seen {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 8px;
}

.last-seen.online {
    color: #22c55e;
}

/* Divider */
.leaderboard-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 20px;
    color: #475569;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leaderboard-divider::before,
.leaderboard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

/* Top 3 Responsive */
@media (max-width: 768px) {
    .top-three-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .top-player-card {
        max-width: 100%;
        width: 100%;
    }

    .top-player-card.rank-1 {
        order: 1;
        max-width: 100%;
    }

    .top-player-card.rank-2 {
        order: 2;
    }

    .top-player-card.rank-3 {
        order: 3;
    }
}

@media (max-width: 480px) {
    .player-avatar {
        width: 64px;
        height: 64px;
    }

    .top-player-card {
        padding: 20px;
    }

    .top-player-card.rank-1 .player-avatar {
        width: 72px;
        height: 72px;
    }
}

/* ========================================
   Leaderboard Category Responsive
   ======================================== */
@media (max-width: 768px) {
    .leaderboard-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-accordion {
        max-width: 100%;
    }

    .category-btn {
        padding: 16px 20px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .category-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .leaderboard-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 14px;
    }

    .leaderboard-item .player-info {
        flex: 1 1 calc(100% - 90px);
    }

    .leaderboard-item .stat {
        margin-left: auto;
    }
}



/* ========================================
   Updates Section
   ======================================== */
.updates-list {
    max-width: 900px;
    margin: 0 auto;
}

.update-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.update-card:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.update-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.version-tag {
    background: var(--primary);
    color: var(--bg-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}

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

.update-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.update-card>p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.update-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.update-list-box {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 18px;
}

.update-list-box h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.update-list-box ul {
    list-style: none;
}

.update-list-box li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.update-list-box li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: var(--bg-primary);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .server-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 12px 0;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(3, 7, 18, 0.98);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 14px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-stats-grid .quick-stat:last-child {
        grid-column: span 2;
    }

    .update-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat-card.featured {
        grid-column: span 1;
    }

    .discord-stats {
        flex-direction: column;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   Social Sidebar
   ======================================== */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: #0a0f1a;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    transition: fill 0.3s ease;
}

.social-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.social-btn:hover svg {
    fill: #38bdf8;
}

/* Individual brand colors on hover */
.social-btn.discord:hover svg {
    fill: #5865F2;
}

.social-btn.instagram:hover svg {
    fill: #E4405F;
}

.social-btn.tiktok:hover svg {
    fill: #ffffff;
}

.social-btn.youtube:hover svg {
    fill: #FF0000;
}

/* Responsive - smaller on tablets */
@media (max-width: 768px) {
    .social-sidebar {
        left: 10px;
        gap: 8px;
    }

    .social-btn {
        width: 38px;
        height: 38px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Hide on very small screens */
@media (max-width: 480px) {
    .social-sidebar {
        display: none;
    }
}

/* ========================================
   Rules Updates Section
   ======================================== */
.rules-updates-list {
    display: grid;
    gap: 16px;
}

.rule-update-card {
    background: #0a0f1a;
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-left: 3px solid #38bdf8;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.rule-update-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rule-update-card.important {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.rule-update-card.important:hover {
    border-color: rgba(239, 68, 68, 0.3);
}

.rule-update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.rule-category {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rule-category.modificare {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.rule-category.clarificare {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.rule-category.noua {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.rule-category.stergere {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.rule-date {
    font-size: 0.85rem;
    color: #64748b;
}

.rule-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f8fafc;
}

.rule-content {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.rule-content p {
    margin: 0;
}

.rule-reference {
    font-size: 0.85rem;
    color: #64748b;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Responsive Rules Updates */
@media (max-width: 768px) {
    .rule-update-card {
        padding: 20px;
    }

    .rule-update-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rule-title {
        font-size: 1.05rem;
    }
}

/* Preloader styles moved to inline CSS in index.html for critical loading */