/* ============================================================
   style.css — MVP Coin World Cup 2026 · Shared Styles
   ============================================================ */

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050b18;
  color: #e0e7f0;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── VARIABLES ───────────────────────────────────────────── */
:root {
  --gold:        #ffd700;
  --gold-dim:    #c9a227;
  --gold-glow:   rgba(255, 215, 0, 0.25);
  --green:       #00d4aa;
  --red:         #ff4757;
  --bg:          #050b18;
  --bg2:         #0a1628;
  --bg3:         #0f1e35;
  --card:        rgba(255,255,255,0.04);
  --card-border: rgba(255,215,0,0.12);
  --text:        #e0e7f0;
  --muted:       #6b7894;
  --border:      rgba(255,255,255,0.07);
  --radius:      12px;
  --ease:        0.2s ease;
  --header-h:    118px; /* ticker(40) + nav(78) */
}

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar            { width: 5px; height: 5px; }
::-webkit-scrollbar-track      { background: var(--bg); }
::-webkit-scrollbar-thumb      { background: var(--bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--muted); }

/* ─── TICKER BAR ──────────────────────────────────────────── */
.ticker-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 40px;
  background: rgba(5,11,24,0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: #050b18;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 1;
}
.ticker-label::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #050b18;
  animation: liveDot 1.2s ease-in-out infinite;
}
@keyframes liveDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 90s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  height: 40px;
}
.ticker-symbol { color: var(--gold); font-weight: 600; }
.ticker-price  { color: var(--text); }
.ticker-change.up   { color: var(--green); }
.ticker-change.down { color: var(--red); }
.ticker-change.flat { color: var(--muted); }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── HEADER / NAV ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 100;
  height: 78px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,11,24,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.logo-sub {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: #050b18 !important;
  font-weight: 700 !important;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.8rem !important;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-cta:hover { background: #ffec5c !important; transform: translateY(-1px); }

/* ─── PAGE OFFSET ─────────────────────────────────────────── */
.page-content { margin-top: var(--header-h); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,215,0,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(0,212,170,0.06) 0%, transparent 70%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
  opacity: 0.5;
}
.hero-eyebrow::after {
  background: linear-gradient(270deg, transparent, var(--gold-dim));
}
.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
  position: relative;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 52px;
  position: relative;
}

/* ─── COUNTDOWN ───────────────────────────────────────────── */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-value {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 1;
  color: var(--gold);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 22px;
  min-width: 110px;
  text-align: center;
  letter-spacing: 0.02em;
}
.cd-secs .cd-value {
  animation: cdPulse 1s ease-in-out infinite alternate;
}
@keyframes cdPulse {
  from { box-shadow: 0 0 8px var(--gold-glow); }
  to   { box-shadow: 0 0 32px var(--gold-glow), 0 0 60px rgba(255,215,0,0.08); }
}
.cd-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.cd-sep {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--gold-dim);
  opacity: 0.35;
  align-self: flex-start;
  padding-top: 14px;
  line-height: 1;
}
.hero-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-date {
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-date strong { color: var(--text); }
.hero-tz {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  line-height: 1.05;
}
.section-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ─── MATCH CARDS ─────────────────────────────────────────── */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.match-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.match-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.match-card.opening {
  border-color: rgba(255,215,0,0.35);
  background: rgba(255,215,0,0.04);
}
.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.match-badge.opening { background: var(--gold); color: #050b18; }
.match-badge.group   { background: var(--bg3); color: var(--muted); border: 1px solid var(--border); }
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  text-align: center;
}
.match-flag { font-size: 2.2rem; line-height: 1; }
.match-name { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.match-vs {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: var(--muted);
  flex-shrink: 0;
}
.match-info {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.match-datetime { font-size: 0.79rem; color: var(--text); font-weight: 500; }
.match-venue    { font-size: 0.7rem; color: var(--muted); }
.tz-notice {
  text-align: center;
  margin-top: 20px;
  font-size: 0.73rem;
  color: var(--muted);
}
.tz-notice a { color: var(--gold); text-decoration: none; }
.tz-notice a:hover { text-decoration: underline; }

/* ─── KNOCKOUT STAGES ─────────────────────────────────────── */
.knockout-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.stage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color var(--ease), transform var(--ease);
}
.stage-card:hover { border-color: var(--card-border); transform: translateX(4px); }
.stage-card.final {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.04);
}
.stage-icon { font-size: 1.7rem; flex-shrink: 0; }
.stage-info { flex: 1; }
.stage-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1;
}
.stage-card.final .stage-name { color: var(--gold); font-size: 1.6rem; }
.stage-dates  { font-size: 0.77rem; color: var(--muted); margin-top: 3px; }
.stage-venue  { font-size: 0.7rem;  color: var(--gold-dim); margin-top: 2px; }
.stage-meta   { text-align: right; flex-shrink: 0; }
.stage-count  {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}
.stage-count-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── STADIUM SOUNDS ──────────────────────────────────────── */
.sounds-player {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sounds-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.sounds-tabs::-webkit-scrollbar { display: none; }
.sounds-tab {
  padding: 13px 18px;
  cursor: pointer;
  font-size: 0.77rem;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  flex-shrink: 0;
  user-select: none;
}
.sounds-tab:hover  { color: var(--text); }
.sounds-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.sounds-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  min-height: 200px;
}
.sounds-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sounds-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  color: var(--muted);
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.sounds-ph-icon  { font-size: 3rem; opacity: 0.2; }
.sounds-ph-text  { font-size: 0.82rem; }
.sounds-ph-hint  { font-size: 0.68rem; opacity: 0.6; }

/* ─── GAMES CTA CARD ──────────────────────────────────────── */
.games-cta {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,215,0,0.07), rgba(0,212,170,0.04));
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: var(--radius);
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.games-cta::before {
  content: '🎮';
  position: absolute;
  font-size: 220px;
  right: -50px; bottom: -50px;
  opacity: 0.03;
  pointer-events: none;
  line-height: 1;
}
.games-cta-icon  { font-size: 3rem; margin-bottom: 14px; }
.games-cta-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.games-cta-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
  line-height: 1.55;
}
.games-cta-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.game-badge {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--ease);
  font-family: inherit;
}
.btn-gold {
  background: var(--gold);
  color: #050b18;
}
.btn-gold:hover {
  background: #ffec5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green  { background: var(--green); color: #050b18; }
.btn-red    { background: var(--red);   color: #fff; }
.btn-green:hover, .btn-red:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: #1a1a2e;
  border: 1px solid #333;
  color: var(--text);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease);
  font-family: inherit;
}
.share-btn:hover { background: #1da1f2; border-color: #1da1f2; transform: translateY(-1px); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}
.footer-desc {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 10px;
  max-width: 320px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.77rem;
  transition: all var(--ease);
  white-space: nowrap;
}
.footer-link:hover { border-color: var(--card-border); color: var(--text); }
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.65;
  opacity: 0.8;
}

/* ─── GAMES PAGE ──────────────────────────────────────────── */
.games-page-header {
  padding: 48px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.games-tabs {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 32px auto 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.game-tab {
  flex: 1;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  transition: all var(--ease);
  border: none;
  background: transparent;
  font-family: inherit;
}
.game-tab.active { background: var(--gold); color: #050b18; }
.game-section { display: none; padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.game-section.active { display: block; }

/* ─── GOLDEN BALL ─────────────────────────────────────────── */
.gb-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.demo-notice {
  background: rgba(255,215,0,0.06);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.demo-notice strong { color: var(--gold); }
.gb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.player-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
  position: relative;
  user-select: none;
}
.player-card:hover { border-color: var(--card-border); transform: translateY(-2px); }
.player-card.voted {
  border-color: var(--gold);
  background: rgba(255,215,0,0.07);
  box-shadow: 0 0 16px rgba(255,215,0,0.12);
}
.player-flag { font-size: 1.8rem; line-height: 1; margin-bottom: 5px; }
.player-name { font-size: 0.72rem; font-weight: 600; color: var(--text); line-height: 1.25; margin-bottom: 2px; }
.player-ticker { font-size: 0.62rem; color: var(--gold); letter-spacing: 0.04em; }
.player-pos { font-size: 0.58rem; color: var(--muted); margin-top: 2px; }
.player-card.locked {
  opacity: 0.35;
  cursor: not-allowed;
}
.voted-check {
  position: absolute;
  top: 5px; right: 5px;
  background: var(--gold);
  color: #050b18;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  letter-spacing: 0.05em;
}
.lb-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.lb-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 16px;
}
.lb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.lb-rank { font-family: 'Bebas Neue', cursive; font-size: 1.3rem; color: var(--muted); min-width: 24px; text-align: center; }
.lb-rank.gold   { color: var(--gold); }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }
.lb-info { flex: 1; min-width: 0; }
.lb-name { font-size: 0.75rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-bar-wrap { height: 5px; background: var(--bg3); border-radius: 3px; margin-top: 4px; }
.lb-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dim)); border-radius: 3px; transition: width 0.5s ease; }
.lb-pct { font-size: 0.7rem; color: var(--muted); min-width: 36px; text-align: right; flex-shrink: 0; }
.gb-share { margin-top: 20px; }

/* ─── HIGHER OR LOWER ─────────────────────────────────────── */
.hol-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.hol-scorebar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 36px;
}
.score-stat { text-align: center; }
.score-val  { font-family: 'Bebas Neue', cursive; font-size: 2.8rem; color: var(--gold); line-height: 1; }
.score-lbl  { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }
.hol-cards {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hol-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  width: 240px;
  text-align: center;
  transition: border-color var(--ease);
}
.hol-card.revealed-correct { border-color: var(--green); background: rgba(0,212,170,0.05); }
.hol-card.revealed-wrong   { border-color: var(--red);   background: rgba(255,71,87,0.05); }
.hol-flag { font-size: 2.8rem; line-height: 1; margin-bottom: 10px; }
.hol-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.hol-ticker { font-size: 0.72rem; color: var(--gold); margin-bottom: 12px; }
.hol-mc {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.hol-mc.hidden { color: var(--muted); letter-spacing: 0.3em; }
.hol-vs { font-family: 'Bebas Neue', cursive; font-size: 2.2rem; color: var(--muted); flex-shrink: 0; }
.hol-buttons { display: flex; gap: 14px; justify-content: center; margin-bottom: 16px; }
.hol-result { font-size: 0.9rem; min-height: 22px; font-weight: 600; }
.hol-result.correct { color: var(--green); }
.hol-result.wrong   { color: var(--red); }
.coming-soon {
  padding: 80px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 16px; }
.coming-soon h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 8px;
}
.coming-soon p { color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.35s ease forwards; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .gb-layout { grid-template-columns: 1fr; }
  .lb-panel  { position: static; }
}
@media (max-width: 640px) {
  :root { --header-h: 118px; }
  .site-header { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .countdown { gap: 6px; }
  .cd-value  { min-width: 72px; padding: 10px 14px; font-size: clamp(2.8rem, 14vw, 5rem); }
  .cd-sep    { font-size: 2.2rem; padding-top: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .matches-grid { grid-template-columns: 1fr; }
  .stage-card { flex-wrap: wrap; gap: 10px; }
  .hol-cards { flex-direction: column; }
  .hol-card  { width: 100%; max-width: 320px; }
  .hol-vs    { transform: rotate(90deg); }
  .section   { padding: 60px 16px; }
  .games-cta { padding: 36px 24px; }
  .gb-grid   { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ============================================================
   NEW HOMEPAGE LAYOUT — Squad Board, Hub, Compact Countdown
   ============================================================ */

/* ─── HERO ────────────────────────────────────────────────── */
.hero-compact {
  padding: 60px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-compact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,215,0,0.07) 0%, transparent 65%);
}
.hero-compact h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: 0.02em;
}
.hero-compact h1 span { color: var(--gold); }
.hero-compact p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.65;
  position: relative;
}
.hero-compact-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.hero-compact-actions .btn {
  border-radius: 40px;
  padding: 11px 28px;
}

/* ─── COUNTDOWN CARD ──────────────────────────────────────── */
.cdc-wrap {
  padding: 0 24px 24px;
}
.cdc-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 40px;
  text-align: center;
}
.cdc-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.cdc-match {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 28px;
}
.cdc-units {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cdc-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cdc-num {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  min-width: 88px;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.04em;
}
.cdc-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── HUB TOKEN CARD ──────────────────────────────────────── */
.hub-wrap {
  padding: 20px 24px 0;
}
.hub-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 240px;
}
.hub-card-left {
  padding: 32px 32px;
}
.hub-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.hub-ticker {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.hub-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 420px;
}
.hub-desc strong { color: var(--text); }
.hub-contract-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hub-address {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--ease);
  margin-bottom: 14px;
  word-break: break-all;
  display: block;
}
.hub-address:hover { border-color: var(--card-border); }
.hub-address.placeholder { opacity: 0.45; cursor: default; pointer-events: none; }
.hub-trade-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #050b18;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
  font-family: inherit;
}
.hub-trade-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.hub-trade-btn.disabled { opacity: 0.35; pointer-events: none; }

.hub-card-right {
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hub-stat-row {
  flex: 1;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.hub-stat-row:last-child { border-bottom: none; }
.hub-stat-name {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hub-stat-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hub-stat-val.up   { color: var(--green); }
.hub-stat-val.down { color: var(--red); }

/* responsive hub card */
@media (max-width: 640px) {
  .hub-card { grid-template-columns: 1fr; }
  .hub-card-right { border-left: none; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .hub-stat-row { border-bottom: none; border-right: 1px solid var(--border); padding: 16px 12px; }
  .hub-stat-row:nth-child(even) { border-right: none; }
  .hub-card-left { padding: 24px 20px; }
  .cdc-card { padding: 24px 20px; }
  .cdc-num { min-width: 68px; padding: 10px 14px; }
}

/* ─── SQUAD BOARD ─────────────────────────────────────────── */
.squad-section {
  background: var(--bg);
  padding: 60px 24px 80px;
}
.squad-section-header {
  max-width: 1400px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.squad-section-header .section-tag { margin-bottom: 4px; }
.squad-section-header .section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: left; }
.squad-last-update {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
}
.squad-sort-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}
.squad-board {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

/* Squad Card */
.squad-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.squad-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.squad-card.live { border-color: rgba(255,215,0,0.14); }
.squad-card[data-rank="1"] { border-color: rgba(255,215,0,0.4); background: rgba(255,215,0,0.03); }
.squad-card[data-rank="2"] { border-color: rgba(192,192,192,0.25); }
.squad-card[data-rank="3"] { border-color: rgba(205,127,50,0.25); }

.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}
.sc-rank {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1;
}
.squad-card[data-rank="1"] .sc-rank { color: var(--gold); }
.squad-card[data-rank="2"] .sc-rank { color: #c0c0c0; }
.squad-card[data-rank="3"] .sc-rank { color: #cd7f32; }

.sc-change {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  line-height: 1.4;
}
.sc-change.up   { background: rgba(0,212,170,0.13); color: var(--green); }
.sc-change.down { background: rgba(255,71,87,0.13);  color: var(--red); }
.sc-change.flat { color: var(--muted); }

.sc-flag { font-size: 2.5rem; line-height: 1; margin-bottom: 8px; }
.sc-name { font-size: 0.77rem; font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 3px; }
.sc-ticker { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.04em; margin-bottom: 12px; }

.sc-divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 10px; }

.sc-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.sc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  width: 100%;
  margin-bottom: 12px;
}
.sc-stat-label { font-size: 0.54rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sc-stat-val   { font-size: 0.68rem; color: var(--text); font-weight: 600; margin-top: 1px; }

.sc-trade {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--ease);
  margin-top: auto;
  cursor: pointer;
}
.sc-trade:hover { background: var(--gold); color: #050b18; border-color: var(--gold); }
.sc-trade.soon  { color: var(--muted); background: transparent; border-color: var(--border); pointer-events: none; font-size: 0.65rem; }

/* Squad Board Loading shimmer */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.squad-card.loading .sc-price,
.squad-card.loading .sc-stat-val {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite linear;
  color: transparent;
  border-radius: 4px;
}

/* ─── COMPACT SOUNDS ──────────────────────────────────────── */
.sounds-compact {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.sounds-compact .sounds-player { max-width: 760px; }

/* ─── NAV LINK FOR SCHEDULE ──────────────────────────────── */
.nav-schedule { font-size: 0.78rem !important; }

/* ─── SCHEDULE PAGE (games.html) ──────────────────────────── */
.schedule-section { padding: 0 24px 60px; max-width: 1200px; margin: 0 auto; }

/* ─── RESPONSIVE (squad) ──────────────────────────────────── */
@media (max-width: 640px) {
  .squad-board { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px; }
  .sc-flag { font-size: 2rem; }
  .squad-section { padding: 40px 16px 60px; }
  .hub-inner { flex-direction: column; align-items: flex-start; }
  .hub-actions { align-items: flex-start; }
  .hub-stats { gap: 18px; }
  .countdown-bar { gap: 8px; }
  .hero-compact { padding: 40px 16px 32px; }
}
@media (max-width: 400px) {
  .squad-board { grid-template-columns: repeat(2, 1fr); }
}
