/* ==========================================================
   CEYLON ESPORTS — style.css
   Dark gaming aesthetic · glassmorphism · Orbitron + Inter
   ========================================================== */

/* ── 1. DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Palette */
  --bg-void:       #05050a;
  --bg-deep:       #090910;
  --bg-surface:    #0e0f1d;
  --bg-raised:     #13142a;

  --cyan:          #00e5ff;
  --cyan-dim:      rgba(0, 229, 255, 0.18);
  --cyan-glow:     rgba(0, 229, 255, 0.30);

  --purple:        #a855f7;
  --purple-dim:    rgba(168, 85, 247, 0.18);
  --purple-glow:   rgba(168, 85, 247, 0.30);

  --gold:          #f59e0b;
  --gold-dim:      rgba(245, 158, 11, 0.18);
  --gold-glow:     rgba(245, 158, 11, 0.30);

  --green:         #10b981;
  --green-dim:     rgba(16, 185, 129, 0.18);

  --pink:          #ec4899;
  --pink-dim:      rgba(236, 72, 153, 0.18);

  --orange:        #f97316;
  --orange-dim:    rgba(249, 115, 22, 0.18);

  --blue:          #3b82f6;
  --blue-dim:      rgba(59, 130, 246, 0.18);

  --discord:       #5865f2;
  --discord-dim:   rgba(88, 101, 242, 0.20);

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.032);
  --glass-border:  rgba(255, 255, 255, 0.075);
  --glass-blur:    16px;

  /* Typography */
  --font-display:  'Orbitron', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2.5rem;
  --space-2xl:  4rem;
  --space-3xl:  6rem;

  /* Radius */
  --r-sm:  0.5rem;
  --r-md:  0.875rem;
  --r-lg:  1.25rem;
  --r-xl:  1.75rem;
  --r-full: 9999px;

  /* Transition */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 68px;
}

/* ── 2. RESET & BASE ────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  background-color: var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: var(--r-full); }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Container */
.container {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Particle canvas */
#ce-particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── Announcement banner ─────────────────────────────── */
.announcement-bar {
  position: relative; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 3rem 0.65rem 1.5rem;
  font-size: 0.875rem; font-weight: 500;
  text-align: center;
}
.announcement-bar--info    { background: rgba(0,229,255,0.12);  border-bottom: 1px solid rgba(0,229,255,0.25);  color: #e0f9ff; }
.announcement-bar--warning { background: rgba(245,158,11,0.12); border-bottom: 1px solid rgba(245,158,11,0.25); color: #fff8e0; }
.announcement-bar--danger  { background: rgba(239,68,68,0.12);  border-bottom: 1px solid rgba(239,68,68,0.25);  color: #ffe0e0; }
.ann-close {
  position: absolute; right: 1rem;
  background: none; border: none;
  color: inherit; font-size: 1.2rem;
  opacity: 0.6; cursor: pointer; line-height: 1;
}
.ann-close:hover { opacity: 1; }

/* ── 3. NAVBAR ──────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}

#site-header.scrolled {
  background: rgba(5, 5, 10, 0.88);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.navbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: var(--nav-h);
  padding-inline: var(--space-xl);
}

/* Brand */
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  flex-shrink: 0;
}
/* Brand logo image */
.brand-logo {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  border-radius: var(--r-sm);
  filter: drop-shadow(0 0 8px var(--cyan-glow));
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.brand-accent { color: var(--cyan); }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--cyan); background: rgba(0,229,255,0.08); }

/* Nav IP pill */
.nav-ip-btn {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--dur-fast);
  flex-shrink: 0;
}
.nav-ip-btn:hover { border-color: var(--cyan-glow); color: #fff; background: var(--cyan-dim); }
.nav-ip-text { letter-spacing: 0.02em; }
.nav-ip-icon { opacity: 0.5; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 2.25rem; height: 2.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--r-full);
  transition: all var(--dur-base);
}

/* Mobile menu — hidden everywhere by default; JS toggles via [hidden] attr */
.mobile-menu {
  display: none;               /* never show on desktop */
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(14, 15, 29, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: var(--nav-h);
  left: -100%;
  width: 280px;
  max-width: 80vw;
  height: calc(100vh - var(--nav-h));
  z-index: 999;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.mobile-link {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mobile-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-ip-btn {
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: left;
  transition: all var(--dur-fast);
}

/* ── 4. TAB PANELS ──────────────────────────────────────── */
main { position: relative; z-index: 1; padding-top: var(--nav-h); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabFadeIn var(--dur-slow) var(--ease); }

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

/* ── 5. GLASS CARDS ─────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--r-lg);
}
.glass-card--inner {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

/* ── 6. BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* Primary (cyan) */
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), rgb(0 180 210));
  color: #050508;
  font-weight: 700;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn--primary:hover {
  box-shadow: 0 0 32px var(--cyan-glow);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

/* Discord */
.btn--discord {
  background: var(--discord-dim);
  color: #8b9cf4;
  border: 1px solid rgba(88,101,242,0.4);
}
.btn--discord:hover {
  background: rgba(88,101,242,0.3);
  border-color: rgba(88,101,242,0.7);
  transform: translateY(-1px);
}

/* Vote */
.btn--vote {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
}
.btn--vote:hover { background: var(--cyan-dim); border-color: var(--cyan-glow); color: var(--cyan); }

/* Buy – per rank */
.btn--buy {
  width: 100%;
  margin-top: auto;
  padding: 0.85rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  transition: all var(--dur-base) var(--ease);
}
.btn--buy-cyan {
  background: linear-gradient(135deg, var(--cyan), rgb(0,180,210));
  color: #050508;
  box-shadow: 0 0 18px var(--cyan-glow);
}
.btn--buy-cyan:hover { box-shadow: 0 0 30px var(--cyan-glow); transform: translateY(-1px); }

.btn--buy-purple {
  background: linear-gradient(135deg, var(--purple), rgb(130,60,200));
  color: #fff;
  box-shadow: 0 0 18px var(--purple-glow);
}
.btn--buy-purple:hover { box-shadow: 0 0 30px var(--purple-glow); transform: translateY(-1px); }

.btn--buy-gold {
  background: linear-gradient(135deg, var(--gold), rgb(200,120,5));
  color: #050508;
  box-shadow: 0 0 18px var(--gold-glow);
}
.btn--buy-gold:hover { box-shadow: 0 0 30px var(--gold-glow); transform: translateY(-1px); }

.btn--buy-red {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #fff;
  box-shadow: 0 0 18px rgba(239,68,68,0.3);
}
.btn--buy-red:hover { box-shadow: 0 0 30px rgba(239,68,68,0.5); transform: translateY(-1px); }

.btn--buy-gray {
  background: linear-gradient(135deg, #9CA3AF, #4B5563);
  color: #fff;
  box-shadow: 0 0 18px rgba(156,163,175,0.3);
}
.btn--buy-gray:hover { box-shadow: 0 0 30px rgba(156,163,175,0.5); transform: translateY(-1px); }


/* ── 7. HERO ────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Ambient background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%,
    rgba(0,229,255,0.07) 0%, rgba(168,85,247,0.05) 45%, transparent 70%);
  pointer-events: none;
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
  animation: blobDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
}
.blob--cyan   { width: 380px; height: 380px; background: var(--cyan);   top: 5%;  left: 4%;  animation-delay: 0s; }
.blob--purple { width: 300px; height: 300px; background: var(--purple); top: 18%; right: 4%; animation-delay: -3.5s; }
.blob--gold   { width: 220px; height: 220px; background: var(--gold);   bottom:12%; left:44%; animation-delay: -6s; }

@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(24px,-28px) scale(1.08); }
}

.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 760px; width: 100%;
}

/* Status badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-lg);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* Hero title */
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(0,229,255,0.35));
}

.hero__sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

/* IP block */
.ip-block {
  display: flex; flex-wrap: wrap;
  align-items: stretch; gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.ip-copy-btn {
  display: flex; align-items: center; gap: var(--space-md);
  padding: 0.9rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  text-align: left;
}
.ip-copy-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  box-shadow: 0 0 22px var(--cyan-glow);
}
.ip-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.15rem;
}
.ip-address {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.ip-copy-icon {
  width: 2.2rem; height: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: color var(--dur-fast);
}
.ip-copy-btn:hover .ip-copy-icon { color: var(--cyan); }

/* Player count */
.player-count {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  font-size: 0.85rem;
}
.player-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}
.count-number {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
}
.count-max { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
.count-label { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* Copy toast */
.copy-toast {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--r-full);
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  animation: toastPop var(--dur-base) var(--ease);
}
@keyframes toastPop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero CTAs */
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

/* ── 8. SECTION TYPOGRAPHY ──────────────────────────────── */
.section-eye {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin-top: 0.4rem;
  line-height: 1.15;
}
.section-sub {
  color: rgba(255,255,255,0.75);
  margin: 0.75rem auto 0;
  max-width: 520px;
}
.page-header {
  text-align: center;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
}
.store-disclaimer {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-top: 1rem;
}
.subsection-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin: var(--space-xl) 0 var(--space-md);
}

/* ── 9. HIGHLIGHTS ──────────────────────────────────────── */
.highlights { padding: var(--space-3xl) 0; }
.highlights .section-title,
.highlights .section-sub,
.highlights .section-eye { text-align: center; }

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.highlight-card {
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--dur-base) var(--ease),
              box-shadow  var(--dur-base) var(--ease);
}
.highlight-card:hover { transform: translateY(-5px); }
.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: var(--space-md) 0 0.4rem;
}
.highlight-card p { font-size: 0.875rem; color: rgba(255,255,255,0.48); }

.highlight-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  font-size: 1.25rem;
}
.highlight-icon--cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(0,229,255,0.25);  }
.highlight-icon--purple { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,0.25); }
.highlight-icon--gold   { background: var(--gold-dim);   color: var(--gold);   border: 1px solid rgba(245,158,11,0.25);  }
.highlight-icon--green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(16,185,129,0.25);  }

.highlight-card:hover .highlight-icon--cyan   { box-shadow: 0 0 14px var(--cyan-glow); }
.highlight-card:hover .highlight-icon--purple { box-shadow: 0 0 14px var(--purple-glow); }
.highlight-card:hover .highlight-icon--gold   { box-shadow: 0 0 14px var(--gold-glow); }

/* ── 10. STATS STRIP ────────────────────────────────────── */
.stats-strip {
  padding: var(--space-2xl) 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border-right: 1px solid var(--glass-border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  display: block;
}
.stat-value--cyan   { color: var(--cyan); }
.stat-value--purple { color: var(--purple); }
.stat-value--gold   { color: var(--gold); }
.stat-value--green  { color: var(--green); }
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
  display: block;
}

/* ── 11. DISCORD BANNER ─────────────────────────────────── */
.discord-banner {
  padding: var(--space-3xl) 0;
}
.discord-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: var(--discord-dim);
  border: 1px solid rgba(88,101,242,0.2);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}
.discord-banner__icon {
  font-size: 2.5rem;
  color: #8b9cf4;
  flex-shrink: 0;
  width: 4rem; height: 4rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--r-md);
}
.discord-banner__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.discord-banner__sub { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 0.25rem; }
.discord-banner .btn--discord { margin-left: auto; }

/* ── 12. INFO PAGE ──────────────────────────────────────── */
.subtab-bar {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.subtab {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--dur-fast);
}
.subtab:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.18); }
.subtab.active {
  color: var(--cyan);
  background: var(--cyan-dim);
  border-color: rgba(0,229,255,0.35);
}

.subtab-panel { padding-bottom: var(--space-3xl); }

/* Info card */
.info-card { padding: var(--space-xl); margin-bottom: var(--space-xl); }
.info-card__header {
  display: flex; align-items: flex-start; gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.info-card__icon {
  width: 3rem; height: 3rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-size: 1.2rem;
}
.info-card__icon--cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(0,229,255,0.3); }
.info-card__icon--purple { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }
.info-card__icon--gold   { background: var(--gold-dim);   color: var(--gold);   border: 1px solid rgba(245,158,11,0.3); }
.info-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800; color: #fff;
}
.info-card__meta { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.15rem; }

/* Rules grid */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.rule-card {
  padding: var(--space-lg);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  border-left: 4px solid;
}
.rule-card--red    { border-color: #ef4444; }
.rule-card--orange { border-color: #f97316; }
.rule-card--yellow { border-color: #eab308; }
.rule-card--cyan   { border-color: var(--cyan); }
.rule-card--purple { border-color: var(--purple); }
.rule-card--green  { border-color: var(--green); }
.rule-card__title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.rule-card__body  { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.rules-notice {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--r-md);
  font-size: 0.83rem;
  color: rgba(239,68,68,0.85);
}

/* Guide */
.guide-section-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex; align-items: center; gap: 0.5rem;
}
.vote-username-card { max-width: 500px; margin: 0 auto 3rem; text-align: center; }
.vote-username-form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }

.vote-split, .store-split {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .vote-split, .store-split {
    grid-template-columns: 1fr;
  }
}

.vote-sites-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem;
}
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-sm);
}
.cmd-card {
  padding: 0.75rem var(--space-md);
  border-radius: var(--r-sm);
  border: 1px solid;
}
.cmd-card--cyan   { background: var(--cyan-dim);   border-color: rgba(0,229,255,0.2); }
.cmd-card--purple { background: var(--purple-dim); border-color: rgba(168,85,247,0.2); }
.cmd-card--gold   { background: var(--gold-dim);   border-color: rgba(245,158,11,0.2); }
.cmd-card--green  { background: var(--green-dim);  border-color: rgba(16,185,129,0.2); }
.cmd-card--pink   { background: var(--pink-dim);   border-color: rgba(236,72,153,0.2); }
.cmd-card--orange { background: var(--orange-dim); border-color: rgba(249,115,22,0.2); }
.cmd-card__code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}
.cmd-card__desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* Mechanics */
.mechanics-list { display: flex; flex-direction: column; gap: var(--space-md); }
.mechanic {
  display: flex; gap: var(--space-md); align-items: flex-start;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--glass-border);
}
.mechanic__icon {
  width: 2.4rem; height: 2.4rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-size: 1rem;
}
.mechanic__icon--gold   { background: var(--gold-dim);   color: var(--gold);   border: 1px solid rgba(245,158,11,0.3); }
.mechanic__icon--cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(0,229,255,0.3); }
.mechanic__icon--purple { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }
.mechanic__icon--green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(16,185,129,0.3); }
.mechanic strong { display: block; font-size: 0.95rem; color: #fff; margin-bottom: 0.2rem; }
.mechanic p { font-size: 0.83rem; color: rgba(255,255,255,0.48); }

/* Staff */
.about-blurb p { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.staff-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  padding: 1.5rem var(--space-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-fast), background var(--dur-fast);
}
.staff-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.04); }

.staff-avatar-img-wrapper {
  width: 5rem; height: 5rem; flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: var(--surface);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}
.staff-avatar-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.staff-avatar-border--gold   { background: linear-gradient(135deg, var(--gold), transparent); }
.staff-avatar-border--cyan   { background: linear-gradient(135deg, var(--cyan), transparent); }
.staff-avatar-border--purple { background: linear-gradient(135deg, var(--purple), transparent); }
.staff-avatar-border--green  { background: linear-gradient(135deg, var(--green), transparent); }
.staff-avatar-border--pink   { background: linear-gradient(135deg, var(--pink), transparent); }

.staff-card-info strong { display: block; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.staff-card-info em     { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,0.45); font-weight: 500; }


.apply-cta { text-align: center; }
.apply-cta strong { display: block; font-size: 1rem; color: #fff; margin-bottom: 0.4rem; }
.apply-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: var(--space-md); }

/* ── 13. STORE ──────────────────────────────────────────── */

/* Gamemode tabs */
.gamemode-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.gmtab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--dur-fast);
  cursor: pointer;
}
.gmtab:hover { color: #fff; border-color: rgba(255,255,255,0.18); }
.gmtab.active {
  color: var(--cyan);
  background: var(--cyan-dim);
  border-color: rgba(0,229,255,0.35);
}

.coming-soon-msg {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  margin-bottom: var(--space-2xl);
}
.coming-soon-msg i {
  font-size: 2.5rem; color: rgba(255,255,255,0.2);
  margin-bottom: var(--space-md);
}
.coming-soon-msg h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: #fff;
  margin-bottom: 0.5rem;
}
.coming-soon-msg p {
  color: rgba(255,255,255,0.5); font-size: 0.95rem;
}

.store-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
}
.store-disclaimer i { margin-right: 0.3rem; color: var(--cyan); }

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.rank-card {
  display: flex; flex-direction: column;
  padding: var(--space-xl);
  border-radius: var(--r-xl);
  border: 1px solid;
  position: relative; overflow: hidden;
  transition: transform var(--dur-slow) var(--ease),
              box-shadow  var(--dur-slow) var(--ease);
}
.rank-card:hover { transform: translateY(-6px); }

/* Per-accent borders & hover glows */
.rank-card--cyan   { border-color: rgba(0,229,255,0.2);   background: rgba(10,11,18,0.8); }
.rank-card--purple { border-color: rgba(168,85,247,0.28); background: rgba(10,11,18,0.8); }
.rank-card--gold   { border-color: rgba(245,158,11,0.2);  background: rgba(10,11,18,0.8); }
.rank-card--red    { border-color: rgba(239,68,68,0.2);   background: rgba(10,11,18,0.8); }

.rank-card--cyan:hover   { box-shadow: 0 8px 40px rgba(0,229,255,0.18); }
.rank-card--purple:hover { box-shadow: 0 8px 40px rgba(168,85,247,0.22); }
.rank-card--gold:hover   { box-shadow: 0 8px 40px rgba(245,158,11,0.18); }
.rank-card--red:hover    { box-shadow: 0 8px 40px rgba(239,68,68,0.18); }

/* Glow overlay */
.rank-card__glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
}
.rank-card--cyan .rank-card__glow   { background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.10) 0%, transparent 65%); }
.rank-card--purple .rank-card__glow { background: radial-gradient(ellipse at 50% 0%, rgba(168,85,247,0.12) 0%, transparent 65%); }
.rank-card--gold .rank-card__glow   { background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.10) 0%, transparent 65%); }
.rank-card--red .rank-card__glow    { background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.10) 0%, transparent 65%); }

.rank-card__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-md);
  position: relative;
}
.rank-card__icon { font-size: 2rem; }
.rank-card__tier {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
}
.rank-card--cyan   .rank-card__tier { color: var(--cyan);   background: var(--cyan-dim);   border: 1px solid rgba(0,229,255,0.3); }
.rank-card--purple .rank-card__tier { color: var(--purple); background: var(--purple-dim); border: 1px solid rgba(168,85,247,0.3); }
.rank-card--gold   .rank-card__tier { color: var(--gold);   background: var(--gold-dim);   border: 1px solid rgba(245,158,11,0.3); }

.rank-card__name {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900;
  position: relative;
}
.rank-card--cyan   .rank-card__name { color: var(--cyan); }
.rank-card--purple .rank-card__name { color: var(--purple); }
.rank-card--gold   .rank-card__name { color: var(--gold); }

.rank-card__price {
  display: flex; align-items: baseline; gap: 0.3rem;
  margin: 0.5rem 0 var(--space-lg);
  position: relative;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 900; color: #fff;
}
.price-period { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

.rank-card__perks {
  flex: 1;
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: var(--space-xl);
  position: relative;
}
.rank-card__perks li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
}
.rank-card--cyan   .rank-card__perks li i { color: var(--cyan); }
.rank-card--purple .rank-card__perks li i { color: var(--purple); }
.rank-card--gold   .rank-card__perks li i { color: var(--gold); }
.rank-card__perks li i { font-size: 0.8rem; margin-top: 0.3rem; flex-shrink: 0; }

/* Terms box */
.terms-box { padding: var(--space-xl); margin-bottom: var(--space-3xl); }
.terms-box__title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem;
}
.terms-list li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  padding-left: 1rem;
  position: relative;
}
.terms-list li::before {
  content: '•'; position: absolute; left: 0;
  color: rgba(255,255,255,0.2);
}

/* ── 14. VOTE PAGE ──────────────────────────────────────── */
.vote-username-card {
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.vote-username-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin-bottom: 0.25rem;
}
.vote-username-card p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: var(--space-lg); }

/* Forms */
.form-row {
  display: flex; gap: var(--space-md); flex-wrap: wrap; align-items: flex-start;
}
.form-field { margin-bottom: var(--space-lg); }
.form-field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.65); margin-bottom: 0.4rem;
}

.input-icon-wrap {
  position: relative; flex: 1 1 220px;
}
.input-icon-wrap > i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.3); font-size: 0.85rem; pointer-events: none;
}
.input-icon-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input-icon-wrap input::placeholder { color: rgba(255,255,255,0.22); font-family: var(--font-mono); }
.input-icon-wrap input:focus {
  outline: none;
  border-color: rgba(0,229,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.input-icon-wrap input.error-input {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-feedback { font-size: 0.8rem; margin-top: 0.4rem; min-height: 1.2em; }
.form-feedback.success { color: #4ade80; }
.form-feedback.error   { color: #f87171; }
.field-error { font-size: 0.78rem; color: #f87171; display: block; margin-top: 0.3rem; min-height: 1.1em; }

/* Voting sites */
.vote-sites-grid {
  display: flex; flex-direction: column; gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.vote-site-card {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  transition: transform var(--dur-base), border-color var(--dur-base);
}
.vote-site-card:hover { transform: translateY(-2px); border-color: rgba(0,229,255,0.3); }
.vote-site-icon { font-size: 1.6rem; flex-shrink: 0; }
.vote-site-info { flex: 1; min-width: 0; }
.vote-site-info strong { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; }
.vote-site-info span   { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* Rewards */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.reward-card {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.025);
  transition: transform var(--dur-base);
}
.reward-card:hover { transform: translateY(-3px); }
.reward-card > span:first-child { font-size: 1.8rem; display: block; margin-bottom: 0.6rem; }
.reward-card strong { display: block; font-size: 0.95rem; color: #fff; margin-bottom: 0.3rem; }
.reward-card p { font-size: 0.78rem; color: rgba(255,255,255,0.42); margin-bottom: 0.6rem; }
.reward-qty {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}
.reward-card--cyan   .reward-qty { background: var(--cyan-dim);   color: var(--cyan);   }
.reward-card--gold   .reward-qty { background: var(--gold-dim);   color: var(--gold);   }
.reward-card--purple .reward-qty { background: var(--purple-dim); color: var(--purple); }
.reward-card--green  .reward-qty { background: var(--green-dim);  color: var(--green);  }

.milestone-card { padding: var(--space-xl); margin-bottom: var(--space-3xl); }
.milestone-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: var(--space-md);
  display: flex; align-items: center; gap: 0.5rem;
}
.milestone-list { display: flex; flex-direction: column; gap: 0.6rem; }
.milestone-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.62);
}
.milestone-list li span { font-size: 1.2rem; }

/* ── 15. CHECKOUT MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  animation: modalFadeIn var(--dur-base) var(--ease);
}
.modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  width: min(100%, 480px);
  max-height: 90svh;
  overflow-y: auto;
  padding: var(--space-xl);
  animation: modalSlideUp 0.32s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.5);
  transition: all var(--dur-fast);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.modal-header {
  display: flex; align-items: flex-start; gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.modal-rank-icon {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  font-size: 1.6rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900; color: #fff;
  line-height: 1.2;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-top: 0.2rem;
}
.modal-note { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 0.15rem; }

/* Checkout form */
.checkout-form { display: flex; flex-direction: column; gap: var(--space-lg); }

.payment-fieldset { border: none; padding: 0; }
.payment-fieldset legend {
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}
.payment-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.payment-opt { cursor: pointer; }
.payment-opt input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-label {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--dur-fast);
  user-select: none;
}
.payment-opt input:checked + .payment-label {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: #fff;
  box-shadow: 0 0 10px var(--cyan-glow);
}
.payment-label:hover { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }

/* Terms checkbox */
.terms-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  cursor: pointer; font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.terms-check input[type="checkbox"] {
  margin-top: 0.15rem; flex-shrink: 0;
  width: 15px; height: 15px;
  accent-color: var(--cyan);
}

/* Success state */
.checkout-success {
  text-align: center;
  padding: var(--space-xl) 0;
}
.checkout-success[hidden] { display: none; }
.success-icon {
  font-size: 3.5rem;
  color: #4ade80;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 14px rgba(74,222,128,0.5));
}
.checkout-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900; color: #fff;
  margin-bottom: 0.5rem;
}
.checkout-success p { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 0.3rem; }
.success-note { font-size: 0.78rem !important; color: rgba(255,255,255,0.3) !important; }
.checkout-success .btn { margin-top: var(--space-lg); }

/* ── 16. GLOBAL TOAST ───────────────────────────────────── */
.global-toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: var(--r-full);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.88rem; font-weight: 600;
  z-index: 300;
  animation: toastIn var(--dur-base) var(--ease);
}
.global-toast[hidden] { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.global-toast i { color: #4ade80; }

/* ── 17. FOOTER ─────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-2xl);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin: 0.6rem 0 var(--space-md);
  max-width: 250px;
}
.footer-socials { display: flex; gap: 0.5rem; }
.social-btn {
  width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: all var(--dur-fast);
}
.social-btn:hover { background: var(--cyan-dim); border-color: var(--cyan-glow); color: var(--cyan); transform: translateY(-2px); }

.footer-nav, .footer-server {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.footer-nav strong, .footer-server strong {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.85);
  margin-bottom: 0.35rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast);
  cursor: pointer;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-server span {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.75);
}
.footer-server i { color: var(--cyan); font-size: 0.8rem; }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: var(--space-md) 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ── 18. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .discord-banner__inner { flex-direction: column; text-align: center; }
  .discord-banner .btn--discord { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .navbar { padding-inline: var(--space-md); }
  .nav-links, .nav-ip-btn, .nav-auth { display: none !important; }
  .nav-hamburger { display: flex; }
  /* Make mobile menu accessible for sliding on small screens */
  .mobile-menu { display: flex; }
  .mobile-menu:not([hidden]) { left: 0; }
  .hero__title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .ip-block { flex-direction: column; align-items: stretch; }
  .ip-copy-btn, .player-count { width: 100%; }
  .player-count { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--glass-border); }
  .stat-item { border-top: 1px solid var(--glass-border); }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-top: none; }
  .ranks-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-md); }
  .hero { padding-inline: var(--space-md); }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .highlights__grid { grid-template-columns: 1fr; }
  .modal-box { padding: var(--space-lg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.staff-role-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.staff-role-badge--gold   { background: var(--gold-dim);   color: var(--gold);   border: 1px solid rgba(245,158,11,0.3); }
.staff-role-badge--cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(0,229,255,0.3); }
.staff-role-badge--purple { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }
.staff-role-badge--green  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(16,185,129,0.3); }
.staff-role-badge--pink   { background: var(--pink-dim);   color: var(--pink);   border: 1px solid rgba(236,72,153,0.3); }

/* Staff Card Full Colors */
.staff-card--gold   { border-color: rgba(245,158,11,0.4); box-shadow: 0 4px 30px rgba(245,158,11,0.05); }
.staff-card--cyan   { border-color: rgba(0,229,255,0.4);  box-shadow: 0 4px 30px rgba(0,229,255,0.05); }
.staff-card--purple { border-color: rgba(168,85,247,0.4); box-shadow: 0 4px 30px rgba(168,85,247,0.05); }
.staff-card--green  { border-color: rgba(16,185,129,0.4); box-shadow: 0 4px 30px rgba(16,185,129,0.05); }
.staff-card--pink   { border-color: rgba(236,72,153,0.4); box-shadow: 0 4px 30px rgba(236,72,153,0.05); }
.staff-card--blue   { border-color: rgba(59,130,246,0.4); box-shadow: 0 4px 30px rgba(59,130,246,0.05); }
.staff-card--orange { border-color: rgba(249,115,22,0.4); box-shadow: 0 4px 30px rgba(249,115,22,0.05); }
.staff-card--gray   { border-color: rgba(156,163,175,0.4); box-shadow: 0 4px 30px rgba(156,163,175,0.05); }

/* Missing Border Colors */
.staff-avatar-border--blue   { background: linear-gradient(135deg, #3b82f6, transparent); }
.staff-avatar-border--orange { background: linear-gradient(135deg, #f97316, transparent); }
.staff-avatar-border--gray   { background: linear-gradient(135deg, #9ca3af, transparent); }

/* Missing Badge Colors */
.staff-role-badge--blue   { background: rgba(59,130,246,0.1); color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }
.staff-role-badge--orange { background: rgba(249,115,22,0.1); color: #f97316; border: 1px solid rgba(249,115,22,0.3); }
.staff-role-badge--gray   { background: rgba(156,163,175,0.1); color: #9ca3af; border: 1px solid rgba(156,163,175,0.3); }

/* Ensure badges are all consistent sizes */
.staff-role-badge {
  min-width: 140px;
  font-size: 0.7rem;
  padding: 0.4rem 0.5rem;
}
