/* WAVE 1 theme, loaded after /site.css on the game's pages and the home page card.
   Colours come from the app icon: sand background, plum puck, muted orange power ring.
   Orange is too light for text on sand, so it's only used for the ring, dots and accents. */
:root {
  --wave1-sand: #E9DFCC; --wave1-plum: #5D4466; --wave1-orange: #D5844C; --wave1-dot: #CDBFA6;
  --wave1-ink: #2B2230; --wave1-night: #1D1430;
  --wave1: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;
}
.wave1 { --accent: var(--wave1-orange); }
.wave1 .doc h1 { font: 900 clamp(36px, 8vw, 52px)/1.05 var(--wave1); letter-spacing: -0.01em; }
.wave1 .big-email { font: 800 clamp(22px, 5.5vw, 28px)/1.3 var(--wave1); word-break: break-word; }

/* The scene: sand panel with the title, the pull puck and a gameplay shot, then plum "ground" below.
   It keeps the icon's palette in dark mode too, because it's the key art. */
.wave1-scene { background: var(--wave1-sand); color: var(--wave1-plum); text-align: center; }
.wave1-title { margin: 0; font: 900 clamp(72px, 19vw, 150px)/0.9 var(--wave1); letter-spacing: -0.02em; }
.wave1-tagline { margin: 10px 0 0; font: 800 clamp(18px, 3.6vw, 24px)/1.25 var(--wave1); color: var(--wave1-ink); }
.wave1-ground { background: var(--wave1-plum); color: var(--wave1-sand); }
.wave1-ground a:not(.wave1-btn) { color: var(--wave1-sand); }

/* The pull puck from the icon: the ring fills to 75% and the step dots light up one by one. */
.wave1-puck { display: block; width: clamp(120px, 26vw, 180px); height: auto; margin: 0 auto; overflow: visible; }
.wave1-puck .ring { stroke-dasharray: 75 100; animation: wave1-pull 1400ms cubic-bezier(.3,0,.2,1) 300ms both; }
/* Each lit dot (--i = 1..6) switches on as the ring reaches it. */
.wave1-puck .on { fill: var(--wave1-orange); animation: wave1-dot 1ms step-end both; animation-delay: calc(300ms + var(--i) * 233ms); }
.wave1-puck .off { fill: var(--wave1-dot); }
@keyframes wave1-pull { from { stroke-dasharray: 0 100; } }
@keyframes wave1-dot { from { fill: var(--wave1-dot); } }

.wave1-shot {
  display: block; width: min(300px, 72vw); height: auto; margin: 0 auto;
  border-radius: 28px; border: 6px solid var(--wave1-ink); background: var(--wave1-night);
  box-shadow: 0 18px 40px rgba(43, 34, 48, 0.28);
}

.wave1-btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  background: var(--wave1-sand); color: var(--wave1-plum); text-decoration: none;
  font: 800 18px/1 var(--wave1);
  transition: transform 150ms ease;
}
.wave1-btn:hover { color: var(--wave1-plum); transform: translateY(2px); }
.wave1-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  border: 2px solid currentColor; font-weight: 600; font-size: 15px;
}
/* The app icon, pulled into the pill's padding so the pill stays the same height as the button beside it. */
.wave1-soon img { width: 28px; height: 28px; border-radius: 22%; margin: -6px 0 -6px -8px; }
