/* ═══════════════════════════════════════════════════════════
   DreamFO League — Main CSS
   Modern 2026 Dark Esports UI
═══════════════════════════════════════════════════════════ */

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

:root {
  --bg-deep:      #050610;
  --bg-dark:      #0a0d1e;
  --bg-card:      #0f1329;
  --bg-glass:     rgba(15, 19, 41, 0.7);
  --gold:         #f0b429;
  --gold-light:   #ffd166;
  --gold-dark:    #c48c00;
  --purple:       #7c3aed;
  --purple-light: #a78bfa;
  --purple-dark:  #5b21b6;
  --teal:         #06b6d4;
  --green:        #10b981;
  --red:          #ef4444;
  --text-primary: #f1f5f9;
  --text-sec:     #94a3b8;
  --text-muted:   #64748b;
  --border:       rgba(255,255,255,0.08);
  --border-gold:  rgba(240,180,41,0.3);
  --glow-gold:    0 0 20px rgba(240,180,41,0.4), 0 0 60px rgba(240,180,41,0.15);
  --glow-purple:  0 0 20px rgba(124,58,237,0.4), 0 0 60px rgba(124,58,237,0.15);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    24px;
  --radius-xl:    36px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:    'Inter', system-ui, sans-serif;
  --font-head:    'Orbitron', 'Inter', sans-serif;
  --font-alt:     'Rajdhani', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h4, h5 { font-family: var(--font-alt); font-weight: 600; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #f1f5f9 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { color: var(--text-sec); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,180,41,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 4px 16px;
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #0a0d1e;
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(240,180,41,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(240,180,41,0.15);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 36px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; padding: 15px; font-size: 1.1rem; }

/* ── CONTAINER ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* ══════════════════════════════════════════════════════ NAV ═ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: 72px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(5,6,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.6rem;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(240,180,41,0.6));
  animation: orbPulse 3s ease-in-out infinite;
}
.logo-text em { color: var(--gold); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-sec);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 10px; flex-shrink: 0; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ══════════════════════════════════════════════════ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(5,6,16,0.6) 60%, var(--bg-deep) 100%),
              linear-gradient(to bottom, rgba(5,6,16,0.2) 0%, var(--bg-deep) 100%);
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,180,41,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-family: var(--font-alt);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease infinite;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-line-1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -2px;
}
.hero-line-1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: var(--glow-gold);
}
.hero-line-2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-top: -0.2em;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-sec);
  margin-bottom: 1rem;
  font-family: var(--font-alt);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hero-subtitle strong { color: var(--gold-light); }
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(240,180,41,0.1);
}
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-alt);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s ease infinite;
}

/* ══════════════════════════════════════════════ TICKER ═══ */
.ticker-bar {
  background: linear-gradient(90deg, rgba(124,58,237,0.15), rgba(240,180,41,0.15));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-alt);
  font-size: 0.88rem;
  color: var(--text-sec);
}
.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.ticker-dot.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.ticker-dot.purple { background: var(--purple-light); box-shadow: 0 0 6px var(--purple-light); }

/* ══════════════════════════════════════════════ ABOUT ═══ */
.about-section { background: linear-gradient(180deg, var(--bg-deep), var(--bg-dark)); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.about-card:hover::before { opacity: 1; }
.about-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(240,180,41,0.06);
}
.about-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}
.about-card h3 {
  font-family: var(--font-alt);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.about-card p { color: var(--text-sec); font-size: 0.95rem; line-height: 1.7; }

/* ════════════════════════════════════════ HOW IT WORKS ═══ */
.hiw-section { background: var(--bg-dark); }
.hiw-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.hiw-step {
  display: flex;
  gap: 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.hiw-step:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 8px 32px rgba(124,58,237,0.1);
}
.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(124,58,237,0.25);
  line-height: 1;
  flex-shrink: 0;
  transition: var(--transition);
}
.hiw-step:hover .step-num { color: var(--purple-light); }
.step-content h3 {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.step-content p { color: var(--text-sec); font-size: 0.92rem; line-height: 1.7; }

/* ══════════════════════════════════════════════ GAMES ═══ */
.games-section { background: var(--bg-deep); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-gold);
}
.game-card-bg {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.fc-bg { background: linear-gradient(135deg, #0f4c25, #1a8c42, #0f4c25); }
.cs-bg { background: linear-gradient(135deg, #1a1225, #3d1a5e, #1a1225); }
.pubg-bg { background: linear-gradient(135deg, #2d1a07, #8c4a12, #2d1a07); }
.special-bg { background: linear-gradient(135deg, #071a2d, #1260a0, #071a2d); }
.game-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-alt);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.game-badge.special { background: var(--teal); color: var(--bg-deep); }
.game-icon {
  font-size: 2rem;
  position: absolute;
  top: 80px; left: 1.5rem;
  background: var(--bg-card);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}
.game-card h3 {
  font-family: var(--font-alt);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 3.5rem 1.5rem 0.5rem;
}
.game-card p { color: var(--text-sec); font-size: 0.9rem; padding: 0 1.5rem; margin-bottom: 1rem; line-height: 1.6; }
.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 1.5rem;
  margin-bottom: 1.2rem;
}
.game-meta span {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px 10px;
  color: var(--text-sec);
  font-family: var(--font-alt);
}
.game-card .btn { margin: 0 1.5rem 1.5rem; }

/* ══════════════════════════════════════ LEADERBOARD ═══ */
.lb-section {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
}
.lb-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.lb-filter {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-sec);
  cursor: pointer;
  transition: var(--transition);
}
.lb-filter.active, .lb-filter:hover {
  background: rgba(240,180,41,0.1);
  border-color: var(--border-gold);
  color: var(--gold);
}
.lb-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.lb-table thead tr {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.lb-table th {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 16px;
  text-align: left;
}
.lb-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-sec);
  vertical-align: middle;
}
.lb-table tbody tr { transition: background var(--transition); }
.lb-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.lb-table tbody tr:last-child td { border-bottom: none; }
.lb-rank-1 td:first-child { color: var(--gold); font-weight: 900; font-size: 1.1rem; }
.lb-rank-2 td:first-child { color: #c0c0c0; font-weight: 700; }
.lb-rank-3 td:first-child { color: #cd7f32; font-weight: 700; }
.player-cell { display: flex; align-items: center; gap: 10px; }
.player-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-family: var(--font-head);
}
.player-name { font-weight: 600; color: var(--text-primary); font-family: var(--font-alt); }
.orb-count {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
}
.orb-count::before { content: '⬡ '; font-size: 0.8em; }
.status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-alt);
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 50px;
}
.status-live { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.status-active { background: rgba(240,180,41,0.1); color: var(--gold); border: 1px solid var(--border-gold); }
.status-idle { background: rgba(100,116,139,0.15); color: var(--text-muted); border: 1px solid rgba(100,116,139,0.2); }

.lb-progress-title {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.progress-label { font-family: var(--font-alt); font-weight: 600; min-width: 140px; font-size: 0.88rem; }
.progress-bar-wrap {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}
.progress-value { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--gold); min-width: 70px; text-align: right; }

/* ═══════════════════════════════════════════ REWARDS ═══ */
.rewards-section { background: var(--bg-dark); }
.rewards-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.orb-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.orb-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  animation: orbFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(240,180,41,0.5)) drop-shadow(0 0 80px rgba(124,58,237,0.3));
  border-radius: 50%;
}
.orb-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(240,180,41,0.12), transparent 70%);
  animation: orbFloat 4s ease-in-out infinite reverse;
}
.orb-stats-ring {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.orb-stat {
  text-align: center;
  background: rgba(240,180,41,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.orb-stat .num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}
.orb-stat .lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-alt);
}
.reward-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  margin-bottom: 0.5rem;
}
.reward-item:hover {
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
}
.ri-icon { font-size: 1.8rem; flex-shrink: 0; }
.ri-text h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.ri-text p { color: var(--text-sec); font-size: 0.9rem; line-height: 1.6; }

/* ══════════════════════════════════════ MARKETPLACE ═══ */
.market-section { background: var(--bg-deep); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.market-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.market-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.market-thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
}
.mi-1 { background: linear-gradient(135deg, #1a0a2e, #4a1575, #8b5cf6); }
.mi-2 { background: linear-gradient(135deg, #0a1628, #1e40af, #3b82f6); }
.mi-3 { background: linear-gradient(135deg, #1a0800, #7c2d12, #f97316); }
.mi-4 { background: linear-gradient(135deg, #0a1a0a, #14532d, #22c55e); }
.market-info { padding: 1.2rem; }
.market-badge {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  margin-bottom: 0.7rem;
}
.market-badge.merch { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.3); color: var(--teal); }
.market-badge.theme { background: rgba(240,180,41,0.1); border-color: var(--border-gold); color: var(--gold); }
.market-info h4 { font-family: var(--font-alt); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.market-info p { color: var(--text-sec); font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.5; }
.market-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.orb-icon { color: var(--gold); }
.market-cta { text-align: center; }

/* ══════════════════════════════════════ COMMUNITY ═══ */
.community-section { background: var(--bg-dark); }
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 5rem;
}
.community-type {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: var(--transition);
}
.community-type:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.04);
  transform: translateY(-3px);
}
.comm-icon { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }
.community-type h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.community-type p { color: var(--text-sec); font-size: 0.87rem; line-height: 1.6; }

/* ══════════════════════════════════════ SURVEY ═══ */
.survey-section { border-top: 1px solid var(--border); padding-top: 4rem; }
.survey-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.survey-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.survey-respondent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.respondent-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.respondent-info .name { font-family: var(--font-alt); font-weight: 700; font-size: 0.95rem; }
.respondent-info .meta { font-size: 0.78rem; color: var(--text-muted); }
.survey-q { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.survey-a { font-size: 0.9rem; color: var(--text-sec); margin-bottom: 0.8rem; line-height: 1.5; }
.survey-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 0.8rem; }
.survey-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(240,180,41,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: var(--font-alt);
}

/* Revenue Nodes */
.revenue-nodes h3 {
  font-family: var(--font-alt);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}
.rev-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.rev-node:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,180,41,0.08);
}
.rev-pct {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.rev-label { font-family: var(--font-alt); font-size: 0.88rem; font-weight: 600; color: var(--text-sec); }
.rev-label small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ══════════════════════════════════════ REGISTER ═══ */
.register-section {
  background: linear-gradient(135deg, var(--bg-deep), rgba(124,58,237,0.06), var(--bg-deep));
  border-top: 1px solid var(--border);
}
.reg-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.reg-info .section-title { text-align: left; }
.reg-info .section-tag { margin-bottom: 1rem; }
.reg-checklist {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.reg-checklist li {
  font-family: var(--font-alt);
  font-size: 0.95rem;
  color: var(--text-sec);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.reg-season-card {
  background: rgba(240,180,41,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.reg-season-card h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gold);
}
.season-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.season-meta span {
  font-size: 0.88rem;
  color: var(--text-sec);
  font-family: var(--font-alt);
}
.reg-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.reg-form h3 {
  font-family: var(--font-alt);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-alt);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.form-group textarea { resize: vertical; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); }
.checkbox-group label { font-size: 0.85rem; color: var(--text-sec); text-transform: none; letter-spacing: 0; }
.checkbox-group label a { color: var(--gold); text-decoration: underline; }
.form-success {
  margin-top: 1rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--green);
  font-family: var(--font-alt);
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════ SPONSORS ═══ */
.sponsors-section { background: var(--bg-dark); text-align: center; }
.sponsor-tiers { margin-bottom: 2rem; }
.sponsor-tier { margin-bottom: 2rem; }
.tier-label {
  font-family: var(--font-alt);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.tier-label.platinum { color: #e5e7eb; }
.tier-label.gold { color: var(--gold); }
.sponsor-logo-row { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.sponsor-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 40px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 180px;
}
.sponsor-logo:hover { border-color: var(--border-gold); color: var(--gold); }
.sponsor-logo.sm { font-size: 0.88rem; padding: 14px 28px; min-width: 140px; }
.sponsor-cta { margin-top: 1.5rem; }
.sponsor-cta p { color: var(--text-muted); margin-bottom: 1rem; font-family: var(--font-alt); }

/* ══════════════════════════════════════════ FOOTER ═══ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.social-link:hover { border-color: var(--border-gold); color: var(--gold); }
.footer-col h5 {
  font-family: var(--font-alt);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-sec);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.footer-bottom a { color: var(--text-muted); text-decoration: underline; }
.footer-disclaimer { font-size: 0.73rem; max-width: 700px; margin: 0 auto; opacity: 0.6; }

/* ══════════════════════════════════════ ORB WIDGET ═══ */
.orb-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(5,6,16,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 900;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(240,180,41,0.2);
}
.orb-widget:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }
.orb-widget-icon { font-size: 1.4rem; color: var(--gold); animation: orbPulse 2s ease-in-out infinite; }
.orb-widget-count { font-family: var(--font-head); font-size: 1.2rem; font-weight: 900; color: var(--gold); }
.orb-widget-label { font-size: 0.65rem; color: var(--text-muted); font-family: var(--font-alt); text-transform: uppercase; letter-spacing: 1px; }

/* ══════════════════════════════════════ ANIMATIONS ═══ */
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}
@keyframes orbPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(240,180,41,0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(240,180,41,0.8)); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .rewards-layout { grid-template-columns: 1fr; }
  .reg-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(5,6,16,0.98); backdrop-filter: blur(20px); padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 8px; z-index: 998; }
  .nav-links.open + .nav-actions { display: flex; position: fixed; top: calc(72px + 250px); left: 0; right: 0; background: rgba(5,6,16,0.98); padding: 1rem 1.5rem; gap: 10px; z-index: 998; }
  .nav-hamburger { display: flex; }
  .hero-line-1 { font-size: clamp(3rem, 14vw, 6rem); }
  .hero-line-2 { font-size: clamp(1.5rem, 7vw, 3rem); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .orb-widget { bottom: 12px; right: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .revenue-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .community-grid { grid-template-columns: 1fr; }
  .revenue-grid { grid-template-columns: 1fr 1fr; }
}
