:root {
  --bg: #0d0f14;
  --bg-2: #161b22;
  --panel: rgba(27, 33, 41, 0.88);
  --panel-2: rgba(20, 24, 31, 0.94);
  --line: rgba(255,255,255,0.08);
  --text: #f5f7fa;
  --muted: #a8b3c2;
  --sand: #e6b85c;
  --orange: #f08a3e;
  --coral: #ff6b57;
  --cyan: #32d7ff;
  --lime: #a8f56d;
  --blue: #5ba7ff;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(240,138,62,0.16), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(50,215,255,0.15), transparent 18%),
    linear-gradient(180deg, #0b0d11 0%, #12161d 45%, #0a0c11 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 2; }
.section { padding: 72px 0; }

.bg-shell,
.noise,
.topo {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg-shell {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.02) 0%, transparent 28%),
    linear-gradient(-25deg, rgba(255,255,255,0.025) 0%, transparent 24%);
}
.noise {
  opacity: 0.06;
  background-image:
    radial-gradient(rgba(255,255,255,0.6) 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}
.topo {
  opacity: 0.12;
  background-image:
    radial-gradient(circle at center, transparent 0 34%, rgba(255,255,255,0.12) 34.2%, transparent 34.6%),
    radial-gradient(circle at center, transparent 0 45%, rgba(255,255,255,0.08) 45.2%, transparent 45.6%),
    radial-gradient(circle at center, transparent 0 57%, rgba(255,255,255,0.06) 57.2%, transparent 57.6%);
  transform: translateY(-8%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(9, 11, 15, 0.62);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 10px 30px rgba(240,138,62,0.35);
}
.brand-copy { display: flex; flex-direction: column; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

.btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 16px 30px rgba(255,107,87,0.24);
}
.btn-dark,
.btn-outline {
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}
.inline-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  color: #ffd39e;
}
.inline-link:hover { color: #fff; }

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
  padding: 56px 0 40px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sand);
  margin-bottom: 14px;
}
.hero h1,
.section-head h2,
.daily-panel h2,
.progress-panel h2,
.build-card h2,
.section-minihead h1,
.section-minihead h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.hero p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
  margin-top: 18px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.strip-card {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.strip-card span,
.tiny {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.strip-card strong { display: block; margin-top: 8px; font-size: 22px; }
.hot { box-shadow: inset 0 0 0 1px rgba(255,107,87,0.18), var(--shadow); }
.cyan { box-shadow: inset 0 0 0 1px rgba(50,215,255,0.18), var(--shadow); }
.lime { box-shadow: inset 0 0 0 1px rgba(168,245,109,0.18), var(--shadow); }

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-board,
.floating-card,
.mode-panel,
.daily-panel,
.progress-panel,
.leader-card,
.why-card,
.build-card,
.game-shell,
.shape-board,
.answer-panel,
.mini-panel,
.hud-card,
.feedback-card,
.next-card {
  background: linear-gradient(180deg, rgba(33, 40, 50, 0.88), rgba(19, 23, 30, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.main-board {
  width: min(520px, 100%);
  min-height: 540px;
  border-radius: 34px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.main-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(240,138,62,0.12), transparent 32%),
    linear-gradient(-135deg, rgba(50,215,255,0.10), transparent 28%);
  pointer-events: none;
}
.board-top,
.board-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.board-bottom { margin-top: 22px; }
.tag,
.pill,
.section-chip,
.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.fire,
.pill-hot,
.hot-chip {
  background: rgba(255,107,87,0.12);
  color: #ffc2b6;
  border: 1px solid rgba(255,107,87,0.22);
}
.pill-cyan,
.section-chip,
.cyan-chip {
  background: rgba(50,215,255,0.10);
  color: #baf3ff;
  border: 1px solid rgba(50,215,255,0.18);
}
.lime-chip {
  background: rgba(168,245,109,0.10);
  color: #dafabf;
  border: 1px solid rgba(168,245,109,0.18);
}

.globe-wrap {
  position: relative;
  z-index: 1;
  height: 390px;
  display: grid;
  place-items: center;
}
.globe {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.22), transparent 14%),
    linear-gradient(135deg, #25364a 0%, #172534 45%, #0f161f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 60px rgba(50,215,255,0.06),
    0 0 0 14px rgba(255,255,255,0.02);
  animation: float 7s ease-in-out infinite;
}
.globe::before,
.globe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.globe::before {
  inset: 0;
  background:
    radial-gradient(circle at 65% 36%, rgba(230,184,92,0.72), transparent 10%),
    radial-gradient(circle at 40% 62%, rgba(255,107,87,0.48), transparent 12%),
    radial-gradient(circle at 25% 43%, rgba(50,215,255,0.55), transparent 11%),
    radial-gradient(circle at 72% 68%, rgba(168,245,109,0.48), transparent 10%);
  opacity: 0.8;
  filter: blur(2px);
}
.globe::after {
  inset: 12%;
  border: 1px solid rgba(255,255,255,0.16);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
}
.glow-orange {
  width: 220px;
  height: 220px;
  background: rgba(240,138,62,0.32);
  left: 18%; top: 28%;
}
.glow-cyan {
  width: 180px;
  height: 180px;
  background: rgba(50,215,255,0.24);
  right: 20%; top: 18%;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.orbit-a { width: 350px; height: 350px; }
.orbit-b { width: 420px; height: 420px; }
.mini-stat {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
}
.mini-stat strong { display: block; margin-top: 6px; font-size: 22px; }

.floating-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  border-radius: 24px;
}
.floating-card strong {
  display: block;
  margin: 6px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  line-height: 1;
}
.floating-card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.card-left { left: -10px; bottom: 40px; transform: rotate(-4deg); }
.card-right { right: -10px; top: 66px; transform: rotate(4deg); }

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 700px;
}
.mode-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mode-panel {
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.mode-panel::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
}
.mode-kicker {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
}
.mode-panel h3 {
  margin: 18px 0 10px;
  font-size: 26px;
  font-family: 'Space Grotesk', sans-serif;
}
.mode-panel p { color: var(--muted); line-height: 1.6; max-width: 300px; }
.mode-panel.amber { box-shadow: inset 0 0 0 1px rgba(230,184,92,0.16), var(--shadow); }
.mode-panel.cyan { box-shadow: inset 0 0 0 1px rgba(50,215,255,0.16), var(--shadow); }
.mode-panel.coral { box-shadow: inset 0 0 0 1px rgba(255,107,87,0.16), var(--shadow); }
.mode-panel.lime { box-shadow: inset 0 0 0 1px rgba(168,245,109,0.16), var(--shadow); }
.mode-panel.earth { box-shadow: inset 0 0 0 1px rgba(240,138,62,0.16), var(--shadow); }
.mode-panel.blue { box-shadow: inset 0 0 0 1px rgba(91,167,255,0.16), var(--shadow); }

.dual-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.daily-panel,
.progress-panel,
.leader-card,
.why-card,
.build-card {
  border-radius: 32px;
  padding: 26px;
}
.warm-panel {
  background:
    linear-gradient(180deg, rgba(44, 31, 20, 0.98), rgba(25, 20, 18, 0.96)),
    linear-gradient(135deg, rgba(240,138,62,0.18), transparent 30%);
}
.cool-panel {
  background:
    linear-gradient(180deg, rgba(18, 28, 38, 0.98), rgba(16, 20, 28, 0.96)),
    linear-gradient(135deg, rgba(50,215,255,0.14), transparent 30%);
}
.daily-panel h2,
.progress-panel h2,
.build-card h2,
.section-minihead h1,
.section-minihead h2 { font-size: clamp(26px, 4vw, 40px); }
.daily-panel p,
.build-card p { color: var(--muted); line-height: 1.6; }
.daily-row,
.progress-mini-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.daily-row div,
.progress-mini-grid div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.daily-row span,
.progress-mini-grid span,
.xp-meta {
  color: var(--muted);
  font-size: 13px;
}
.daily-row strong,
.progress-mini-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}
.xp-line { margin-top: 16px; }
.xp-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.xp-bar {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.xp-bar span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.ranked-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-head h3 {
  margin: 0;
  font-size: 28px;
  font-family: 'Space Grotesk', sans-serif;
}
.leader-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.leader-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.leader-list li:last-child { border-bottom: 0; }
.why-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.build-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background:
    linear-gradient(180deg, rgba(23, 28, 36, 0.96), rgba(14, 18, 24, 0.98)),
    linear-gradient(135deg, rgba(255,107,87,0.10), transparent 30%);
}

.game-page {
  padding: 28px 0 56px;
}
.game-shell {
  padding: 20px;
  border-radius: 32px;
}
.game-topbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.game-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.shape-stage,
.answer-panel {
  min-width: 0;
}
.shape-board {
  position: relative;
  min-height: 500px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(25,31,38,0.98), rgba(13,17,22,0.98)),
    radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 60%);
}
.map-board {
  position: relative;
  min-height: 500px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(22,28,36,0.98), rgba(11,15,20,0.98)),
    radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 65%);
}
.map-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.map-glow-a {
  width: 280px;
  height: 280px;
  background: rgba(240,138,62,0.26);
  left: 14%;
  top: 12%;
}
.map-glow-b {
  width: 240px;
  height: 240px;
  background: rgba(50,215,255,0.20);
  right: 10%;
  bottom: 10%;
}
.country-map {
  width: min(92%, 760px);
  height: auto;
  position: relative;
  z-index: 2;
}
.map-badge {
  position: absolute;
  top: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  z-index: 3;
}
.map-badge.left { left: 18px; }
.map-badge.right { right: 18px; }
.map-crosshair {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}
.map-crosshair::before,
.map-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.08);
}
.map-crosshair::before {
  width: 1px;
  height: 180px;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
}
.map-crosshair::after {
  height: 1px;
  width: 180px;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
}
.success-warm {
  box-shadow: inset 0 0 0 1px rgba(255,107,87,0.16), var(--shadow);
}
.shape-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.shape-glow-a {
  width: 260px;
  height: 260px;
  background: rgba(240,138,62,0.32);
  left: 8%;
  top: 15%;
}
.shape-glow-b {
  width: 220px;
  height: 220px;
  background: rgba(50,215,255,0.24);
  right: 12%;
  bottom: 12%;
}
.country-shape {
  width: min(78%, 500px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.38));
}
.shape-label {
  position: absolute;
  top: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.shape-label.left { left: 18px; }
.shape-label.right { right: 18px; }
.hud-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hud-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.hud-card span { color: var(--muted); font-size: 13px; }
.hud-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}
.answer-panel {
  border-radius: 28px;
  padding: 20px;
}
.compact-head h2 { font-size: clamp(24px, 4vw, 34px); }
.answer-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.answer-btn {
  width: 100%;
  min-height: 68px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-align: left;
  padding: 0 18px;
  font-weight: 700;
  transition: 180ms ease;
}
.answer-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.16);
}
.answer-btn.correct {
  border-color: rgba(168,245,109,0.28);
  box-shadow: inset 0 0 0 1px rgba(168,245,109,0.18);
  background: rgba(168,245,109,0.05);
}
.feedback-card,
.next-card {
  margin-top: 18px;
  border-radius: 24px;
  padding: 18px;
}
.feedback-tag {
  display: inline-flex;
  min-height: 32px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: rgba(168,245,109,0.12);
  color: #dff9be;
  border: 1px solid rgba(168,245,109,0.18);
}
.feedback-card strong,
.next-card strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  font-family: 'Space Grotesk', sans-serif;
}
.feedback-card p,
.next-card p,
.mini-panel p { color: var(--muted); line-height: 1.6; }
.next-card .btn { margin-top: 14px; width: 100%; }
.post-game-band {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mini-panel {
  border-radius: 24px;
  padding: 20px;
}
.action-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1040px) {
  .hero,
  .dual-band,
  .ranked-grid,
  .mode-grid,
  .build-card,
  .game-grid,
  .post-game-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

  .floating-card {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 12px;
  }

  .hero-strip,
  .daily-row,
  .progress-mini-grid,
  .hud-row {
    grid-template-columns: 1fr;
  }
}

.globe-game-shell {
  padding: 20px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(25, 30, 38, 0.92), rgba(13, 17, 22, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.globe-hud-top {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.globe-stage-wrap {
  display: grid;
  grid-template-columns: 180px 1fr 360px;
  gap: 18px;
  align-items: stretch;
}
.globe-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.side-pill,
.side-stat {
  border-radius: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.side-pill {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 800;
}
.side-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.side-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  font-family: 'Space Grotesk', sans-serif;
}
.globe-center-stage {
  min-width: 0;
}
.globe-title {
  text-align: center;
  margin-bottom: 18px;
}
.hero-globe-board {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, rgba(19,25,33,0.98), rgba(10,14,19,0.98));
  border: 1px solid rgba(255,255,255,0.06);
}
.globe-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
}
.aura-warm {
  width: 280px;
  height: 280px;
  background: rgba(240,138,62,0.28);
  left: 22%;
  top: 28%;
}
.aura-cool {
  width: 220px;
  height: 220px;
  background: rgba(50,215,255,0.22);
  right: 24%;
  bottom: 22%;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.ring-one { width: 360px; height: 360px; }
.ring-two { width: 430px; height: 430px; }
.ring-three { width: 520px; height: 520px; opacity: 0.45; }
.globe-sphere {
  position: relative;
  z-index: 2;
  width: min(86%, 560px);
}
.globe-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 50px rgba(0,0,0,0.5));
}
.globe-note {
  position: absolute;
  top: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  z-index: 3;
}
.note-left { left: 24px; }
.note-right { right: 24px; }
.globe-answer-panel {
  height: 100%;
}
.full-btn {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .globe-stage-wrap,
  .realmap-grid {
    grid-template-columns: 1fr;
  }
  .globe-side {
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .container { width: min(100% - 20px, 1180px); }
  .hero { padding-top: 34px; }
  .hero p { font-size: 16px; }
  .hero h1 { font-size: clamp(34px, 11vw, 56px); }
  .main-board { min-height: 470px; }
  .globe { width: 220px; height: 220px; }
  .board-bottom { flex-direction: column; }
  .mini-stat { width: 100%; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .row-head { align-items: start; }
  .shape-board { min-height: 360px; }
  .country-shape { width: 88%; }
  .hero-globe-board { min-height: 460px; }
  .ring-three { width: 420px; height: 420px; }
  .globe-side { flex-direction: column; }
}
px; opacity: 0.45; }
.globe-sphere {
  position: relative;
  z-index: 2;
  width: min(86%, 560px);
}
.globe-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 50px rgba(0,0,0,0.5));
}
.globe-note {
  position: absolute;
  top: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  z-index: 3;
}
.note-left { left: 24px; }
.note-right { right: 24px; }
.globe-answer-panel {
  height: 100%;
}
.full-btn {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .globe-stage-wrap {
    grid-template-columns: 1fr;
  }
  .globe-side {
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .container { width: min(100% - 20px, 1180px); }
  .hero { padding-top: 34px; }
  .hero p { font-size: 16px; }
  .hero h1 { font-size: clamp(34px, 11vw, 56px); }
  .main-board { min-height: 470px; }
  .globe { width: 220px; height: 220px; }
  .board-bottom { flex-direction: column; }
  .mini-stat { width: 100%; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .row-head { align-items: start; }
  .shape-board { min-height: 360px; }
  .country-shape { width: 88%; }
  .hero-globe-board { min-height: 460px; }
  .ring-three { width: 420px; height: 420px; }
  .globe-side { flex-direction: column; }
}

/* --- sharp europe map overrides --- */
.refined-shell {
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.96), rgba(10, 14, 19, 0.99));
}
.refined-board {
  min-height: 500px;
}
.refined-svg {
  min-height: 500px;
}
.refined-hud .hud-card {
  background: rgba(255,255,255,0.022);
}
@media (max-width: 760px) {
  .europe-board,
  .refined-board,
  .europe-svg,
  .refined-svg {
    min-height: 380px;
  }
}

/* --- play hub + results --- */
.hub-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}
.hub-hero h1,
.results-main-card h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hub-copy,
.center-copy { max-width: 720px; }
.hub-side-stats,
.results-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hub-stat-card,
.result-box,
.sidebar-panel,
.daily-focus-card,
.mode-tile,
.results-main-card {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(28,34,42,0.92), rgba(15,19,25,0.98));
  box-shadow: var(--shadow);
}
.hub-stat-card,
.result-box {
  padding: 16px;
  min-width: 110px;
}
.hub-stat-card span,
.result-box span,
.sidebar-panel span,
.mini-progress-row span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.hub-stat-card strong,
.result-box strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-family: 'Space Grotesk', sans-serif;
}
.hub-layout,
.results-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.daily-focus-card,
.sidebar-panel,
.results-main-card {
  padding: 24px;
}
.daily-focus-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.daily-focus-card h2,
.sidebar-panel h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  line-height: 1.02;
}
.mode-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mode-tile {
  padding: 22px;
  display: block;
}
.mode-tile h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  font-family: 'Space Grotesk', sans-serif;
}
.mode-tile p,
.sidebar-panel p { color: var(--muted); line-height: 1.6; }
.mode-index,
.mode-cta {
  display: inline-flex;
  font-weight: 800;
}
.mode-index {
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}
.mode-cta {
  margin-top: 12px;
  color: #ffd7a6;
}
.active-mode {
  box-shadow: inset 0 0 0 1px rgba(255,123,88,0.20), var(--shadow);
}
.mini-progress-row,
.leader-mini li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mini-progress-row { margin-top: 14px; }
.small-xp { margin-top: 8px; height: 10px; }
.leader-mini {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}
.leader-mini li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.leader-mini li:last-child { border-bottom: 0; }
.results-main-card {
  text-align: center;
  padding: 34px 24px;
}
.score-burst {
  margin: 18px 0 12px;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.9;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff3d4;
  text-shadow: 0 0 24px rgba(255,123,88,0.18);
}
.results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.results-side {
  display: grid;
  gap: 18px;
}
@media (max-width: 980px) {
  .hub-hero,
  .hub-layout,
  .results-shell,
  .mode-card-grid,
  .results-stats-grid,
  .hub-side-stats,
  .daily-focus-card {
    grid-template-columns: 1fr;
  }
  .daily-focus-card,
  .results-actions { flex-direction: column; }
}
