:root {
    --nav-stone: #d6d3cc;
    --nav-stone-dark: #c2beb5;
    --nav-text: #1e2b3a;
    --gold-main: #e0b84c;
    --gold-soft: rgba(224,184,76,0.35);
    --magic-soft: rgba(63,199,255,0.25);
    --magic-strong: rgba(63,199,255,0.55);
    --nav-shadow: rgba(0,0,0,0.25);
    /* FOUNDATION */
    --blue-900: #151f2e;
    --blue-800: #151f2e;
    /* UI SURFACES */
    --surface-100: #f3efe6;
    --surface-200: #ebe4d6;
    --surface-300: #ded4bf;
    /* GOLD / PROGRESSION */
    --gold: #e0b84c;
    --gold-hover: #caa24d;
    /* MAGIC ACCENT */
    --magic: #3fc7ff;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Oswald', sans-serif;
    --font-main: 'Penumbra Serif Std', serif;
    --font-title: 'Penumbra Serif Std', serif;
}
@font-face {
    font-family: 'Penumbra Serif Std';
    src: url('fonts/PenumbraSerifStd-Regular.woff2') format('woff2'), url('fonts/PenumbraSerifStd-Regular.woff') format('woff'), url('fonts/PenumbraSerifStd-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

html.loading body,
html.loading body::before,
html.loading body::after,
html.loading .particles-container {
    opacity: 0;
}

body,
body::before,
body::after,
.particles-container {
    transition: opacity 0.6s ease;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("assets/bg.jpg") center / cover no-repeat;
    filter: blur(2px) brightness(0.68);
    transform: scale(1.1); /* prevents blur edges */
    z-index: -2;
    
}
body {
    font-family: var(--font-main);
    color: #ffffff;
    overflow-x: hidden;
    background: url("bg.jpg") center / cover fixed no-repeat;
    opacity: 1;
    transition: opacity 0.6s ease;
    
}

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: linear-gradient( rgba(15,34,56,0.45), rgba(15,34,56,0.6) );
        z-index: -1;
    }

    




    #page-loader {
        position: fixed;
        inset: 0;
        background: #0f1620;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: opacity 0.6s ease;
    }

/* Inner container */
.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Ring */
.loader-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(224,184,76,0.25);
    border-top-color: #e0b84c;
    animation: loaderSpin 1.2s linear infinite;
}

/* Text */
.loader-text {
    font-family: 'Penumbra Serif Std', serif;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: #e0b84c;
    opacity: 0.85;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}
/* =========================
   SCROLL INDICATOR
========================= */

.scroll-indicator {
    position: fixed; /* 🔥 THIS IS THE FIX */
    bottom: 42px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(224, 184, 76, 0.45);
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10; /* Above hero + particles */
    pointer-events: auto;
}


    .scroll-indicator:hover {
        box-shadow: 0 0 26px rgba(224, 184, 76, 0.45);
    }

    /* Arrow */
    .scroll-indicator span {
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--gold);
        border-bottom: 2px solid var(--gold);
        transform: rotate(4deg);
        margin-top: -4px;
        animation: arrowFloat 2.2s ease-in-out infinite;
    }

/* Subtle motion (DOWN/UP only) */
@keyframes arrowFloat {
    0% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: rotate(45deg) translateY(0px);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.6;
    }
}


/* HARD RESET old hero logic */
#hero {
    padding: 0;
    min-height: unset;
}

.hero-title,
h1, h2, h3 {
    letter-spacing: 0.04em;
}
    #hero > img.hero-logo {
        margin-top: 80px;
    }
    .hero-bg {
        position: absolute;
        inset: 0;
        background-image: var(--hero-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(6px) saturate(0.9) brightness(0.85);
        transform: scale(1.05);
        z-index: 0;
    }
    
    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(27, 15, 20, 0.65); /* #1b0f14 overlay */
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.05), rgba(0,0,0,0.6)), linear-gradient(to bottom, rgba(24,39,65,0.35), rgba(0,0,0,0.75));
    z-index: 1;
}
#hero > * {
    position: relative;
    z-index: 3;
}
.hero-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    margin-bottom: -8px;
}
/* =========================
   AUTH PAGES
========================= */

.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at center, rgba(63,199,255,0.15), rgba(0,0,0,0.8)), url("assets/hero-bg.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    position: relative;
    z-index: 2;
}

.auth-card {
    width: 360px;
    padding: 36px 34px;
    background: rgba(15, 22, 32, 0.92);
    border-radius: 18px;
    border: 1px solid rgba(224,184,76,0.35);
    box-shadow: 0 30px 80px rgba(0,0,0,0.65), inset 0 0 0 1px rgba(255,255,255,0.04);
    text-align: center;
}

.auth-logo {
    display: block;
    margin: 0 auto 14px auto;
    width: 130px;
  }

.auth-card h1 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.auth-subtext {
    color: #9fb6d3;
    font-size: 0.9rem;
    margin-bottom: 26px;
}

/* Inputs */
.auth-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #0f1620;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
}

    .auth-form input:focus {
        outline: none;
        border-color: #e0b84c;
        box-shadow: 0 0 0 2px rgba(224,184,76,0.25);
    }

/* Primary Button */
.auth-primary {
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #e0b84c, #caa24d);
    color: #0f2238;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 0 26px rgba(224,184,76,0.6);
}

    .auth-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 36px rgba(224,184,76,0.8);
    }

/* Footer */
.auth-footer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #9fb6d3;
}

    .auth-footer a {
        color: #e0b84c;
        text-decoration: none;
        margin-left: 4px;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

/* =========================
   DASHBOARD
========================= */

.dashboard-page {
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f1620, #000);
    color: #fff;
    font-family: inherit;
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6rem;
    font-weight: 700;
}

.brand-icon {
    color: #ff6a00;
}

.logout-btn {
    background: #ff6a00;
    color: #000;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

    .logout-btn:hover {
        filter: brightness(1.1);
    }

/* Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 60px;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.stat-card {
    background: #1b2636;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(255,106,0,0.4);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 10px 30px rgba(0,0,0,0.6);
}

.stat-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #9fb6d3;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 6px;
}

/* Icon colors */
.stat-icon.gold {
    color: #e0b84c;
}

.stat-icon.red {
    color: #ff3b3b;
}

.stat-icon.blue {
    color: #4da3ff;
}

.stat-icon.orange {
    color: #ff6a00;
}

/* Welcome panel */
.welcome-panel {
    background: #1b2636;
    border-radius: 18px;
    padding: 32px;
    border: 1px solid rgba(255,106,0,0.4);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 40px rgba(0,0,0,0.65);
}

    .welcome-panel h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

.rank-line {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.rank-badge {
    color: #00ff88;
    font-weight: 800;
    margin-left: 6px;
}

.subtext {
    color: #9fb6d3;
}
.dash-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: #0f1620;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* LEFT GROUP */
.dash-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dash-logo {
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #ff6a00;
    white-space: nowrap;
}

/* NAV LINKS */
.dash-links {
    display: flex;
    gap: 12px;
}

    .dash-links a {
        padding: 8px 18px;
        border-radius: 999px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: #9fb6d3;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        transition: all 0.2s ease;
    }

        .dash-links a:hover {
            color: #fff;
            border-color: #ff6a00;
            box-shadow: 0 0 10px rgba(255,106,0,0.25);
        }

        .dash-links a.active {
            background: linear-gradient(135deg, #ff6a00, #ff8c1a);
            color: #000;
            border-color: transparent;
            box-shadow: 0 0 16px rgba(255,106,0,0.45);
        }

/* RIGHT GROUP */
.dash-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-user {
    background: #1b2636;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.dash-logout {
    background: #ff6a00;
    color: #000;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .dash-logout:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 14px rgba(255,106,0,0.45);
    }


/* =========================
   PLAY PAGE
========================= */

.play-hero {
    min-height: 100vh;
    padding: 140px 40px 80px;
    background: radial-gradient(circle at center, rgba(63,199,255,0.15), rgba(0,0,0,0.85)), url("assets/hero-bg.jpg") center / cover no-repeat;
}

.play-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Title */
.play-eyebrow {
    display: block;
    color: var(--gold);
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.play-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.play-subtitle {
    max-width: 620px;
    margin: 0 auto 48px;
    color: #9fb6d3;
    font-size: 1.1rem;
}

/* Steps */
.play-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.play-step {
    background: rgba(15,22,32,0.85);
    border: 1px solid rgba(224,184,76,0.35);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 40px rgba(0,0,0,0.6);
}

.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0b84c, #caa24d);
    color: #0f2238;
    font-weight: 800;
    line-height: 36px;
    margin-bottom: 12px;
}

.play-step h3 {
    margin-bottom: 8px;
}

.play-step p {
    color: #9fb6d3;
    font-size: 0.95rem;
}

/* CTAs */
.play-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
}

.cta-secondary {
    padding: 14px 26px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
}

    .cta-secondary:hover {
        border-color: var(--gold);
    }

/* IP */
.play-ip {
    color: #9fb6d3;
    font-size: 0.95rem;
}

.particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    /* 🔥 THIS IS THE CRITICAL LINE */
    background: transparent;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* PRIMARY */
.cta-primary {
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #0f2238;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 28px rgba(224,184,76,0.6);
    transition: all 0.25s ease;
}

    .cta-primary:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 0 40px rgba(224,184,76,0.85);
    }

.top-cta {
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #0f2238;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(224,184,76,0.35);
}

    .top-cta.ghost {
        background: transparent;
        color: #fff;
        border: 1px solid rgba(255,255,255,0.25);
        box-shadow: none;
    }

    .top-cta:hover {
        transform: translateY(-1px);
    }


/* DISCORD */
.cta-discord {
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 24px rgba(88,101,242,0.45);
}

    .cta-discord:hover {
        transform: translateY(-2px);
    }

/* GHOST / LOGIN */
.cta-ghost {
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

    .cta-ghost:hover {
        opacity: 1;
        border-color: var(--gold);
    }


/* Leaf particle */
.particle {
    position: absolute;
    top: -40px;
    width: 18px;
    height: 12px;
    background: radial-gradient( ellipse at 30% 30%, #7ed957 0%, #3a8f3a 70% );
    border-radius: 100% 0 100% 0;
    opacity: 0.45;
    animation: leafFall linear infinite;
    will-change: transform, opacity;
}

@keyframes leafFall {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(40px) translateY(50vh) rotate(120deg);
    }

    100% {
        transform: translateX(-40px) translateY(120vh) rotate(240deg);
        opacity: 0;
    }
}


.top-left {
    display: flex;
    align-items: center;              /* Inner vertical centering */
    gap: 16px; 
    padding-left: 110px;  
                    /* Tighter gaps for clean look */
}

.top-right {
    display: flex;
    align-items: center;              /* Inner vertical centering */
    gap: 16px;    
    padding-right: 80px;
                    /* Tighter gaps for clean look */
}

.separator {
    color: #888;                      /* Dim dot separator */
    font-size: 1rem;
}

.top-item b {
    color: var(--gold); /* Gold IP highlight */
}

.social-link {
    color: #ddd;                      /* Brighter white-gray */
    font-size: 1rem;
    transition: color 0.2s, transform 0.2s;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.1);            /* Subtle zoom hover */
}

.login-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover)); /* Gold gradient for premium feel */
    color: #0f2238; /* Dark text for contrast */
    padding: 8px 20px;
    border-radius: 24px; /* Rounded pill shape */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 184, 76, 0.25); /* Soft gold glow */
    text-decoration: none;
    margin-left: 16px; /* Space from social icons */
}

    .login-btn:hover {
        transform: translateY(-2px); /* Lift on hover */
        box-shadow: 0 8px 20px rgba(224, 184, 76, 0.4); /* Stronger glow */
        background: linear-gradient(135deg, var(--gold-hover), var(--gold)); /* Reverse gradient for pop */
    }

    .login-btn:active {
        transform: translateY(0); /* Press down effect */
        box-shadow: 0 2px 8px rgba(224, 184, 76, 0.2);
    }
/* Optional: Make player count more prominent */
.top-item:last-child {
    color: #ffd700;
    font-weight: 600;
}
.login-btn {
    margin-left: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* Invisible placeholder in middle column to maintain spacing */
.main-nav::before {
    height: 1px; /* Minimal height to hold space */
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    position: relative;
}


    /* NAV TYPOGRAPHY FIX (adjusted for better balance) */
    .main-nav a,
    .nav-item span {
        font-family: 'Penumbra Serif Std', serif;
        letter-spacing: 0.1em; /* Slightly reduced from 0.12em to prevent wide spacing issues */
        font-size: 0.82rem; /* Slightly smaller to fit more comfortably without overlap */
    }

.gold-btn {
    padding: 13px 26px; /* Unchanged */
}
.discord-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 18px;
  padding: 12px 22px;

  background: linear-gradient(135deg, #5865f2, #404eed);
  color: #ffffff;

  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;

  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);

  transition: all 0.25s ease;
}

.discord-cta i {
  font-size: 1.2rem;
}

.discord-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.5);
  filter: brightness(1.05);
}

.discord-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(88, 101, 242, 0.35);
}

/* CTA BUTTON TYPOGRAPHY FIX (unchanged) */
.discord-btn,
.gold-btn {
    font-family: 'Penumbra Serif Std', serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}


.nav-left {
    justify-self: end;
    display: flex;
    gap: 32px;
}

.nav-right {
    justify-self: start;
    display: flex;
    gap: 32px;
}

.nav-center {
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.loading body {
    opacity: 0;
    overflow: hidden;
    transform: scale(0.96);
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}


.main-nav ul {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    gap: 42px; /* Balanced spacing between items */
    list-style: none;
    margin: 0;
    position: relative;
    z-index: 1100;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px;
    height: 40px;
    background: #0f1620;
    color: #dce6ee;
    border-radius: 4px;
    border: 1px solid #caa24d;
    font-family: 'Penumbra Serif Std', serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 6px 14px rgba(0,0,0,0.45);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
    border-width: 2px;
}



    .nav-item i {
        color: #caa24d;
        font-size: 0.9rem;
    }

    .nav-item.active {
        background: #0c121a;
        border-color: #e0b84c;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 0 0 2px rgba(224,184,76,0.25);
    }


        .nav-item.active i {
            color: #ffffff;
        }




    .nav-item span {
        line-height: 1;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

.nav-with-logo {
    position: relative;
    background: var(--blue-900);
}
.main-nav,
.main-nav * {
    color: #D6DEEC;
}
.nav-logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
}
@keyframes logoGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 12px rgba(107, 92, 255, 0.3))
            drop-shadow(0 0 26px rgba(107, 92, 255, 0.15));
    }
    50% {
        filter:
            drop-shadow(0 0 18px rgba(107, 92, 255, 0.4))
            drop-shadow(0 0 36px rgba(107, 92, 255, 0.2));
    }
}
.nav-logo img {
    height: 150px;
    display: block;
    filter:
    drop-shadow(0 0 14px rgba(130, 90, 255, 0.3))
    drop-shadow(0 0 30px rgba(180, 120, 255, 0.15));
    animation: logoGlow 6s ease-in-out infinite;
}



    .main-nav a:hover {
        color: var(--gold-hover);
    }

.nav-item i {
    font-size: 0.95rem;
    line-height: 1;
}
/* Wrapper for absolute positioning reference */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1200;
    opacity: 1;
    transform: translateY(0);
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

    .header-wrapper.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .header-wrapper.scrolled {
        background: rgba(10, 14, 24, 0.85);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.55);
    }

.topbar {
    background: var(--blue-900);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1100;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 1400px) {
    .nav-left, .nav-right {
        gap: 28px;
        padding: 0 50px;
    }
}

@media (max-width: 1024px) {
    .nav-logo {
        top: -30px;
    }

        .nav-logo img {
            height: 130px;
        }

    .nav-left, .nav-right {
        gap: 24px;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap; /* Stack on small screens */
        height: auto;
        padding: 10px 0;
    }

    .nav-left, .nav-right {
        gap: 16px;
        padding: 0 20px;
        flex-basis: 100%; /* Full width on stack */
        justify-content: center;
    }

    .nav-logo {
        order: -1; /* Move logo to top */
        top: 0;
    }

        .nav-logo img {
            height: 110px;
        }
}
    /* Hover state */
.main-nav li:hover,
.main-nav a:hover {
    color: var(--gold-hover);
}
.nav-item i {
    color: #e0b84c;
    transition: opacity 0.2s ease;
}

.nav-item:hover i {
    opacity: 1;
}
.nav-item:hover {
    background: #131b26;
    border-color: #e0b84c;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 0 0 1px rgba(255,255,255,0.08), 0 6px 18px rgba(0,0,0,0.55);
    transform: translateY(-1px);
}

/* =========================
   CINEMATIC CENTER HERO
========================= */

/* TRUE CENTERED HERO */
.hero-center {
    position: relative;
    height: 85vh;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
}

    /* Background image */
    .hero-center::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("bg.jpg") center / cover no-repeat;
        filter: brightness(0.65) saturate(1.05);
        z-index: 0;
    }

/* Soft vignette + center glow */
.hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at center, rgba(255, 230, 160, 0.18), rgba(0, 0, 0, 0.65) 70% );
    z-index: 1;
}

.hero-backdrop {
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}
.hero-eyebrow,
.hero-title,
.hero-description,
.hero-cta,
.hero-ip,
.hero-title {
    opacity: 0;
    animation: heroFade 0.8s forwards;
}

/* Initial hidden state */
.animate {
    opacity: 0;
    transform: translateY(30px);
}

    /* When revealed */
    .animate.in-view {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }


.hero-title {
    animation-delay: 0.1s;
}

.hero-description {
    animation-delay: 0.2s;
}

.hero-cta {
    animation-delay: 0.35s;
}

.hero-ip {
    animation-delay: 0.5s;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

/* Compensate for header height + logo overlap */
.hero-center-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 24px;
    /* THIS centers on the red line */
    transform: translateY(40px);
}
/* Eyebrow */
.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px;
}

/* Title */
.hero-title {
    font-size: clamp(3.2rem, 6vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 22px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

/* Description */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #d7e0ea;
    margin-bottom: 38px;
}

/* CTA group */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* IP pill */
.hero-ip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(224,184,76,0.4);
    color: var(--gold);
    font-family: monospace;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .hero-ip:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 24px rgba(224,184,76,0.35);
    }


.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

/* LEFT SIDE */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* moves logo left */
    justify-content: center;
}
    .hero-left img {
        transform: translateX(40px) translateY(10px) scale(1.12);
        filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55));
    }


    /* Make logo slightly larger for balance */
    .hero-left .hero-logo {
        max-width: 360px;
    }

/* RIGHT SIDE */
.hero-right {
    padding-top: 40px;
}

/* Title */
.hero-title {
    line-height: 1.02;
    margin-bottom: 12px;
    letter-spacing: 0.06em;

}

    .hero-title span {
        color: var(--gold);
    }


.hero-content {
    transform: translateY(-20px);
}

/* Description */
.hero-description {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 30px;
    margin-top: 8px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f1c40f, #d4af37);
    color: #000;
    font-weight: 800;
    text-decoration: none;
}

.btn-secondary {
    padding: 14px 30px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
}

.btn-outline {
    padding: 14px 30px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
}
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        align-items: center;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }
}


/* DISCORD BUTTON */
.discord-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(88,101,242,0.4);
    transition: all 0.3s ease;
}

    .discord-btn i {
        font-size: 1.1rem;
    }

    .discord-btn:hover {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 0 25px rgba(88,101,242,0.7);
    }


/* Hero */
.hero-logo { max-width: 320px; margin-bottom: 2rem; filter: drop-shadow(0 0 40px rgba(212,175,55,0.2)); animation: float 6s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.hero-subtitle { color: #ccc; margin-bottom: 2rem; font-size: 1.1rem; }

.ip-wrapper {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 50px; display: flex; overflow: hidden; cursor: pointer;
    transition: 0.3s; margin-bottom: 20px;
}
.ip-wrapper:hover { border-color: var(--gold); box-shadow: 0 0 25px rgba(212,175,55,0.2); transform: scale(1.02); }
.ip-content { padding: 12px 25px; display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: monospace; font-size: 1.1rem; }
.ip-action { background: var(--gold); color: #000; padding: 12px 25px; font-weight: 800; font-family: var(--font-title); transition: 0.3s; }
.ip-wrapper.copied { border-color: #2ecc71; }
.ip-wrapper.copied .ip-content { color: #2ecc71; }
.ip-wrapper.copied .ip-action { background: #2ecc71; color: #fff; }


.blog-section {
    padding: 100px 40px;
    background: var(--blue-800);
    color: #fff;
    text-align: center;
}

.blog-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    height: 480px; /* fixed height for uniform look */
    display: flex;
    flex-direction: column;
}

    .blog-card:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }

.blog-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    transform: scale(1.15); /* prevent blur edges showing */
}

.blog-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 30%, transparent 70%);
}

.blog-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    color: #fff;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #aaa;
}

    .blog-meta span {
        background: rgba(255,255,255,0.08);
        padding: 4px 10px;
        border-radius: 20px;
    }

.blog-card.highlight .blog-meta span:last-child {
    background: #e74c3c; /* red accent like in example */
    color: white;
}

.author-date {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-section {
        padding: 60px 20px;
    }

    .blog-header h2 {
        font-size: 2.8rem;
    }
}


.roadmap-section {
    position: relative;
    padding: 120px 40px 100px;
    background: linear-gradient( 135deg, var(--blue-900), var(--blue-800) );
    color: #ffffff;
    overflow: hidden;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 80px;
}

    .roadmap-header h2 {
        font-family: var(--font-title);
        font-size: clamp(3.5rem, 8vw, 6rem);
        font-weight: 700;
        color: var(--gold);
        -webkit-background-clip: text;
        background-clip: text;
        text-shadow: 0 0 18px rgba(224,184,76,0.35);
        letter-spacing: 6px;
        text-transform: uppercase;
    }

/* Timeline wrapper */
.timeline-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dashed progress line */
.timeline-line {
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 6px;
    background: linear-gradient( to right, transparent, rgba(224,184,76,0.4), rgba(224,184,76,0.6), rgba(224,184,76,0.4), transparent );
    border-top: 3px dashed rgba(224,184,76,0.6);
    border-bottom: 3px dashed rgba(224,184,76,0.6);
    opacity: 0.45;
}

.footsteps {
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    color: #c084fc;
    opacity: 0.7;
    margin-top: -20px;
    letter-spacing: 20px;
}

/* Milestone circles */
.milestones {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 5%;
    top: 60px;
}

.milestone {
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    animation: glow 3s infinite alternate;
    animation-delay: calc(var(--order) * 0.6s);
}

    .milestone::before {
        content: '';
        position: absolute;
        inset: -12px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(224,184,76,0.6) 20%, transparent 70%);
        opacity: 0.4;
        animation: pulse 4s infinite;
    }

    .milestone::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gold);
        border: 3px solid var(--gold-hover);
        box-shadow: 0 0 16px rgba(224,184,76,0.6), 0 0 28px rgba(63,199,255,0.25);
    }

@keyframes glow {
    from {
        box-shadow: 0 0 20px #9333ea;
    }

    to {
        box-shadow: 0 0 40px #c084fc;
    }
}

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

    50% {
        transform: scale(1.8);
        opacity: 0;
    }

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

/* Phase cards */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 100px;
}

.phase-card {
    background: rgba(20, 42, 68, 0.85);
    border: 1px solid rgba(224,184,76,0.25);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.9s forwards;
    animation-delay: calc(var(--order) * 0.25s);
}

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

.phase-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 24px rgba(63,199,255,0.2);
}

.phase-label {
    display: inline-block;
    background: var(--gold);
    color: #1a1405;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px 20px 0 0;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.phase-date {
    color: #9fb6d3;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.phase-card h3 {
    font-size: 1.35rem;
    margin: 0 0 16px;
    color: #ffffff;
}

.phase-card p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.96rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .phases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .phases-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        top: 40px;
    }

    .milestones {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }
}

.site-footer {
    background: var(--blue-900);
    color: #aaa;
    padding: 80px 40px 40px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border-top: 1px solid #e0b84c;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: 4px;
}

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

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

.footer-column a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-column a:hover {
        color: #fff;
    }

.footer-column i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.contact li {
    color: #ccc;
}

.social li a {
    display: flex;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    font-size: 0.85rem;
    color: #e0b84c;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #222;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
    z-index: 1000;
}

    .back-to-top:hover {
        opacity: 1;
        background: var(--gold);
        color: #000;
    }


/* GOLD CTA BUTTON (Register / Login) */
.gold-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #0f2238;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(224,184,76,0.45);
    transition: all 0.3s ease;
}

    .gold-btn:hover {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 0 28px rgba(224,184,76,0.75);
        background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    }

    .gold-btn:active {
        transform: translateY(0);
        box-shadow: 0 0 12px rgba(224,184,76,0.4);
    }
/* Mobile */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand h3 {
        margin-bottom: 30px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}
/* ======================================================
   ABOUT / HYTALE RAIDS SECTION (FULL + ENHANCED)
====================================================== */

.about-section {
    position: relative;
    padding: 120px 40px 120px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
    color: #ffffff;
    overflow: hidden;
    background-size: 140% 140%;
    border-top: 1px solid #e0b84c;
    animation: bgDrift 30s linear infinite;
}

/* BACKGROUND DRIFT */
@keyframes bgDrift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* SECTION HEADER */
.about-header {
    text-align: center;
    margin-bottom: 90px;
}

    .about-header h2 {
        font-family: 'Penumbra Serif Std', serif;
        font-size: clamp(3.5rem, 8vw, 6rem);
        font-weight: 700;
        color: var(--gold);
        letter-spacing: 6px;
        text-transform: uppercase;
        text-shadow: 0 0 18px rgba(224,184,76,0.35);
    }

/* MAIN LAYOUT */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* ======================
   LEFT: CHARACTER IMAGE
====================== */

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

    /* CHARACTER IMAGE */
    .about-image img {
        width: 100%;
        max-width: 420px;
        height: auto;
        transform-style: preserve-3d;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(224,184,76,0.25));
        animation: aboutFloat 6s ease-in-out infinite, aboutParallax 14s ease-in-out infinite;
        will-change: transform;
    }

/* FLOAT */
@keyframes aboutFloat {
    0%, 100% {
        transform: translateY(0);
    }

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

/* PARALLAX DEPTH */
@keyframes aboutParallax {
    0% {
        transform: translate3d(0, 0, 0) rotateY(-1deg);
    }

    50% {
        transform: translate3d(-10px, -20px, 40px) rotateY(1deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotateY(-1deg);
    }
}

/* GOLD AURA */
.about-image::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient( circle, rgba(224,184,76,0.35), transparent 70% );
    filter: blur(40px);
    z-index: -1;
    animation: auraPulse 6s ease-in-out infinite;
}

@keyframes auraPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }

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

/* ======================
   RIGHT: STACKED CARDS
====================== */

.about-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* CARD BASE */
.about-card {
    position: relative;
    background: rgba(20, 42, 68, 0.85);
    border: 1px solid rgba(224,184,76,0.25);
    border-radius: 16px;
    padding: 34px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    /* Entrance animation */
    opacity: 0;
    animation: cardReveal 0.9s forwards;
}

    .about-card:nth-child(1) {
        animation-delay: 0.2s;
    }

    .about-card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .about-card:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* CARD HOVER DEPTH */
.about-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 24px rgba(63,199,255,0.2);
}

/* GLASS SHEEN */
.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.06), transparent );
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* GOLD EDGE HIGHLIGHT */
.about-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: linear-gradient( 140deg, rgba(224,184,76,0.6), transparent 40%, transparent 60%, rgba(63,199,255,0.3) );
    opacity: 0.15;
    pointer-events: none;
}

/* CARD TITLES */
.about-card h3 {
    font-family: 'Penumbra Serif Std', serif;
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #ffffff;
}

/* CARD TEXT */
.about-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: #d1d5db;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 1200px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 70px;
        text-align: center;
    }

    .about-image img {
        max-width: 320px;
    }

    .about-stack {
        align-items: center;
    }

    .about-card {
        max-width: 760px;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 90px 20px 100px;
    }

    .about-header {
        margin-bottom: 60px;
    }

    .about-card {
        padding: 28px 24px;
    }
}


.about-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(224,184,76,0.6), transparent);
    transform: translateX(-50%);
}

.roadmap-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(224,184,76,0.6), transparent);
    transform: translateX(-50%);
}
/* =========================
   ABOUT PAGE
========================= */

.about-hero {
    position: relative;
    padding: 110px 18px 70px;
}

.about-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-eyebrow {
    display: inline-block;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

.about-hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 16px;
}

.about-intro {
    max-width: 860px;
    margin: 0 auto 22px;
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.about-micro {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 820px;
    margin: 26px auto 0;
}

.micro-item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border: 1px solid rgba(224, 184, 76, 0.22);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    opacity: 0.95;
}

    .micro-item i {
        opacity: 0.9;
    }

/* Sections */
.about-section {
    padding: 70px 18px;
}

.about-section-alt {
    padding: 70px 18px;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(224, 184, 76, 0.10);
    border-bottom: 1px solid rgba(224, 184, 76, 0.10);
}

.about-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 26px;
}

    .about-header h2 {
        margin: 0 0 10px;
        letter-spacing: 0.14em;
    }

    .about-header p {
        margin: 0;
        opacity: 0.9;
        line-height: 1.65;
    }

/* Two-column split */
.about-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: start;
}

.about-panel {
    border: 1px solid rgba(224, 184, 76, 0.16);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px;
}

.about-kicker {
    display: inline-block;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.about-panel h2 {
    margin: 0 0 10px;
    line-height: 1.15;
}

.about-panel p {
    margin: 0 0 16px;
    opacity: 0.9;
    line-height: 1.7;
}

/* Bullet rows */
.about-bullets {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.bullet {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(224, 184, 76, 0.14);
    background: rgba(0, 0, 0, 0.25);
}

    .bullet i {
        margin-top: 3px;
        opacity: 0.9;
    }

    .bullet h4 {
        margin: 0 0 4px;
    }

    .bullet p {
        margin: 0;
        opacity: 0.88;
    }

/* Right grid cards */
.about-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-card {
    border: 1px solid rgba(224, 184, 76, 0.14);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 16px;
}

.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 184, 76, 0.22);
    background: rgba(0, 0, 0, 0.28);
    margin-bottom: 10px;
}

.about-card h3 {
    margin: 0 0 6px;
}

.about-card p {
    margin: 0;
    opacity: 0.88;
    line-height: 1.55;
}

/* Raid steps */
.raid-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.raid-step {
    border: 1px solid rgba(224, 184, 76, 0.14);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.raid-num {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(224, 184, 76, 0.22);
    background: rgba(0, 0, 0, 0.32);
    margin-bottom: 10px;
}

.raid-step h3 {
    margin: 0 0 6px;
}

.raid-step p {
    margin: 0;
    opacity: 0.88;
    line-height: 1.6;
}

/* Callout */
.about-callout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 16px;
    border-radius: 16px;
    border: 1px solid rgba(224, 184, 76, 0.18);
    background: rgba(0, 0, 0, 0.30);
}

    .about-callout i {
        margin-top: 4px;
        opacity: 0.9;
    }

    .about-callout h3 {
        margin: 0 0 6px;
    }

    .about-callout p {
        margin: 0;
        opacity: 0.9;
        line-height: 1.65;
    }

/* Progress grid */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.progress-card {
    border: 1px solid rgba(224, 184, 76, 0.14);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 18px;
}

    .progress-card i {
        opacity: 0.9;
        margin-bottom: 10px;
    }

    .progress-card h3 {
        margin: 0 0 6px;
    }

    .progress-card p {
        margin: 0;
        opacity: 0.88;
        line-height: 1.6;
    }

/* Responsive */
@media (max-width: 980px) {
    .about-micro {
        grid-template-columns: 1fr;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .raid-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .progress-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .about-card-grid {
        grid-template-columns: 1fr;
    }

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

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


/* STACKED CARDS */
.about-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-card {
    background: rgba(20,42,68,0.85);
    border: 1px solid rgba(224,184,76,0.25);
    border-radius: 16px;
    padding: 34px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .about-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.65);
    }

    .about-card h3 {
        margin-bottom: 10px;
    }

/* SYSTEM GRID */
.about-systems-grid {
    padding: 100px 40px;
    background: var(--blue-900);
}

.systems-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.system-tile {
    background: rgba(15,22,32,0.85);
    border: 1px solid rgba(224,184,76,0.25);
    border-radius: 14px;
    padding: 30px 26px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .system-tile i {
        font-size: 1.8rem;
        color: var(--gold);
        margin-bottom: 14px;
    }

    .system-tile:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    }

/* CTA */
.about-cta {

    text-align: center;

}

    .about-cta h2 {
        font-size: 2.4rem;
        margin-bottom: 26px;
    }

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-core-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .systems-grid-inner {
        grid-template-columns: 1fr;
    }
}



/* =========================
   TEAM PAGE
========================= */

.team-hero {
    padding: 160px 40px 80px;
    background: radial-gradient(circle at center, rgba(63,199,255,0.12), rgba(0,0,0,0.9)), url("assets/hero-bg.jpg") center / cover no-repeat;
    text-align: center;
}

.team-inner {
    max-width: 1000px;
    margin: 0 auto;
}

    .team-inner.narrow {
        max-width: 680px;
    }

.team-eyebrow {
    display: block;
    color: var(--gold);
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.team-intro {
    color: #9fb6d3;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Staff Section */
.team-section {
    padding: 80px 40px;
}

    .team-section.alt {
        background: #0f1620;
    }

    .team-section h2 {
        font-size: 2rem;
        margin-bottom: 32px;
        text-align: center;
    }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.staff-card {
    background: #1b2636;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 40px rgba(0,0,0,0.6);
}

.staff-avatar {
    font-size: 2rem;
    margin-bottom: 12px;
}

.staff-role {
    color: #9fb6d3;
    font-size: 0.95rem;
}

/* Contact Form */
.form-intro {
    text-align: center;
    color: #9fb6d3;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        background: #0f1620;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        padding: 12px 14px;
        color: #fff;
        font-size: 0.95rem;
    }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 2px rgba(224,184,76,0.25);
        }

.form-submit {
    margin-top: 10px;
    padding: 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #e0b84c, #caa24d);
    color: #0f2238;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 0 26px rgba(224,184,76,0.6);
}

    .form-submit:hover {
        box-shadow: 0 0 36px rgba(224,184,76,0.8);
    }
/* =========================
   NEWS PAGE
========================= */

.news-hero {
    padding: 160px 40px 80px;
    background: radial-gradient(circle at center, rgba(63,199,255,0.12), rgba(0,0,0,0.9)), url("assets/hero-bg.jpg") center / cover no-repeat;
    text-align: center;
}

.news-inner {
    max-width: 900px;
    margin: 0 auto;
}

.news-eyebrow {
    display: block;
    color: var(--gold);
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.news-intro {
    color: #9fb6d3;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* News list */
.news-section {
    padding: 80px 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* News card */
.news-card {
    background: #1b2636;
    border-radius: 18px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 40px rgba(0,0,0,0.6);
}

.news-tag {
    display: inline-block;
    background: rgba(224,184,76,0.15);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-card h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: #9fb6d3;
    margin-bottom: 14px;
}

.news-card p {
    color: #9fb6d3;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Read more */
.news-read {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

    .news-read:hover {
        text-decoration: underline;
    }


/* =========================
   RANKINGS PAGE
========================= */

.rankings-hero {
    padding: 160px 40px 80px;
    background: radial-gradient(circle at center, rgba(63,199,255,0.12), rgba(0,0,0,0.9)), url("assets/hero-bg.jpg") center / cover no-repeat;
    text-align: center;
}

.rankings-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.rankings-eyebrow {
    display: block;
    color: var(--gold);
    letter-spacing: 0.25em;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rankings-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.rankings-intro {
    color: #9fb6d3;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Section */
.rankings-section {
    padding: 80px 40px;
}

/* Filters */
.rankings-filters {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter {
    padding: 8px 18px;
    border-radius: 999px;
    background: #1b2636;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    font-weight: 600;
    color: #9fb6d3;
}

    .filter.active,
    .filter:hover {
        color: #fff;
        border-color: var(--gold);
    }

/* Leaderboard */
.leaderboard {
    background: #1b2636;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 40px rgba(0,0,0,0.6);
}

.leaderboard-header,
.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1.5fr 1fr 1fr 1fr;
    padding: 14px 24px;
    align-items: center;
}

.leaderboard-header {
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #9fb6d3;
}

.leaderboard-row {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.player-name {
    font-weight: 700;
}

/* Top ranks */
.top-1 {
    background: rgba(224,184,76,0.15);
}

.top-2 {
    background: rgba(192,192,192,0.12);
}

.top-3 {
    background: rgba(205,127,50,0.12);
}


/* ===============================
   ABOUT – SYSTEMS LAYOUT
================================ */

.about-systems {
    padding: 140px 40px;
    background: radial-gradient(circle at center, rgba(224,184,76,0.08), rgba(15,22,32,0.95));
}

.systems-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 80px;
    align-items: center;
}

/* CENTER VERTICAL TITLE */
.systems-center {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Penumbra Serif Std', serif;
    font-size: 4rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(224,184,76,0.45);
}

/* COLUMNS */
.systems-col {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

    .systems-col.left {
        align-items: flex-end;
        text-align: right;
    }

    .systems-col.right {
        align-items: flex-start;
        text-align: left;
    }

/* CARD */
.system-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 26px 40px;
    background: rgba(20,42,68,0.85);
    border: 1px solid rgba(224,184,76,0.25);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

    .system-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 24px rgba(224,184,76,0.25);
    }




    /* TEXT WRAPPER */
    .system-card h3 {
        margin: 0 0 6px 0; /* space between title and paragraph */
    }

    .system-card p {
        margin: 0;
        line-height: 1.6; /* improves readability */
        opacity: 0.9;
    }




/* ICON */
.system-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle, #e0b84c, #caa24d);
    color: #0f2238;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 24px rgba(224,184,76,0.6);
}

.systems-col.left .system-icon {
    right: -27px;
}

.systems-col.right .system-icon {
    left: -27px;
}

/* TEXT */
.system-card h3 {
    font-family: 'Penumbra Serif Std', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.system-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d1d5db;
}

/* =====================================================
   GLOBAL MOBILE FIX — ALL PAGES
===================================================== */
@media (max-width: 768px) {

  /* ---------- GLOBAL ---------- */
  body {
    overflow-x: hidden;
    
    
  }

  .particles-container {
    display: none;
  }

  body::before {
    filter: brightness(0.6);
    transform: none;
  }

  /* ---------- TOP BAR ---------- */
  .topbar-inner {
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
    text-align: center;
  }

  .top-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* ---------- NAV ---------- */
  .main-nav {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 16px 0;
  }

  .nav-left,
  .nav-right {
    width: 100%;
    justify-content: center;
    padding: 0;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-item {
    font-size: 0.7rem;
    padding: 8px 14px;
  }

  .nav-logo {
    position: static;
    transform: none;
    margin: 12px 0;
    pointer-events: auto;
  }

  .nav-logo img {
    height: 90px;
  }

  /* ---------- HERO SECTIONS ---------- */
  .hero-center,
  .news-hero,
  .play-hero,
  .about-hero,
  .team-hero,
  .rankings-hero {
    min-height: auto;
    padding: 120px 20px 80px;
  }

  .hero-center-inner,
  .news-inner,
  .play-inner,
  .about-inner,
  .team-inner,
  .rankings-inner {
    padding: 0 16px;
    transform: none;
    text-align: center;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  p {
    font-size: 0.95rem;
  }

  /* ---------- CTA STACKING ---------- */
  .hero-cta,
  .play-cta {
    flex-direction: column;
    gap: 14px;
  }

  /* ---------- NEWS ---------- */
  .news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ---------- PLAY PAGE ---------- */
  .play-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ---------- RANKINGS ---------- */
  .leaderboard {
    overflow-x: auto;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 40px 1fr 80px 80px 60px;
    font-size: 0.8rem;
  }

  /* ---------- TEAM ---------- */
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form {
    gap: 14px;
  }

  /* ---------- ABOUT ---------- */
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ---------- AUTH (LOGIN / REGISTER) ---------- */
  .auth-card {
    width: 100%;
    max-width: 360px;
    margin: 0 16px;
    padding: 28px 22px;
  }

  /* ---------- DASHBOARD ---------- */
  .dash-nav {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .dash-left {
    flex-direction: column;
    gap: 10px;
  }

  .dash-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-container {
    padding: 20px 16px 60px;
  }

  /* ---------- FOOTER ---------- */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-column ul {
    align-items: center;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}


            /* ===============================
   SYSTEMS CTA BUTTONS
================================ */

.systems-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* BASE BUTTON */
.systems-btn {
  min-width: 160px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Penumbra Serif Std', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

/* PRIMARY – PLAY NOW */
.systems-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #0f2238;
  box-shadow: 0 0 26px rgba(224,184,76,0.6);
}

.systems-btn.primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 40px rgba(224,184,76,0.85);
}

/* SECONDARY – ABOUT */
.systems-btn.ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(224,184,76,0.45);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.systems-btn.ghost:hover {
  background: rgba(224,184,76,0.08);
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .systems-cta {
        flex-direction: row;
        justify-content: cen
    }


}

/* =========================
   ABOUT – FINAL CTA
========================= */

.about-final-cta {
    padding: 80px 18px 90px;
    position: relative;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
}

.about-final-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(224, 184, 76, 0.18);
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 44px 26px;
}

.cta-eyebrow {
    display: inline-block;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.about-final-inner h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
    margin: 0 0 14px;
}

.about-final-inner p {
    max-width: 720px;
    margin: 0 auto 26px;
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.05rem;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Secondary CTA */
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(224, 184, 76, 0.35);
    color: var(--gold);
    background: rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

    .cta-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 26px rgba(224, 184, 76, 0.35);
        background: rgba(0, 0, 0, 0.5);
    }

/* Responsive */
@media (max-width: 560px) {
    .about-final-inner {
        padding: 36px 20px;
    }
}

/* =========================================================
   MOBILE OVERRIDES (PASTE AT VERY BOTTOM OF style.css)
   ========================================================= */

/* ---------- TABLET & DOWN ---------- */
@media (max-width: 900px) {

    /* Topbar: prevent overflow */
    .topbar-inner {
        padding: 10px 16px !important;
        gap: 10px;
        flex-wrap: wrap;
    }

    .top-left,
    .top-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

        .top-left .top-item {
            text-align: center;
        }

    /* Header/nav container */
    .header-wrapper {
        position: sticky;
        top: 0;
        z-index: 2000;
    }

    /* IMPORTANT: stop the logo from being absolute on mobile */
    .nav-logo {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin: 10px auto 6px;
        pointer-events: auto !important;
    }

        .nav-logo img {
            height: 96px !important;
            max-width: 220px;
            width: auto;
        }

    /* Stack nav as: logo row, then two rows of buttons */
    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        height: auto !important;
        padding: 6px 0 12px !important;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center !important;
        padding: 8px 12px !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .main-nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        height: auto !important;
    }

    .nav-item {
        height: 38px !important;
        padding: 8px 14px !important;
        font-size: 0.70rem !important;
        letter-spacing: 0.14em !important;
        gap: 8px !important;
        border-width: 2px !important;
    }

    /* Give every page section sane padding on mobile */
    .news-inner,
    .play-inner,
    .rankings-inner,
    .team-inner,
    .about-wrap,
    .about-hero-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ---------- PHONE ---------- */
@media (max-width: 600px) {

    /* Reduce topbar clutter (keep Register/Login visible) */
    .top-right .social-link {
        display: none !important;
    }

    .top-cta {
        padding: 10px 14px !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.12em !important;
    }

    /* Make nav buttons smaller so 8 items fit cleanly */
    .nav-item {
        padding: 8px 12px !important;
        font-size: 0.66rem !important;
        letter-spacing: 0.12em !important;
    }

        .nav-item i {
            font-size: 0.95rem !important;
        }
}

/* ---------- SMALL PHONE ---------- */
@media (max-width: 420px) {

    /* Icons-only nav (prevents wrapping into ugly 3+ lines) */
    .nav-item span {
        display: none !important;
    }

    .nav-item {
        width: 46px; /* tap target */
        justify-content: center;
        padding: 10px 0 !important;
    }

    .nav-logo img {
        height: 84px !important;
    }

    /* Auth cards: tighter */
    .auth-card {
        margin: 0 12px !important;
        padding: 24px 18px !important;
    }

    /* Dashboard nav: tighter */
    .dash-nav {
        padding: 14px !important;
    }
}

/* =========================
   PROFILE PAGE
========================= */

.profile-hero {
    padding: 110px 18px 60px;
    text-align: center;
}

.profile-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(224,184,76,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: rgba(0,0,0,0.45);
}

    .profile-avatar i {
        font-size: 2.2rem;
    }

.profile-name {
    margin: 0;
}

.profile-tagline {
    opacity: 0.85;
    margin-bottom: 22px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.stat {
    border: 1px solid rgba(224,184,76,0.18);
    background: rgba(0,0,0,0.35);
    border-radius: 16px;
    padding: 14px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    opacity: 0.8;
}

/* Content */
.profile-section {
    padding: 60px 18px;
}

.profile-section-alt {
    background: rgba(0,0,0,0.18);
}

.profile-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.profile-panel {
    border: 1px solid rgba(224,184,76,0.16);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px;
}

.profile-info {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.profile-bars .bar {
    margin-bottom: 14px;
}

.bar-track {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

    .bar-track div {
        height: 100%;
        background: linear-gradient(90deg,#e0b84c,#ffd36a);
    }

/* Activity */
.profile-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.activity-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(224,184,76,0.16);
}

/* Buttons */
.cta-secondary.full {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}

/* Mobile */
@media (max-width: 900px) {
    .profile-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   TEAM PAGE
========================= */

.team-hero {
    padding: 110px 18px 60px;
    text-align: center;
}

.team-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.team-eyebrow {
    letter-spacing: .26em;
    text-transform: uppercase;
    opacity: .85;
}

.team-tagline {
    max-width: 720px;
    margin: 10px auto 22px;
    opacity: .9;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.team-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Sections */
.team-section {
    padding: 60px 18px;
}

.team-section-alt {
    background: rgba(0,0,0,.18);
}

.team-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.team-panel {
    border: 1px solid rgba(224,184,76,.16);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px;
}

/* Members */
.member-list {
    display: grid;
    gap: 10px;
}

.member {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(224,184,76,.14);
    background: rgba(0,0,0,.28);
}

    .member .role {
        font-size: .7rem;
        letter-spacing: .18em;
        opacity: .8;
    }

    .member.leader {
        border-color: rgba(224,184,76,.5);
    }

    .member.officer {
        border-color: rgba(224,184,76,.3);
    }

/* Activity */
.team-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.activity-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(224,184,76,.16);
}

/* Mobile */
@media (max-width:900px) {
    .team-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}
/* ======================================================
   GLOBAL PLAYER RANKINGS (DISTINCT FROM TEAMS)
====================================================== */

.global-rank-hero {
    padding: 120px 18px 60px;
    text-align: center;
}

.global-rank-inner {
    max-width: 760px;
    margin: 0 auto;
}

.rank-eyebrow {
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 0.75rem;
    opacity: 0.85;
}

.global-rank-inner h1 {
    margin: 8px 0 10px;
}

.global-rank-inner p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Section */
.global-rank-section {
    padding: 40px 18px 90px;
}

.global-rank-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Header row */
.ladder-head {
    display: grid;
    grid-template-columns: 80px 1fr 140px;
    padding: 0 10px 10px;
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Entries */
.ladder-entry {
    display: grid;
    grid-template-columns: 80px 1fr 140px;
    align-items: center;
    padding: 18px 10px;
    border-bottom: 1px solid rgba(224,184,76,0.14);
}

    .ladder-entry:last-child {
        border-bottom: none;
    }

    .ladder-entry.first {
        background: linear-gradient( 90deg, rgba(224,184,76,0.18), rgba(0,0,0,0) );
    }

/* Rank */
.ladder-rank {
    font-size: 1.6rem;
    font-weight: 700;
    opacity: 0.9;
}

/* Player */
.ladder-player {
    display: flex;
    flex-direction: column;
}

    .ladder-player .name {
        font-weight: 600;
    }

        .ladder-player .name i {
            color: var(--gold);
            margin-right: 6px;
        }

    .ladder-player .meta {
        font-size: 0.8rem;
        opacity: 0.75;
        margin-top: 2px;
    }

/* Rating */
.ladder-rating {
    text-align: right;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 640px) {
    .ladder-head {
        display: none;
    }

    .ladder-entry {
        grid-template-columns: 60px 1fr;
        row-gap: 6px;
    }

    .ladder-rating {
        grid-column: 1 / -1;
        text-align: left;
        font-size: 1.2rem;
        opacity: 0.9;
    }
}
/* =========================
   LOGOUT PAGE
========================= */

.logout-card {
    text-align: center;
}

.logout-icon {
    margin: 18px auto 22px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(224,184,76,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}

    .logout-icon i {
        font-size: 1.6rem;
        color: var(--gold);
    }

.logout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.auth-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(224,184,76,0.35);
    background: rgba(0,0,0,0.35);
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .auth-secondary:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 20px rgba(224,184,76,0.35);
    }
/* -------------------------------------------
   Option A: Fade in + slide in from left
------------------------------------------- */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-28px);
    }

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

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 700ms ease-out forwards;
    will-change: transform, opacity;
}

/* Optional: delay utilities */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

