/* ============================================
   CORAFUNSANCTM — DRAGON MYTHIC CORE
   Design System & Full Stylesheet
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  /* Base Colors */
  --bg-primary: #05030a;
  --bg-secondary: #0f0b1f;
  --bg-tertiary: #1a1333;
  
  /* Glass */
  --glass-bg: rgba(255,255,255,0.05);
  --glass-bg-hover: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: 18px;
  
  /* Fire Accent */
  --fire-gradient: linear-gradient(135deg, #ff3c00, #ff7a00);
  --fire-color: #ff5500;
  --fire-glow: rgba(255,60,0,0.45);
  --fire-glow-soft: rgba(255,60,0,0.2);
  
  /* Purple Accent */
  --purple-gradient: linear-gradient(135deg, #6d28d9, #a78bfa);
  --purple-color: #8b5cf6;
  --purple-glow: rgba(109,40,217,0.45);
  --purple-glow-soft: rgba(109,40,217,0.2);
  
  /* Green Accent */
  --green-gradient: linear-gradient(135deg, #10b981, #34d399);
  --green-color: #10b981;
  --green-glow: rgba(16,185,129,0.35);
  --green-glow-soft: rgba(16,185,129,0.15);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #c4b5fd;
  --text-muted: #6b7280;
  
  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Spacing */
  --section-gap: 120px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* --- CURSOR GLOW --- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,60,0,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.visible {
  opacity: 1;
}

/* --- PARTICLES --- */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* ============================================
   HEADER — DRAGON ORBIT NAV
   ============================================ */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--max-width);
  z-index: 1000;
  background: rgba(15,11,31,0.75);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0 24px;
  transition: all 0.4s var(--ease-out);
  animation: headerFloat 6s ease-in-out infinite;
}

.header::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--fire-glow-soft), var(--purple-glow-soft), transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header.scrolled {
  background: rgba(5,3,10,0.92);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: none;
}

@keyframes headerFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--fire-glow));
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(109,40,217,0.15);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
  box-shadow: 0 0 16px var(--purple-glow-soft);
}

.nav-icon {
  font-size: 1rem;
}

.btn-play-now {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--fire-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--fire-glow-soft);
}

.btn-play-now:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px var(--fire-glow);
}

.btn-play-now .btn-flame {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- PULSE EFFECT FOR CTA --- */
.btn-play-now::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--fire-gradient);
  z-index: -1;
  opacity: 0;
  animation: flamePulse 2s infinite;
}

@keyframes flamePulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.08); }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,3,10,0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.mobile-cta {
  margin-top: 16px;
}

/* ============================================
   HERO SECTION — DRAGON EGG AWAKENING
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-lava-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255,60,0,0.15) 0%, rgba(255,120,0,0.05) 40%, transparent 70%);
  animation: lavaGlow 4s ease-in-out infinite alternate;
}

@keyframes lavaGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-cave-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 20%, transparent 30%, var(--bg-primary) 70%),
    radial-gradient(ellipse at 50% 80%, rgba(255,60,0,0.08) 0%, transparent 50%);
}

.hero-ash-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ash {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255,120,0,0.6);
  border-radius: 50%;
  animation: ashFloat var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes ashFloat {
  0% { 
    transform: translateY(100vh) translateX(0) rotate(0deg); 
    opacity: 0; 
  }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { 
    transform: translateY(-20vh) translateX(calc(var(--drift) * 1px)) rotate(360deg); 
    opacity: 0; 
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  color: var(--text-primary);
}

.hero-title-dragon {
  display: block;
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--fire-glow));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 400;
}

/* --- INTERACTIVE EGG --- */
.egg-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.egg-glow-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(255,60,0,0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: glowRingPulse 3s ease-in-out infinite;
}

.egg-glow-ring.ring-2 {
  width: 340px;
  height: 340px;
  border-color: rgba(109,40,217,0.15);
  animation-delay: 1s;
  animation-duration: 4s;
}

@keyframes glowRingPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -55%) scale(1.05); }
}

.egg-wrapper {
  position: relative;
  cursor: pointer;
  width: 200px;
  height: 260px;
  transition: transform 0.3s var(--ease-out);
  outline: none;
}

.egg-wrapper:hover {
  transform: scale(1.05);
}

.egg-wrapper:focus-visible {
  outline: 2px solid var(--fire-color);
  outline-offset: 16px;
  border-radius: 50%;
}

.egg {
  position: relative;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.egg-shell {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2d1854 0%, #4a1a6b 25%, #6d28d9 50%, #4a1a6b 75%, #2d1854 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 
    0 0 60px var(--purple-glow),
    0 0 120px var(--purple-glow-soft),
    inset 0 -20px 40px rgba(0,0,0,0.5),
    inset 0 20px 40px rgba(167,139,250,0.2);
  overflow: hidden;
  transition: all 0.3s;
}

.egg-highlight {
  position: absolute;
  top: 15%;
  left: 25%;
  width: 30%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.3), transparent);
  border-radius: 50%;
  filter: blur(8px);
}

.egg-pattern {
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,120,0,0.4), transparent);
  left: 20%;
  top: 35%;
  border-radius: 4px;
}

.egg-pattern.p2 {
  top: 50%;
  width: 70%;
  left: 15%;
  background: linear-gradient(90deg, transparent, rgba(255,60,0,0.3), transparent);
}

.egg-pattern.p3 {
  top: 65%;
  width: 50%;
  left: 25%;
  background: linear-gradient(90deg, transparent, rgba(255,120,0,0.35), transparent);
}

/* Egg idle animation */
.egg-wrapper:not(.shaking):not(.cracking):not(.hatched) .egg-shell {
  animation: eggIdle 4s ease-in-out infinite;
}

@keyframes eggIdle {
  0%, 100% { box-shadow: 0 0 60px var(--purple-glow), 0 0 120px var(--purple-glow-soft), inset 0 -20px 40px rgba(0,0,0,0.5), inset 0 20px 40px rgba(167,139,250,0.2); }
  50% { box-shadow: 0 0 80px var(--purple-glow), 0 0 160px var(--purple-glow-soft), inset 0 -20px 40px rgba(0,0,0,0.5), inset 0 20px 40px rgba(167,139,250,0.3); }
}

/* Cracks */
.egg-cracks {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.egg-cracks svg {
  width: 100%;
  height: 100%;
}

.crack {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px var(--fire-glow));
}

/* Shaking animation */
.egg-wrapper.shaking .egg {
  animation: eggShake 0.15s infinite;
}

@keyframes eggShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-4px) rotate(-2deg); }
  75% { transform: translateX(4px) rotate(2deg); }
}

/* Cracking state */
.egg-wrapper.cracking .egg-cracks {
  opacity: 1;
}

.egg-wrapper.cracking .crack.c1 { animation: crackReveal 0.5s 0s forwards; }
.egg-wrapper.cracking .crack.c2 { animation: crackReveal 0.5s 0.2s forwards; }
.egg-wrapper.cracking .crack.c3 { animation: crackReveal 0.5s 0.4s forwards; }
.egg-wrapper.cracking .crack.c4 { animation: crackReveal 0.4s 0.6s forwards; }
.egg-wrapper.cracking .crack.c5 { animation: crackReveal 0.4s 0.7s forwards; }
.egg-wrapper.cracking .crack.c6 { animation: crackReveal 0.3s 0.8s forwards; }
.egg-wrapper.cracking .crack.c7 { animation: crackReveal 0.3s 0.9s forwards; }

@keyframes crackReveal {
  to { stroke-dashoffset: 0; }
}

/* Light burst */
.egg-light-burst {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,120,0,0.8) 0%, rgba(255,60,0,0.4) 30%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.egg-wrapper.cracking .egg-light-burst {
  animation: lightBurst 1.2s 0.6s ease-out forwards;
}

@keyframes lightBurst {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(3); }
}

/* Hatched - egg disappears */
.egg-wrapper.hatched .egg-shell {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s var(--ease-out);
}

.egg-wrapper.hatched .egg-cracks {
  opacity: 0;
}

/* --- SHELL FRAGMENTS --- */
.shell-fragments {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shell-piece {
  position: absolute;
  width: 20px;
  height: 25px;
  background: linear-gradient(135deg, #4a1a6b, #6d28d9);
  border-radius: 3px 8px 3px 8px;
  opacity: 0;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 10px var(--purple-glow-soft);
}

.egg-wrapper.hatched .shell-piece {
  opacity: 1;
}

.egg-wrapper.hatched .sp1 { animation: shellFly 1s ease-out forwards; --tx: -80px; --ty: -120px; --rot: 120deg; }
.egg-wrapper.hatched .sp2 { animation: shellFly 1s 0.05s ease-out forwards; --tx: 70px; --ty: -100px; --rot: -90deg; }
.egg-wrapper.hatched .sp3 { animation: shellFly 1s 0.1s ease-out forwards; --tx: -100px; --ty: -50px; --rot: 200deg; }
.egg-wrapper.hatched .sp4 { animation: shellFly 1s 0.08s ease-out forwards; --tx: 90px; --ty: -60px; --rot: -150deg; }
.egg-wrapper.hatched .sp5 { animation: shellFly 1s 0.12s ease-out forwards; --tx: -50px; --ty: -140px; --rot: 80deg; }
.egg-wrapper.hatched .sp6 { animation: shellFly 1s 0.06s ease-out forwards; --tx: 60px; --ty: -130px; --rot: -45deg; }
.egg-wrapper.hatched .sp7 { animation: shellFly 1s 0.15s ease-out forwards; --tx: -120px; --ty: -80px; --rot: 260deg; }
.egg-wrapper.hatched .sp8 { animation: shellFly 1s 0.09s ease-out forwards; --tx: 110px; --ty: -90px; --rot: -200deg; }

@keyframes shellFly {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); opacity: 0; }
}

/* --- HATCH EFFECTS (SMOKE & FIRE) --- */
.hatch-effects {
  position: absolute;
  inset: -60px;
  pointer-events: none;
}

.smoke-puff {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(100,100,120,0.5) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  top: 50%;
  left: 50%;
}

.egg-wrapper.hatched .smoke-puff {
  animation: smokePuff 2s ease-out forwards;
}

.egg-wrapper.hatched .s1 { animation-delay: 0s; --sx: -40px; --sy: -60px; }
.egg-wrapper.hatched .s2 { animation-delay: 0.1s; --sx: 50px; --sy: -70px; }
.egg-wrapper.hatched .s3 { animation-delay: 0.2s; --sx: -60px; --sy: -30px; }
.egg-wrapper.hatched .s4 { animation-delay: 0.15s; --sx: 30px; --sy: -80px; }
.egg-wrapper.hatched .s5 { animation-delay: 0.25s; --sx: 0px; --sy: -90px; }

@keyframes smokePuff {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0.8; }
  100% { transform: translate(var(--sx), var(--sy)) scale(3); opacity: 0; }
}

.fire-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--fire-gradient);
  border-radius: 50%;
  opacity: 0;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 10px var(--fire-glow);
}

.egg-wrapper.hatched .fire-particle {
  animation: fireParticle 1s ease-out forwards;
}

.egg-wrapper.hatched .f1 { animation-delay: 0s; --fx: -60px; --fy: -80px; }
.egg-wrapper.hatched .f2 { animation-delay: 0.05s; --fx: 50px; --fy: -90px; }
.egg-wrapper.hatched .f3 { animation-delay: 0.1s; --fx: -30px; --fy: -100px; }
.egg-wrapper.hatched .f4 { animation-delay: 0.08s; --fx: 70px; --fy: -60px; }
.egg-wrapper.hatched .f5 { animation-delay: 0.12s; --fx: -80px; --fy: -50px; }
.egg-wrapper.hatched .f6 { animation-delay: 0.15s; --fx: 20px; --fy: -110px; }
.egg-wrapper.hatched .f7 { animation-delay: 0.06s; --fx: -50px; --fy: -70px; }
.egg-wrapper.hatched .f8 { animation-delay: 0.18s; --fx: 40px; --fy: -85px; }

@keyframes fireParticle {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { opacity: 1; }
  100% { transform: translate(var(--fx), var(--fy)) scale(0); opacity: 0; }
}

/* --- BABY DRAGON --- */
.baby-dragon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.8s var(--ease-spring);
}

.egg-wrapper.hatched .baby-dragon {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1);
  animation: dragonBob 3s ease-in-out 1s infinite;
}

@keyframes dragonBob {
  0%, 100% { transform: translate(-50%, -55%) scale(1); }
  50% { transform: translate(-50%, -60%) scale(1.02); }
}

.dragon-body {
  position: relative;
  width: 120px;
  height: 140px;
}

.dragon-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 60px;
  background: linear-gradient(180deg, #6d28d9, #4a1a6b);
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 0 30px var(--purple-glow-soft);
}

.dragon-eye {
  position: absolute;
  width: 14px;
  height: 16px;
  background: radial-gradient(circle, #ff3c00, #ff7a00);
  border-radius: 50%;
  top: 20px;
  box-shadow: 0 0 10px var(--fire-glow);
  animation: dragonBlink 4s infinite;
}

.dragon-eye::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 10px;
  background: #0a0514;
  border-radius: 50%;
  top: 3px;
  left: 4px;
}

.left-eye { left: 14px; }
.right-eye { right: 14px; }

@keyframes dragonBlink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.dragon-horn {
  position: absolute;
  width: 8px;
  height: 25px;
  background: linear-gradient(180deg, #ff7a00, #6d28d9);
  top: -18px;
  border-radius: 4px 4px 0 0;
  transform: rotate(0deg);
}

.left-horn { left: 12px; transform: rotate(-15deg); }
.right-horn { right: 12px; transform: rotate(15deg); }

.dragon-snout {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: linear-gradient(180deg, #5b21b6, #4a1a6b);
  border-radius: 50%;
}

.dragon-nostril {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,60,0,0.6);
  border-radius: 50%;
  top: 5px;
  animation: nostrilGlow 2s infinite alternate;
}

.left-nostril { left: 7px; }
.right-nostril { right: 7px; }

@keyframes nostrilGlow {
  0% { background: rgba(255,60,0,0.4); box-shadow: none; }
  100% { background: rgba(255,60,0,0.9); box-shadow: 0 0 6px var(--fire-glow); }
}

.dragon-belly {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 70px;
  background: linear-gradient(180deg, #4a1a6b, #2d1854);
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.dragon-belly::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 50px;
  background: linear-gradient(180deg, rgba(167,139,250,0.3), rgba(167,139,250,0.1));
  border-radius: 50%;
}

.dragon-wing {
  position: absolute;
  top: 45px;
  width: 50px;
  height: 60px;
  background: linear-gradient(135deg, rgba(109,40,217,0.6), rgba(109,40,217,0.2));
  border-radius: 0 70% 0 70%;
  transform-origin: top right;
}

.left-wing {
  left: -25px;
  transform: rotate(10deg);
  border-radius: 70% 0 70% 0;
  transform-origin: top left;
  animation: wingFlap 2s ease-in-out 1.5s infinite;
}

.right-wing {
  right: -25px;
  animation: wingFlapR 2s ease-in-out 1.5s infinite;
}

@keyframes wingFlap {
  0%, 100% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
}

@keyframes wingFlapR {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.dragon-tail {
  position: absolute;
  bottom: -5px;
  right: -10px;
  width: 40px;
  height: 10px;
  background: linear-gradient(90deg, #4a1a6b, #2d1854);
  border-radius: 10px;
  transform: rotate(-10deg);
  transform-origin: left center;
  animation: tailWag 2s ease-in-out 1.5s infinite;
}

.dragon-tail::after {
  content: '';
  position: absolute;
  right: -12px;
  top: -2px;
  width: 14px;
  height: 14px;
  background: var(--fire-gradient);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--fire-glow);
}

@keyframes tailWag {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.dragon-fire-breath {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  opacity: 0;
}

.egg-wrapper.hatched .dragon-fire-breath {
  animation: fireBreath 3s 2s ease-out forwards;
}

@keyframes fireBreath {
  0% { opacity: 0; }
  10% {
    opacity: 1;
    width: 20px;
    height: 30px;
    background: radial-gradient(ellipse at bottom, #ff3c00 0%, #ff7a00 40%, transparent 70%);
    border-radius: 50%;
    margin-top: -30px;
    box-shadow: 0 0 20px var(--fire-glow);
  }
  30% {
    opacity: 1;
    width: 30px;
    height: 50px;
    margin-top: -50px;
  }
  60% {
    opacity: 0.6;
    width: 15px;
    height: 20px;
    margin-top: -20px;
  }
  100% { opacity: 0; width: 0; height: 0; }
}

.egg-instruction {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: instructionPulse 2s infinite;
}

@keyframes instructionPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.egg-instruction.hidden {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Screen shake */
.screen-shake {
  animation: screenShake 0.5s ease-out;
}

@keyframes screenShake {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(-2px, 1px); }
  20% { transform: translate(2px, -1px); }
  30% { transform: translate(-1px, 2px); }
  40% { transform: translate(1px, -2px); }
  50% { transform: translate(-2px, 0); }
  60% { transform: translate(2px, 1px); }
  70% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
  90% { transform: translate(0, -1px); }
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-fire {
  background: var(--fire-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--fire-glow-soft);
}

.btn-fire:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px var(--fire-glow);
}

.btn-fire:active {
  transform: translateY(0) scale(0.98);
}

.btn-fire .btn-flame {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(109,40,217,0.15);
  border-color: rgba(167,139,250,0.3);
}

.btn-glass:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 22px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.game-card-border {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from 0deg, #ff3c00, #ff7a00, #6d28d9, #a78bfa, #ff3c00);
  animation: borderSpin 6s linear infinite;
  z-index: 0;
  opacity: 0.6;
}

@keyframes borderSpin {
  to { transform: rotate(360deg); }
}

/* A non-rotating glow behind */
.game-card::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--fire-gradient);
  opacity: 0.15;
  filter: blur(20px);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.1; }
  100% { opacity: 0.25; }
}

.game-card-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,3,10,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.5s var(--ease-out);
}

.game-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.game-overlay-content {
  text-align: center;
}

.game-overlay-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 20px var(--purple-glow));
  animation: overlayIconFloat 3s ease-in-out infinite;
}

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

.game-overlay-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 8px;
}

.game-overlay-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.game-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.game-description {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.game-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,3,10,0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s var(--ease-spring);
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 1px solid var(--glass-border);
}

.modal-close:hover {
  background: var(--glass-bg-hover);
  transform: scale(1.1);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--fire-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.modal-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.modal-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.modal-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: var(--section-gap) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  grid-column: span 6;
}

.feature-card.feature-large {
  grid-column: span 12;
}

.feature-card.feature-wide {
  grid-column: span 12;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,139,250,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  bottom: -100px;
  right: -60px;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-glow.fire { background: var(--fire-color); }
.feature-glow.purple { background: var(--purple-color); }
.feature-glow.green { background: var(--green-color); }

.feature-card:hover .feature-glow {
  opacity: 0.15;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
}

.feature-icon-wrap.fire-glow {
  background: rgba(255,60,0,0.15);
  box-shadow: 0 0 20px var(--fire-glow-soft);
}

.feature-icon-wrap.purple-glow {
  background: rgba(109,40,217,0.15);
  box-shadow: 0 0 20px var(--purple-glow-soft);
}

.feature-icon-wrap.green-glow {
  background: rgba(16,185,129,0.15);
  box-shadow: 0 0 20px var(--green-glow-soft);
}

.feature-card:hover .feature-icon-wrap {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-gap) 0;
}

.cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, var(--fire-glow-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, var(--purple-glow-soft) 0%, transparent 50%);
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  margin-bottom: 24px;
}

.cta-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: rgba(5,3,10,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links-group nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   PAGE CONTENT (About, Contact, etc.)
   ============================================ */
.page-content {
  min-height: 100vh;
  padding: 140px 0 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(var(--glass-blur));
  max-width: 800px;
  margin: 0 auto;
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.content-card h2:first-of-type {
  margin-top: 0;
}

.content-card p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-card ul, .content-card ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-card ul {
  list-style: disc;
}

.content-card ol {
  list-style: decimal;
}

.content-card li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.2rem;
}

.responsible-banner {
  background: rgba(255,60,0,0.1);
  border: 1px solid rgba(255,60,0,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.responsible-banner p {
  color: var(--text-primary);
  margin: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  margin: 32px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: var(--purple-color);
  box-shadow: 0 0 16px var(--purple-glow-soft);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.contact-info-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(5,3,10,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  z-index: 900;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card,
  .feature-card.feature-large,
  .feature-card.feature-wide {
    grid-column: span 1;
  }
  
  .feature-card.feature-large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
    --header-height: 64px;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .btn-play-now:not(.mobile-cta) {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-sticky-cta {
    display: block;
  }
  
  .header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 0 16px;
    border-radius: var(--radius-md);
  }
  
  .hero {
    padding: 120px 16px 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .egg-wrapper {
    width: 150px;
    height: 195px;
  }
  
  .egg-glow-ring {
    width: 200px;
    height: 200px;
  }
  
  .egg-glow-ring.ring-2 {
    width: 260px;
    height: 260px;
  }
  
  .dragon-body {
    width: 90px;
    height: 105px;
  }
  
  .dragon-head {
    width: 52px;
    height: 45px;
  }
  
  .dragon-eye {
    width: 10px;
    height: 12px;
    top: 15px;
  }
  
  .dragon-eye::after {
    width: 4px;
    height: 7px;
    top: 2px;
    left: 3px;
  }
  
  .left-eye { left: 10px; }
  .right-eye { right: 10px; }
  
  .dragon-horn {
    width: 6px;
    height: 18px;
    top: -14px;
  }
  
  .dragon-belly {
    top: 38px;
    width: 45px;
    height: 52px;
  }
  
  .dragon-wing {
    top: 34px;
    width: 38px;
    height: 45px;
  }
  
  .left-wing { left: -18px; }
  .right-wing { right: -18px; }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .feature-card.feature-large,
  .feature-card.feature-wide {
    grid-column: span 1;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .game-controls {
    flex-direction: column;
    text-align: center;
  }
  
  .game-actions {
    justify-content: center;
  }
  
  .content-card {
    padding: 28px 20px;
  }
  
  .cta-card {
    padding: 50px 24px;
  }
  
  .modal-card {
    padding: 28px;
  }
  
  /* Add bottom padding for sticky CTA */
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}