/* ============================================================
   AGORA — CORE STYLES  v2.0
   Design tokens, reset, typography, layout, buttons, header, footer, consent, modal, responsive, animations
   Auto-generated — edit via split, rebuild with: python3 build-css.py build
   ============================================================ */

/* ---- 1. Design Tokens ------------------------------------ */
:root {
  /* Backgrounds — deep, rich dark palette */
  --bg-900:  #060A13;
  --bg-800:  #0C1220;
  --bg-700:  #131B2E;
  --bg-600:  #1C2742;

  /* Text — balanced contrast */
  --text-100: #EFF3FA;
  --text-200: #C8D3E5;
  --text-300: #8B9AB3;
  --text-400: #5C6D87;

  /* Borders */
  --line-500: #1A2540;
  --line-600: #131D32;

  /* Brand — vibrant warm orange */
  --brand-300: #FFB088;
  --brand-400: #FF8C57;
  --brand-500: #FF6B2C;
  --brand-600: #E85A1E;
  --brand-700: #C44A14;

  /* Status */
  --success-500: #22C55E;
  --warning-500: #EAB308;
  --danger-500:  #EF4444;

  /* Spacing (8px base) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 40px; --sp-8: 56px; --sp-9: 72px;

  /* Radius */
  --r-xs:   8px;
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-pill: 999px;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  /* Transitions */
  --t-fast:   120ms ease;
  --t-normal: 200ms ease;
  --t-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(255, 107, 44, 0.12);
}

/* ---- 2. Reset & Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-900);
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255,107,44,0.025) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(14,165,233,0.015) 0%, transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.site-icon {
  --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='black'/%3E%3C/svg%3E");
  display: inline-block; width: 1em; height: 1em; margin-right: 0;
  vertical-align: middle; line-height: 1;
  background-color: currentColor;
  -webkit-mask: var(--icon-svg) no-repeat center / contain;
  mask: var(--icon-svg) no-repeat center / contain;
}

.favicon-icon {
  display: inline-block; width: 1em; height: 1em; margin-right: 0.45em;
  vertical-align: -0.08em;
  background: url('../Asset/favicon.ico') center/contain no-repeat;
}

.site-icon--trophy { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4h10v2h3v2a5 5 0 0 1-5 5h-.2A5 5 0 0 1 13 15v2h3v3H8v-3h3v-2a5 5 0 0 1-1.8-2H9a5 5 0 0 1-5-5V6h3V4Zm10 4V8h1a3 3 0 0 1-3 3V8h2ZM7 8v3A3 3 0 0 1 4 8h3Z'/%3E%3C/svg%3E"); }
.site-icon--target { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v3.1A7 7 0 0 1 18.9 11H22v2h-3.1A7 7 0 0 1 13 18.9V22h-2v-3.1A7 7 0 0 1 5.1 13H2v-2h3.1A7 7 0 0 1 11 5.1V2Zm1 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E"); }
.site-icon--sword { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m6 4 5 5-2 2-5-5 2-2Zm12 0 2 2-5 5-2-2 5-5ZM8 12l4 4-1.5 1.5L9 16l-2 2-1-1 2-2-1.5-1.5L8 12Zm8 0 1.5 1.5L16 15l2 2-1 1-2-2-1.5 1.5L12 16l4-4Z'/%3E%3C/svg%3E"); }
.site-icon--skull { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a8 8 0 0 0-5 14.2V20h3v-2h1v2h2v-2h1v2h3v-2.8A8 8 0 0 0 12 3Zm-3 7a1.2 1.2 0 1 1 0 2.4A1.2 1.2 0 0 1 9 10Zm6 0a1.2 1.2 0 1 1 0 2.4A1.2 1.2 0 0 1 15 10Z'/%3E%3C/svg%3E"); }
.site-icon--star { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 3 6 7 .9-5 4.8 1.3 7.1L12 17l-6.3 3.8L7 13.7 2 8.9 9 8l3-6Z'/%3E%3C/svg%3E"); }
.site-icon--clock { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5h-2v6l5 3 1-1.7-4-2.3V7Z'/%3E%3C/svg%3E"); }
.site-icon--warning { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 2 21h20L12 3Zm1 14h-2v2h2v-2Zm0-8h-2v6h2V9Z'/%3E%3C/svg%3E"); }
.site-icon--gamepad { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 8h10a5 5 0 0 1 4.8 6.3l-1 4A3 3 0 0 1 16 20l-2-2h-4l-2 2a3 3 0 0 1-4.8-1.7l-1-4A5 5 0 0 1 7 8Zm1 3v2H6v2h2v2h2v-2h2v-2h-2v-2H8Zm9 1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm-3 1.5a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z'/%3E%3C/svg%3E"); }
.site-icon--crown { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m3 7 4 3 5-6 5 6 4-3-2 12H5L3 7Zm4.5 8h9v2h-9v-2Z'/%3E%3C/svg%3E"); }
.site-icon--chart { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 20h16v2H2V4h2v16Zm2-2V9h3v9H6Zm5 0V5h3v13h-3Zm5 0v-6h3v6h-3Z'/%3E%3C/svg%3E"); }
.site-icon--trend { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 18h18v2H1V4h2v14Zm15-9h-4l1.6 1.6-4.5 4.5-3-3-4 4 1.4 1.4L8 14.9l3 3 5.9-5.9L18 13V9Z'/%3E%3C/svg%3E"); }
.site-icon--link { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.6 13.4a1 1 0 0 1 0-1.4l4.2-4.2a3 3 0 1 1 4.2 4.2l-2 2-1.4-1.4 2-2a1 1 0 1 0-1.4-1.4L12 13.4a1 1 0 0 1-1.4 0Zm2.8-2.8a1 1 0 0 1 0 1.4L9.2 16.2A3 3 0 0 1 5 12l2-2 1.4 1.4-2 2a1 1 0 0 0 1.4 1.4l4.2-4.2a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E"); }
.site-icon--medal { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h4l1 4h-2l-1 4H5l2-8Zm10 0h-4l-1 4h2l1 4h4l-2-8ZM12 11a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm0 3 1.2 2.4 2.6.4-1.9 1.9.4 2.7-2.3-1.2-2.3 1.2.4-2.7-1.9-1.9 2.6-.4L12 14Z'/%3E%3C/svg%3E"); }
.site-icon--bolt { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2 4 14h6l-1 8 9-12h-6l1-8Z'/%3E%3C/svg%3E"); }
.site-icon--shield { --icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.2 3.4 9.9 8 11 4.6-1.1 8-5.8 8-11V5l-8-3Zm-1 5h2v10h-2V7Z'/%3E%3C/svg%3E"); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- 3. Typography --------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
p { max-width: 68ch; }

.text-secondary { color: var(--text-300); }
.text-brand     { color: var(--brand-500); }
.text-success   { color: var(--success-500); }
.text-danger    { color: var(--danger-500); }

/* ---- 4. Layout ------------------------------------------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--sp-7); }
.section       { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }

/* ---- 5. Accessibility ------------------------------------ */
.skip-link {
  position: absolute; top: -120px; left: var(--sp-4); z-index: 9999;
  background: var(--brand-700); color: #fff; padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--r-xs) var(--r-xs); font-weight: 600; font-size: 0.875rem;
  transition: top var(--t-normal);
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- 6. Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); padding: 14px 28px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: background var(--t-smooth), color var(--t-smooth), border-color var(--t-smooth),
              box-shadow var(--t-smooth), transform var(--t-fast);
}
.btn .site-icon { margin-right: 0; }
.btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  border-color: rgba(255,107,44,0.25);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 44, 0.28), 0 0 0 1px rgba(255, 107, 44, 0.15);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: transparent; color: var(--text-200); border-color: var(--line-500);
}
.btn--secondary:hover {
  border-color: var(--text-300); color: var(--text-100); background: rgba(255,255,255,0.03);
}

.btn--ghost {
  background: rgba(255,255,255,0.04); color: var(--text-100); border-color: rgba(255,255,255,0.08);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14);
}

.btn--sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn--icon { gap: var(--sp-2); }

/* ---- 7. Header ------------------------------------------- */
.header-primary {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 19, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: background var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
}
.header-primary.is-scrolled {
  background: rgba(6, 10, 19, 0.95);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.header-primary__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--sp-5);
}

.header-primary__logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--text-100); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.header-primary__logo:hover { opacity: 0.85; }
.header-primary__logo .logo-accent,
.logo-accent { color: var(--brand-500); font-weight: 700; }

.brand-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.brand-logo--footer { width: 28px; height: 28px; }

.header-primary__nav { display: flex; align-items: center; gap: var(--sp-1); }

.header-primary__nav-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-300);
  padding: 6px 14px; border-radius: var(--r-xs); position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-fast), background var(--t-fast);
}
.header-primary__nav-link:hover { color: var(--text-100); background: rgba(255,255,255,0.04); }
.header-primary__nav-link[aria-current="page"],
.header-primary__nav-link.is-active {
  color: var(--text-100); background: rgba(255,107,44,0.08);
}
.header-primary__nav-link[aria-current="page"]::after,
.header-primary__nav-link.is-active::after {
  content: ''; position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 2px; background: var(--brand-500); border-radius: 1px;
}
.header-primary__nav-link:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: var(--r-xs); }

/* Live pulse indicator */
.header-primary__nav-link--live { font-weight: 600; }
.live-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success-500);
  animation: pulse-dot 2s ease-in-out infinite; flex-shrink: 0;
}

/* Nav dropdown "Plus" */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-300);
  padding: 6px 14px; border-radius: var(--r-xs);
  cursor: pointer; background: none; border: none;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-dropdown__toggle:hover, .nav-dropdown.is-open .nav-dropdown__toggle {
  color: var(--text-100); background: rgba(255,255,255,0.04);
}
.nav-dropdown__chevron {
  transition: transform var(--t-normal);
}
.nav-dropdown.is-open .nav-dropdown__chevron { transform: rotate(180deg); }
.nav-dropdown__menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-4px); background: var(--bg-700);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-sm);
  padding: var(--sp-2) 0; min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 100;
  opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast);
}
.nav-dropdown.is-open .nav-dropdown__menu {
  display: block; opacity: 1; transform: translateX(-50%) translateY(0);
}
.nav-dropdown__link {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 8px var(--sp-4); font-size: 0.8125rem;
  color: var(--text-300); white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown__link .site-icon { font-size: 0.875rem; opacity: 0.6; }
.nav-dropdown__link:hover {
  background: rgba(255,107,44,0.06); color: var(--text-100);
}
.nav-dropdown__link:hover .site-icon { opacity: 1; }
.nav-dropdown__divider {
  height: 1px; background: var(--line-500); margin: var(--sp-2) var(--sp-4);
}

.header-primary__actions { display: flex; align-items: center; gap: var(--sp-3); }

.auth-menu { display: inline-flex; align-items: center; gap: var(--sp-2); }
.auth-menu__user { display: inline-flex; align-items: center; gap: var(--sp-2); max-width: 210px; }
.auth-menu__avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,107,44,0.25);
  transition: border-color var(--t-fast);
}
.auth-menu__user:hover .auth-menu__avatar { border-color: var(--brand-500); }
.auth-menu__avatar--fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-700); color: var(--text-300); font-size: 0.75rem; font-weight: 700;
}
.page-player-profile .auth-menu__avatar,
.page-player-profile .auth-menu__avatar--fallback { display: none !important; }
.auth-menu__name {
  font-size: 0.8125rem; color: var(--text-300);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.auth-menu__link {
  font-size: 0.8125rem; color: var(--text-200); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill); padding: 6px 14px;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.auth-menu__link:hover { border-color: var(--brand-500); color: #fff; background: rgba(255,107,44,0.08); }
.auth-menu__link:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: var(--r-pill); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: var(--sp-2); color: var(--text-100);
  width: 40px; height: 40px; border-radius: var(--r-xs);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }
.nav-toggle__bar {
  width: 20px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: var(--r-xs); }

/* Mobile nav */
.header-primary__mobile-nav {
  display: none; flex-direction: column;
  padding: var(--sp-3) 0 var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 250ms ease, padding 250ms ease;
}
.header-primary__mobile-nav.is-open {
  display: flex; max-height: 600px; opacity: 1;
}
.mobile-nav__links {
  display: flex; flex-direction: column; gap: 2px;
}
.header-primary__mobile-nav .header-primary__nav-link {
  padding: 12px var(--sp-3); font-size: 1rem; border-radius: var(--r-xs);
}
.header-primary__mobile-nav .header-primary__nav-link:hover {
  background: rgba(255,255,255,0.04);
}
.mobile-nav__bottom {
  padding-top: var(--sp-4); margin-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav__bottom .btn { width: 100%; justify-content: center; }

/* ---- 13. Page Hero --------------------------------------- */
.page-hero { padding-block: var(--sp-9) var(--sp-6); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,107,44,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; display: flex; flex-direction: column; gap: var(--sp-4); }
.page-hero--center .page-hero__inner { align-items: center; text-align: center; max-width: 680px; margin-inline: auto; }
.page-hero--faq .page-hero__inner { max-width: 640px; }
.page-hero__subtitle { font-size: 1.0625rem; color: var(--text-300); max-width: 60ch; line-height: 1.7; }

.faq-group {
  max-width: 780px; margin-inline: auto; margin-bottom: var(--sp-8);
  position: relative; border: 1px solid var(--line-500); border-radius: var(--r-md);
  padding: var(--sp-6);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,107,44,0.06) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.012), transparent),
    var(--bg-800);
  box-shadow: var(--shadow-md);
}
.faq-group::before {
  content: ''; position: absolute; top: var(--sp-5); left: 0;
  width: 3px; height: 72px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-500), transparent);
}
.faq-group p { color: var(--text-200); max-width: 66ch; margin-bottom: var(--sp-4); }
.faq-group p:last-of-type { margin-bottom: 0; }
.faq-group ul { list-style: none; padding: 0; margin: var(--sp-2) 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.faq-group ul li { position: relative; padding-left: 1.4em; font-size: 0.9375rem; color: var(--text-300); line-height: 1.6; }
.faq-group ul li::before { content: '›'; position: absolute; left: 0; color: var(--brand-500); font-weight: 700; font-size: 1.15em; line-height: 1.5; }
.faq-group ul li strong { color: var(--text-100); }
.faq-group ul + p { margin-top: var(--sp-2); }
.faq-group__title { font-size: 1.125rem; font-weight: 600; color: var(--brand-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-4); }
.faq-cta-footer__lead { font-size: 1.0625rem; color: var(--text-300); margin-bottom: var(--sp-5); text-align: center; max-width: 50ch; margin-inline: auto; }
.faq-cta-footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* ---- 15. Conversion Banner ------------------------------- */
.conversion-banner {
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(255,107,44,0.06) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-700), var(--bg-800));
  border: 1px solid rgba(255,107,44,0.12);
  border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-7);
  text-align: center; display: flex; flex-direction: column;
  gap: var(--sp-4); align-items: center; margin-block: var(--sp-6);
  position: relative; overflow: hidden;
}
.conversion-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(255,107,44,0.35), transparent);
}
.conversion-banner__title  { font-size: clamp(1.375rem, 3vw, 1.875rem); }
.conversion-banner__text   { color: var(--text-300); max-width: 50ch; }
.conversion-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* ---- 16. Footer ------------------------------------------ */
.footer-legal { position: relative; background: var(--bg-900); padding-block: var(--sp-8) var(--sp-5); border-top: none; }
.footer-legal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-500) 30%, var(--brand-500) 70%, transparent 100%); opacity: 0.3;
}
.footer-legal__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-6);
  margin-bottom: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line-600);
}
.footer-legal__brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-logo {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: var(--sp-2); transition: opacity var(--t-fast);
}
.footer-logo:hover { opacity: 0.8; }
.footer-tagline { font-size: 0.8125rem; color: var(--text-400); max-width: 28ch; line-height: 1.55; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.footer-trust span {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.03em; color: var(--text-400);
  background: rgba(255,255,255,0.025); border: 1px solid var(--line-500);
  border-radius: var(--r-pill); padding: 3px 8px; white-space: nowrap;
}
.footer-legal__col-title {
  position: relative; display: inline-block; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-400);
  margin-bottom: var(--sp-3); padding-bottom: var(--sp-2);
}
.footer-legal__col-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 20px; height: 2px; border-radius: 999px; background: var(--brand-500); opacity: 0.4;
}
.footer-legal__links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.85rem; color: var(--text-400); display: inline-flex; align-items: center; gap: var(--sp-2);
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-link:hover { color: var(--text-100); transform: translateX(3px); }
.footer-link:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 3px; }

/* Footer platform links — using real SVG <img> tags */
.footer-legal__community { display: flex; flex-direction: column; }
.footer-platforms { display: flex; flex-direction: column; gap: 8px; }
.footer-platform {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-400); padding: 6px 10px;
  border-radius: var(--r-xs);
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.footer-platform:hover {
  color: var(--text-100); background: rgba(255,255,255,0.04); transform: translateX(3px);
}
.footer-platform:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: var(--r-xs); }
.footer-platform__icon {
  width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7;
  transition: opacity var(--t-fast);
}
.footer-platform:hover .footer-platform__icon { opacity: 1; }

/* Legacy CSS background icon classes (kept for backward compat) */
.footer-platform-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.96; background: center/contain no-repeat; }
.footer-platform-icon * { display: none; }
.footer-platform-icon--discord { background-image: url('../Asset/platform/discord.svg'); }
.footer-platform-icon--steam { background-image: url('../Asset/platform/steam.svg'); }
.footer-platform-icon--leetify { background-image: url('../Asset/platform/leetify.svg'); }
.footer-platform-icon--faceit { background-image: url('../Asset/platform/faceit.svg'); }

.footer-legal__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); }
.footer-copy { font-size: 0.8rem; color: var(--text-400); display: flex; align-items: center; flex-wrap: wrap; gap: 0.4em; }
.footer-copy a { color: var(--text-300); transition: color var(--t-fast); }
.footer-copy a:hover { color: var(--brand-500); }
.footer-legal-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.8rem; color: var(--text-400); transition: color var(--t-fast); }
.footer-legal-links a:hover { color: var(--text-100); }
.footer-legal-links a:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 3px; }

/* ---- 17. RGPD Consent Banner ----------------------------- */
.consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(12, 18, 32, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-500); box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  padding: var(--sp-5) var(--sp-7); transform: translateY(0); transition: transform 350ms ease;
}
.consent-banner.is-hidden { transform: translateY(110%); pointer-events: none; }
.consent-banner__inner { max-width: 1240px; margin-inline: auto; display: flex; align-items: flex-start; gap: var(--sp-6); flex-wrap: wrap; }
.consent-banner__content { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: var(--sp-2); }
.consent-banner__title { font-size: 1rem; font-weight: 700; }
.consent-banner__text { font-size: 0.875rem; color: var(--text-300); max-width: 80ch; line-height: 1.65; }
.consent-banner__text a { color: var(--brand-500); text-decoration: underline; }
.consent-banner__actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-3); align-self: center; flex-shrink: 0; }
.consent-banner__prefs {
  font-size: 0.875rem; color: var(--text-300); text-decoration: underline; cursor: pointer;
  background: none; border: none; font-family: inherit; transition: color var(--t-fast);
}
.consent-banner__prefs:hover { color: var(--text-100); }
.consent-banner__prefs:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 3px; }

/* ---- 19. Sticky Mobile CTA ------------------------------ */
.cta-sticky-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  padding: var(--sp-3) var(--sp-4); background: rgba(6,10,19,0.95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-500); transform: translateY(120%); transition: transform 300ms ease;
}
.cta-sticky-mobile.is-visible { transform: translateY(0); }
.cta-sticky-mobile .btn { width: 100%; justify-content: center; }

.faq-section__more { text-align: center; margin-top: var(--sp-7); }
.u-margin-top-xs { margin-top: 0.25rem; }
.u-margin-top-sm { margin-top: 0.75rem; }

/* ---- 20. Join Modal -------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,10,19,0.7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: var(--sp-4);
  opacity: 0; pointer-events: none; transition: opacity var(--t-smooth);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-800); border: 1px solid var(--line-500); border-radius: var(--r-lg);
  padding: var(--sp-7); max-width: 520px; width: 100%; position: relative;
  transform: translateY(16px) scale(0.97); transition: transform var(--t-smooth);
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-700);
  color: var(--text-300); font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background: var(--line-500); color: var(--text-100); }
.modal__close:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.modal__title { font-family: var(--font-display); font-size: 1.625rem; margin-bottom: var(--sp-5); padding-right: var(--sp-7); }
.modal__steps { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.modal__step { display: flex; gap: var(--sp-3); }
.modal__step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; font-size: 0.8125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.modal__step-text { font-size: 0.9375rem; color: var(--text-300); line-height: 1.65; padding-top: 4px; }
.modal__step-text strong { color: var(--text-100); }
.modal__divider { border: none; border-top: 1px solid var(--line-500); margin-block: var(--sp-4); }
.modal__fallback { font-size: 0.875rem; color: var(--text-300); text-align: center; }
.modal__fallback a { color: var(--brand-500); text-decoration: underline; }

/* ---- 21. Copy Toast -------------------------------------- */
.copy-toast {
  position: fixed; bottom: var(--sp-6); right: var(--sp-5); z-index: 500;
  background: var(--success-500); color: #fff; font-size: 0.875rem; font-weight: 600;
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-normal), transform var(--t-normal);
  pointer-events: none; box-shadow: 0 4px 16px rgba(34,197,94,0.25);
}
.copy-toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---- 23. Responsive -------------------------------------- */
@media (max-width: 1023px) {
  body { font-size: 1rem; }
  .container { padding-inline: var(--sp-5); }
  .section { padding-block: var(--sp-8); }
  .header-primary__nav, .header-primary__actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-conversion { padding-block: var(--sp-7) var(--sp-5); }
  .hero-conversion__inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .player-count__number { font-size: 2.75rem; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-legal__grid { grid-template-columns: 1fr 1fr; }
  .stats-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-card-full { grid-template-columns: 1fr; }
  .platform-card-full > .btn { align-self: flex-start; }
  .auth-menu__name { display: none; }
  .conversion-banner { padding: var(--sp-6) var(--sp-4); }
  .stats-state-panel, .stats-data-view { padding: var(--sp-5); }
  .stats-summary-row { align-items: flex-start; }
  .stats-empty-hero h2 { max-width: none; }
  .player-profile-hero__inner { align-items: flex-start; }
  .player-profile-hero__actions { width: 100%; }
  .consent-banner { padding: var(--sp-4); }
  .consent-banner__inner { gap: var(--sp-4); }
  .consent-banner__actions { align-self: flex-start; }
  .modal { padding: var(--sp-6) var(--sp-5); }
  .cta-sticky-mobile { display: block; }
  .legal-page { margin-block: var(--sp-7); padding: clamp(24px, 4vw, 34px); }
}

@media (max-width: 767px) {
  .container { padding-inline: var(--sp-4); }
  .platform-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-legal__grid { grid-template-columns: 1fr; }
  .footer-legal__bottom { flex-direction: column; gap: var(--sp-3); }
  .stats-kpi-grid { grid-template-columns: 1fr; }
  .leaderboard-podium { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; gap: var(--sp-4); }
  .podium-card--2, .podium-card--3 { margin-top: 0; }
  .stats-empty-steps { padding: var(--sp-3); }
  .player-profile-hero__avatar, .player-profile-hero__avatar-fallback { width: 56px; height: 56px; }
  .player-profile-hero__actions { flex-direction: column; width: 100%; }
  .player-profile-hero__actions .btn { width: 100%; justify-content: center; }
  .consent-banner__actions { flex-direction: column; width: 100%; }
  .consent-banner__actions .btn { width: 100%; justify-content: center; }
  .faq-group { padding: var(--sp-5) var(--sp-4); margin-bottom: var(--sp-6); }
  .faq-group::before { top: var(--sp-4); height: 56px; }
  .legal-page { margin-block: var(--sp-6); border-radius: var(--r-md); padding: 20px 16px; }
  .legal-page h1 { font-size: clamp(1.7rem, 9vw, 2.2rem); margin-bottom: var(--sp-3); }
  .legal-page h2 { margin-top: var(--sp-6); padding-top: var(--sp-3); }
  .legal-page p, .legal-page li { font-size: 0.94rem; }
}

/* ---- 24. Animations -------------------------------------- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scaleIn { to { opacity: 1; transform: scale(1); } }
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

/* Hero auto-play animations */
.animate-fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-fade-up--d1 { animation-delay: 80ms; }
.animate-fade-up--d2 { animation-delay: 160ms; }
.animate-fade-up--d3 { animation-delay: 240ms; }
.animate-fade-up--d4 { animation-delay: 320ms; }

/* Scroll-reveal classes: applied by IntersectionObserver in main.js */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-30px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(30px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.95); }
.reveal--scale.is-visible { transform: scale(1); }

/* Staggered reveal delays for children */
.reveal--d1 { transition-delay: 50ms; }
.reveal--d2 { transition-delay: 100ms; }
.reveal--d3 { transition-delay: 150ms; }
.reveal--d4 { transition-delay: 200ms; }
.reveal--d5 { transition-delay: 250ms; }
.reveal--d6 { transition-delay: 300ms; }

/* ---- 25. Reduced Motion ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
