/* ========== VARIABLES ========== */
:root {
  --bg-1: #08050f;
  --bg-2: #120a1f;
  --bg-3: #1b1230;
  --bg-4: #25173d;
  --gold-1: #ffb800;
  --gold-2: #ffd95a;
  --fire-1: #ff5a36;
  --fire-2: #ff8248;
  --myst-1: #8b5cf6;
  --myst-2: #c084fc;
  --gold-grad: linear-gradient(135deg, #ffb800, #ffd95a);
  --fire-grad: linear-gradient(135deg, #ff5a36, #ff8248);
  --myst-grad: linear-gradient(135deg, #8b5cf6, #c084fc);
  --premium-grad: linear-gradient(135deg, #ffb800, #ff5a36, #8b5cf6);
  --gold-glow: rgba(255, 184, 0, .45);
  --fire-glow: rgba(255, 90, 54, .45);
  --myst-glow: rgba(139, 92, 246, .45);
  --text: #f8fafc;
  --text-2: #d7dce4;
  --muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, .05);
  --glass-border: 1px solid rgba(255, 255, 255, .08);
  --glass-shadow: 0 20px 80px rgba(0, 0, 0, .45);
  --font-head: 'Cinzel', 'Marcellus SC', serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 64px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  text-align: center;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 184, 0, .12), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(139, 92, 246, .12), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 90, 54, .1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.text-gradient {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}

/* ========== UTILITIES ========== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(255, 184, 0, .08);
  border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 100px;
}

/* ========== ANIMATIONS ========== */
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes shine { 0% { left: -100%; } 60%, 100% { left: 100%; } }
@keyframes particleRise { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .8; } 100% { transform: translateY(-10vh) scale(1); opacity: 0; } }
@keyframes fogDrift { 0% { transform: translateX(-10%); } 100% { transform: translateX(10%); } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 30px var(--gold-glow); } 50% { box-shadow: 0 0 60px var(--gold-glow), 0 0 100px var(--fire-glow); } }

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, .12), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity .3s;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* Particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  background: var(--gold-1);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-1);
  animation: particleRise 20s linear infinite;
}
.particle:nth-child(3n) { background: var(--fire-1); box-shadow: 0 0 10px var(--fire-1); }
.particle:nth-child(5n) { background: var(--myst-1); box-shadow: 0 0 10px var(--myst-1); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== HEADER (SLIM & FLUID) ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: padding .3s ease, background .3s ease, backdrop-filter .3s ease;
  background: linear-gradient(180deg, rgba(8, 5, 15, .6), rgba(8, 5, 15, 0));
}
.header.scrolled {
  padding: 6px 0;
  background: rgba(8, 5, 15, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height .3s ease;
}
.header.scrolled .header-inner { height: 56px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-emblem {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 12px var(--gold-glow));
  animation: pulse 3s ease-in-out infinite;
}
.brand-name {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .02em;
}
.nav-capsule {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  border-radius: 100px;
  color: var(--text-2);
  transition: color .25s ease, background .25s ease;
  position: relative;
  letter-spacing: .01em;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: var(--gold-2);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
}
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .btn {
  padding: 10px 22px;
  font-size: .85rem;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background .3s;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .06); }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); transition: all .3s; border-radius: 2px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 100px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-grad);
  color: #08050f;
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px var(--gold-glow); }
.btn-ghost {
  background: var(--glass-bg);
  color: var(--text);
  border: var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  animation: shine 3s ease-in-out infinite;
}

/* ========== MOBILE DRAWER ========== */
.mobile-drawer {
  position: fixed;
  top: 70px;
  left: 16px;
  right: 16px;
  background: rgba(8, 5, 15, .95);
  backdrop-filter: blur(24px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  z-index: 99;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  text-align: center;
}
.mobile-drawer.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-drawer a {
  padding: 13px 18px;
  font-weight: 500;
  font-size: .95rem;
  border-radius: 12px;
  transition: all .25s;
}
.mobile-drawer a:hover { background: rgba(255, 184, 0, .1); color: var(--gold-2); }

/* ========== BOTTOM NAV ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(8, 5, 15, .9);
  backdrop-filter: blur(24px);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 8px;
  z-index: 99;
  box-shadow: var(--glass-shadow);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  font-size: .7rem;
  color: var(--muted);
  border-radius: 16px;
  transition: all .3s;
}
.bottom-nav a span { font-size: 1.3rem; }
.bottom-nav a.active { color: var(--gold-2); background: rgba(255, 184, 0, .12); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-layer.layer-1 {
  background: radial-gradient(ellipse at 30% 70%, rgba(255, 90, 54, .25), transparent 60%);
}
.hero-layer.layer-2 {
  background: radial-gradient(ellipse at 70% 30%, rgba(139, 92, 246, .2), transparent 60%);
}
.hero-layer.layer-3 {
  background: radial-gradient(circle at 50% 100%, rgba(255, 184, 0, .15), transparent 50%);
}
.hero-fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(8, 5, 15, .8));
  animation: fogDrift 20s ease-in-out infinite alternate;
}
.light-beam {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-1), transparent);
  opacity: .3;
  filter: blur(2px);
}
.light-beam.beam-1 { left: 25%; transform: rotate(15deg); animation: pulse 4s ease-in-out infinite; }
.light-beam.beam-2 { right: 30%; transform: rotate(-12deg); animation: pulse 5s ease-in-out infinite .5s; }
.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 24px;
  color: var(--gold-2);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 20px;
  justify-content: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-item strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-item span { font-size: .8rem; color: var(--muted); }
.hero-disclaimer {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-align: center;
}

/* Dragon egg artifact */
.hero-right { display: flex; align-items: center; justify-content: center; position: relative; min-height: 500px; }
.dragon-egg-artifact {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.egg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 184, 0, .3);
}
.egg-ring.ring-1 { width: 100%; height: 100%; animation: spin 30s linear infinite; border-color: rgba(255, 184, 0, .25); }
.egg-ring.ring-1::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold-1);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--gold-1);
}
.egg-ring.ring-2 { width: 80%; height: 80%; animation: spinSlow 20s linear infinite; border-color: rgba(255, 90, 54, .3); }
.egg-ring.ring-2::before {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 30%;
  width: 12px;
  height: 12px;
  background: var(--fire-1);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--fire-1);
}
.egg-ring.ring-3 { width: 60%; height: 60%; animation: spin 15s linear infinite; border-color: rgba(139, 92, 246, .35); }
.egg-core {
  font-size: 10rem;
  filter: drop-shadow(0 0 60px var(--gold-glow));
  animation: float 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
  z-index: 2;
}
.floating-relic {
  position: absolute;
  font-size: 2.5rem;
  filter: drop-shadow(0 0 20px currentColor);
  animation: float 4s ease-in-out infinite;
}
.floating-relic.relic-1 { top: 8%; left: 8%; animation-delay: 0s; color: var(--myst-1); }
.floating-relic.relic-2 { top: 15%; right: 5%; animation-delay: 1s; color: var(--fire-1); }
.floating-relic.relic-3 { bottom: 20%; left: 0; animation-delay: 2s; color: var(--gold-1); }
.floating-relic.relic-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; color: var(--gold-2); }
.floating-relic.relic-5 { top: 50%; right: -5%; animation-delay: .5s; color: var(--gold-1); }

/* ========== SECTION HEAD ========== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 160px 0 70px;
  text-align: center;
  position: relative;
}
.page-hero.compact { padding: 140px 0 50px; }
.page-hero .hero-badge { margin: 0 0 24px; }
.page-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 18px;
}
.page-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== GAME SECTION ========== */
.game-section { padding: 80px 0; position: relative; }
.game-frame {
  background: rgba(27, 18, 48, .6);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 184, 0, .2);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 184, 0, .15);
  position: relative;
  margin-bottom: 60px;
}
.game-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(8, 5, 15, .6);
  border-radius: 20px 20px 0 0;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 12px;
}
.toolbar-left { display: flex; align-items: center; gap: 14px; }
.game-tag {
  padding: 4px 12px;
  background: var(--fire-grad);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
}
.game-title-bar {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--gold-2);
}
.toolbar-right { display: flex; gap: 6px; }
.toolbar-right button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: all .3s;
  font-size: .95rem;
}
.toolbar-right button:hover { background: rgba(255, 184, 0, .15); border-color: rgba(255, 184, 0, .35); }
.game-iframe-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-1);
  aspect-ratio: 16 / 10;
  width: 100%;
}
.game-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.game-corners { position: absolute; inset: 0; pointer-events: none; }
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--gold-1);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; border-radius: 14px 0 0 0; }
.corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; border-radius: 0 14px 0 0; }
.corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; border-radius: 0 0 0 14px; }
.corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; border-radius: 0 0 14px 0; }

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.info-card {
  padding: 28px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 20px;
  text-align: center;
  transition: all .4s;
}
.info-card:hover { transform: translateY(-6px); border-color: rgba(255, 184, 0, .3); box-shadow: 0 20px 50px rgba(255, 184, 0, .15); }
.info-card span {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}
.info-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--gold-2); }
.info-card p { font-size: .85rem; color: var(--text-2); }

/* How to play steps */
.how-to-play { margin: 80px 0; }
.how-to-play h2 { text-align: center; margin-bottom: 48px; font-size: clamp(1.8rem, 4vw, 3rem); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step-card {
  position: relative;
  padding: 32px 24px;
  background: rgba(27, 18, 48, .5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  text-align: center;
  transition: all .4s;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255, 184, 0, .3); }
.step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .2;
}
.step-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px var(--gold-glow));
}
.step-card h4 { font-size: 1.15rem; margin-bottom: 10px; color: var(--gold-2); }
.step-card p { font-size: .9rem; color: var(--text-2); }

/* ========== REWARDS ========== */
.rewards-section { padding: 80px 0; }
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.reward-card {
  position: relative;
  padding: 36px 28px;
  background: linear-gradient(180deg, rgba(37, 23, 61, .8), rgba(27, 18, 48, .8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  transition: all .4s;
  overflow: hidden;
  text-align: center;
}
.reward-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 184, 0, .08), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.reward-card:hover { transform: translateY(-8px); border-color: rgba(255, 184, 0, .4); box-shadow: 0 30px 80px rgba(255, 184, 0, .2); }
.reward-card:hover::before { opacity: 1; }
.reward-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: rgba(255, 184, 0, .1);
  border-radius: 20px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 16px var(--gold-glow));
}
.reward-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--gold-2); }
.reward-card p { color: var(--text-2); font-size: .92rem; margin-bottom: 20px; }
.reward-progress {
  height: 6px;
  background: rgba(255, 255, 255, .06);
  border-radius: 100px;
  overflow: hidden;
}
.reward-progress > div {
  height: 100%;
  background: var(--gold-grad);
  border-radius: 100px;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ========== FEATURES ========== */
.features-section { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  background: rgba(27, 18, 48, .5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  transition: all .4s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 184, 0, .1), transparent);
  transition: top .8s;
}
.feature-card:hover::after { top: 100%; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 184, 0, .3); }
.feature-card.large { grid-column: span 2; }
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--gold-2); }
.feature-card p { font-size: .9rem; color: var(--text-2); }
.quest-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--myst-2);
}

/* ========== STATS ========== */
.stats-section { padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 24px;
  transition: all .4s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(255, 184, 0, .3); }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.stat-card p { font-size: .85rem; color: var(--text-2); }

/* Event list */
.event-list { display: flex; flex-direction: column; gap: 16px; max-width: 1000px; margin: 0 auto; }
.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 20px;
  align-items: center;
  transition: all .3s;
  text-align: center;
}
.event-row:hover { border-color: rgba(255, 184, 0, .3); transform: translateX(8px); }
.event-date {
  text-align: center;
  padding: 10px 16px;
  background: var(--gold-grad);
  border-radius: 14px;
  color: #08050f;
  min-width: 70px;
}
.event-date span { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; line-height: 1; }
.event-date small { font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.event-row h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--gold-2); }
.event-row p { font-size: .88rem; color: var(--text-2); }
.event-tag {
  padding: 6px 14px;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--myst-2);
}

/* ========== COMMUNITY ========== */
.community-section { padding: 80px 0; }
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.story-card {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(37, 23, 61, .6), rgba(27, 18, 48, .6));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  text-align: center;
  transition: all .4s;
}
.story-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .35); box-shadow: 0 24px 60px var(--myst-glow); }
.story-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: var(--myst-grad);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--myst-glow);
}
.story-card h4 { font-size: 1.15rem; margin-bottom: 4px; color: var(--gold-2); }
.story-meta { font-size: .8rem; color: var(--muted); display: block; margin-bottom: 16px; }
.story-card p { font-size: .92rem; color: var(--text-2); margin-bottom: 16px; font-style: italic; }
.story-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.story-tags span {
  padding: 4px 10px;
  background: rgba(255, 184, 0, .1);
  border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 100px;
  font-size: .7rem;
  color: var(--gold-2);
}

/* ========== APP SECTION ========== */
.app-section { padding: 80px 0; }
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: center;
}
.app-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app-features {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}
.app-features li {
  padding: 12px 18px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 14px;
  font-size: .95rem;
  text-align: center;
}
.app-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.app-mockup { display: flex; justify-content: center; }
.phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1b1230, #08050f);
  border: 8px solid #2a1a45;
  border-radius: 44px;
  padding: 24px 16px;
  box-shadow: 0 40px 100px rgba(139, 92, 246, .3), inset 0 0 40px rgba(255, 184, 0, .08);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.phone-screen { display: flex; flex-direction: column; gap: 12px; }
.phone-header {
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  padding: 12px;
  background: var(--gold-grad);
  color: #08050f;
  border-radius: 14px;
  margin-bottom: 8px;
}
.phone-card {
  padding: 16px;
  background: rgba(255, 184, 0, .1);
  border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 14px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
}
.phone-card small { font-weight: 400; color: var(--muted); font-size: .75rem; }
.phone-card.alt { background: rgba(139, 92, 246, .15); border-color: rgba(139, 92, 246, .3); }

/* ========== ABOUT ========== */
.about-section { padding: 60px 0 80px; }
.about-block {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 36px 36px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 24px;
  text-align: center;
}
.about-block h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-block p { color: var(--text-2); margin-bottom: 14px; font-size: .98rem; line-height: 1.75; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.value-card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, .04);
  border: var(--glass-border);
  border-radius: 18px;
  text-align: center;
  transition: all .3s;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(255, 184, 0, .3); }
.value-card span { font-size: 2rem; display: block; margin-bottom: 10px; filter: drop-shadow(0 0 10px var(--gold-glow)); }
.value-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--gold-2); }
.value-card p { font-size: .82rem; color: var(--text-2); margin: 0; }

/* ========== CONTACT ========== */
.contact-section { padding: 60px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  text-align: center;
}
.contact-form-wrap {
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 24px;
  text-align: center;
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 24px; color: var(--gold-2); }
.contact-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
}
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 14px 16px;
  background: rgba(8, 5, 15, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: all .3s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, .15);
}
.contact-form button { align-self: center; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-block {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 18px;
  transition: all .3s;
  text-align: center;
}
.info-block:hover { border-color: rgba(255, 184, 0, .3); }
.info-block h3 { font-size: 1rem; margin-bottom: 8px; color: var(--gold-2); }
.info-block p { font-size: .9rem; color: var(--text-2); }

.map-section { margin-bottom: 60px; }
.map-placeholder {
  height: 320px;
  background:
    radial-gradient(ellipse at center, rgba(139, 92, 246, .2), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: var(--glass-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.map-placeholder span { font-size: 4rem; filter: drop-shadow(0 0 20px var(--gold-glow)); }
.map-placeholder h3 { color: var(--gold-2); }
.map-placeholder p { color: var(--text-2); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all .3s;
  text-align: left;
}
.faq-item:hover { border-color: rgba(255, 184, 0, .3); }
.faq-item summary {
  font-weight: 600;
  color: var(--gold-2);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.5rem; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--text-2); font-size: .92rem; }

/* ========== LEGAL ========== */
.legal-section { padding: 40px 0 80px; }
.legal-content {
  max-width: 900px;
  padding: 48px 44px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 24px;
  text-align: center;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--gold-2);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-2); margin-bottom: 14px; font-size: .96rem; line-height: 1.75; }
.legal-content ul { margin: 12px auto 14px; max-width: 600px; list-style-position: inside; }
.legal-content ul li { color: var(--text-2); margin-bottom: 8px; font-size: .94rem; }
.legal-content strong { color: var(--text); }
.responsible-banner {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 184, 0, .12), rgba(139, 92, 246, .12));
  border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 20px;
  margin-bottom: 32px;
  text-align: center;
}
.responsible-banner h2 { color: var(--gold-2); margin-top: 0; margin-bottom: 12px; }
.responsible-banner p { font-size: 1rem; color: var(--text); margin: 0; }

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.sitemap-col {
  padding: 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.sitemap-col h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--gold-2); }
.sitemap-col a { color: var(--text-2); font-size: .92rem; transition: all .3s; padding: 6px 0; }
.sitemap-col a:hover { color: var(--gold-2); }

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
}
.error-content { max-width: 700px; margin: 0 auto; }
.error-egg {
  font-size: 8rem;
  filter: drop-shadow(0 0 40px var(--gold-glow));
  animation: float 5s ease-in-out infinite;
  margin-bottom: 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  background: var(--premium-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite;
}
.error-content h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--gold-2); }
.error-content p { font-size: 1.05rem; color: var(--text-2); margin-bottom: 32px; }
.error-page .hero-cta { justify-content: center; }

/* ========== FOOTER (CENTERED LAYOUT) ========== */
.footer {
  position: relative;
  padding: 90px 0 30px;
  margin-top: 80px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 184, 0, .08), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, .08), transparent 60%),
    linear-gradient(180deg, transparent, rgba(8, 5, 15, .9) 30%, rgba(8, 5, 15, 1));
  border-top: 1px solid rgba(255, 184, 0, .15);
  overflow: hidden;
  text-align: center;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
  box-shadow: 0 0 20px var(--gold-glow);
}
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255, 184, 0, .04) 1px, transparent 1px),
    radial-gradient(circle at 85% 70%, rgba(139, 92, 246, .04) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
  opacity: .6;
}

/* Top decorative band: brand + CTA — CENTERED */
.footer-top {
  max-width: 1400px;
  margin: 0 auto 56px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.footer-top-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 620px;
}
.footer-top-brand .brand { font-size: 1.3rem; justify-content: center; }
.footer-top-brand .brand-emblem { font-size: 1.8rem; }
.footer-top-brand p {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
}
.footer-top-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 56px;
  padding: 0 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-col .brand { margin-bottom: 4px; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 184, 0, .15);
  position: relative;
  width: 100%;
  text-align: center;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--gold-grad);
  box-shadow: 0 0 8px var(--gold-glow);
}
.footer-col a {
  color: var(--text-2);
  font-size: .9rem;
  transition: all .3s ease;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-col a:hover {
  color: var(--gold-2);
}
.footer-col p {
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.75;
  text-align: center;
}
.footer-about {
  color: var(--muted) !important;
  font-size: .9rem !important;
  margin-top: 6px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.6;
  text-align: center;
}
.footer-contact-row .footer-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 184, 0, .1);
  border: 1px solid rgba(255, 184, 0, .2);
  font-size: .85rem;
  color: var(--gold-2);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 0 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all .3s;
}
.footer-badge:hover {
  border-color: rgba(255, 184, 0, .35);
  color: var(--gold-2);
}
.footer-badge .age-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fire-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
}

.footer-disclaimer {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer-disclaimer p {
  font-size: .8rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 14px;
  line-height: 1.7;
}
.copyright {
  font-size: .85rem !important;
  color: var(--text-2) !important;
  font-weight: 500;
}
.footer-legal-links {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 16px;
}
.footer-legal-links a {
  font-size: .8rem;
  color: var(--muted);
  transition: color .3s;
}
.footer-legal-links a:hover { color: var(--gold-2); }
.footer-legal-links span { color: rgba(255, 255, 255, .15); }

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card.large { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .nav-link { padding: 8px 13px; font-size: .85rem; }
}

@media (max-width: 1024px) {
  .nav-capsule { display: none; }
  .menu-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-right { order: -1; min-height: 360px; }
  .dragon-egg-artifact { width: 320px; height: 320px; }
  .egg-core { font-size: 7rem; }
  .app-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 8px 0; }
  .header-inner { padding: 0 16px; gap: 12px; height: 56px; }
  .header.scrolled .header-inner { height: 52px; }
  .header-actions .btn { padding: 8px 16px; font-size: .8rem; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 90px; }
  .hero { padding: 110px 0 60px; }
  .page-hero { padding: 120px 0 50px; }
  .page-hero.compact { padding: 110px 0 40px; }
  .hero-trust { gap: 24px; }
  .footer { padding: 70px 0 30px; }
  .footer-top { gap: 24px; margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr; text-align: center; }
  .legal-content, .about-block { padding: 28px 22px; }
  .contact-form-wrap { padding: 28px 22px; }
  .game-frame { padding: 10px; border-radius: 24px; }
  .toolbar-right button { width: 32px; height: 32px; font-size: .85rem; }
  .features-grid { grid-template-columns: 1fr; }
  .game-info-grid { grid-template-columns: 1fr 1fr; }
  .mobile-drawer { top: 64px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand-name { display: none; }
  .footer .brand-name { display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact-row { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { width: 100%; }
  .game-info-grid { grid-template-columns: 1fr; }
  .dragon-egg-artifact { width: 260px; height: 260px; }
  .egg-core { font-size: 5.5rem; }
  .floating-relic { font-size: 1.8rem; }
  .nav-capsule { display: none; }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }