:root {
  --bg: #060a14;
  --bg-2: #0a1020;
  --gold: #f0c35a;
  --gold-2: #ffd98a;
  --gold-rgb: 240, 195, 90;
  --blue: #2fa8ff;
  --blue-2: #7cd0ff;
  --text: #f2f5fb;
  --muted: #b3bdd0;
  --foot-h: 44px;
  --horizon: 44%;         /* where the sky meets the water in the background art */
  --moon-size: clamp(130px, 21vmin, 330px);
  --moon-right: 3vw;
  --moon-top: 7vh;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: inherit; }
img { user-select: none; -webkit-user-drag: none; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================================
   Scene: fixed, full-bleed, layered
   ========================================================= */
.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--bg);
  pointer-events: none;
}

.layer {
  position: absolute;
  inset: -3% -3% -3% -3%;   /* bleed so parallax never shows edges */
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.layer .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
}

.sky .bg {
  animation: sky-breathe 40s ease-in-out infinite alternate;
}
@keyframes sky-breathe {
  from { filter: brightness(1) saturate(1); }
  to   { filter: brightness(1.08) saturate(1.08); }
}

/* --- water: same art, clipped to below the horizon, displaced by the SVG ripple filter --- */
.water {
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--horizon) - 3%), #000 calc(var(--horizon) + 3%));
  mask-image: linear-gradient(to bottom, transparent calc(var(--horizon) - 3%), #000 calc(var(--horizon) + 3%));
}
.water .bg {
  filter: url(#ripple);
  animation: water-drift 14s ease-in-out infinite alternate;
}
@keyframes water-drift {
  from { transform: translate3d(0, 0, 0) scale(1.01); }
  to   { transform: translate3d(0, 6px, 0) scale(1.025); }
}

.water-sheen {
  position: absolute;
  left: -10%;
  right: -10%;
  top: var(--horizon);
  bottom: 0;
  background:
    repeating-linear-gradient(
      100deg,
      transparent 0 60px,
      rgba(255, 255, 255, 0.045) 60px 66px,
      transparent 66px 130px
    );
  mix-blend-mode: overlay;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 85%, transparent);
  animation: sheen 22s linear infinite;
}
@keyframes sheen {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(190px, 0, 0); }
}

/* --- moon (also a secret button) --- */
.moon {
  position: absolute;
  right: calc(var(--moon-right) + 3%);
  top: calc(var(--moon-top) + 3%);
  width: var(--moon-size);
  height: var(--moon-size);
  animation: moon-drift 36s ease-in-out infinite alternate;
  /* button reset */
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.moon:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6); }
.moon.zap .moon-halo { animation: halo-zap 0.9s ease-out; }
@keyframes halo-zap {
  0%   { transform: scale(1); opacity: 1; filter: brightness(1); }
  15%  { transform: scale(1.35); opacity: 1; filter: brightness(2.2); }
  100% { transform: scale(1); opacity: 0.9; filter: brightness(1); }
}
.moon img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 28px rgba(255, 196, 92, 0.35));
  animation: moon-spin 240s linear infinite;
}
.moon-halo {
  position: absolute;
  inset: -70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 110, 0.42) 0%, rgba(255, 190, 90, 0.18) 24%, rgba(255, 170, 70, 0.06) 42%, transparent 62%);
  animation: halo 7s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes halo {
  0%, 100% { transform: scale(0.96); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes moon-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-10px, 12px, 0); }
}
@keyframes moon-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(6deg); }
}

/* moonlight path on the water */
.moon-path {
  position: absolute;
  top: var(--horizon);
  bottom: 0;
  right: calc(var(--moon-right) + var(--moon-size) / 2 - 7vw);
  width: 14vw;
  background: linear-gradient(to bottom, rgba(255, 205, 110, 0.55), rgba(255, 190, 90, 0.22) 45%, rgba(255, 190, 90, 0) 95%);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 30%, #000 70%, transparent),
    repeating-linear-gradient(to bottom, #000 0 5px, rgba(0, 0, 0, 0.25) 5px 9px, #000 9px 17px);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 30%, #000 70%, transparent),
    repeating-linear-gradient(to bottom, #000 0 5px, rgba(0, 0, 0, 0.25) 5px 9px, #000 9px 17px);
  mask-composite: intersect;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(2px);
  animation: moon-path 9s ease-in-out infinite;
}
@keyframes moon-path {
  0%, 100% { opacity: 0.45; transform: scaleX(0.9); }
  50%      { opacity: 0.65; transform: scaleX(1.05); }
}

/* --- whale --- */
.whale {
  position: absolute;
  right: calc(11vw + 3%);
  bottom: calc(3vh + 3%);
  height: min(80vh, 60vw);
  aspect-ratio: 872 / 890;
  animation: whale-rise 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.whale img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(47, 168, 255, 0.18));
  animation: whale-float 7s ease-in-out infinite;
  transform-origin: 55% 85%;
}
@keyframes whale-rise {
  from { opacity: 0; transform: translate3d(0, 80px, 0) scale(0.96); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes whale-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.8deg); }
  50%      { transform: translate3d(0, -16px, 0) rotate(0.9deg); }
}

/* --- canvases + overlays --- */
.stars, .sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stars { mix-blend-mode: screen; opacity: 0.9; }
.sparkles { mix-blend-mode: screen; }

.vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 20, 0.72) 0%, rgba(6, 10, 20, 0.35) 38%, rgba(6, 10, 20, 0) 62%),
    linear-gradient(180deg, rgba(6, 10, 20, 0.55) 0%, rgba(6, 10, 20, 0) 22%, rgba(6, 10, 20, 0) 72%, rgba(6, 10, 20, 0.75) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.045;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   Chrome: nav, hero, footer (above the scene)
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 3.2vw, 48px);
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.55), rgba(6, 10, 20, 0));
  animation: fade-down 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand .mark {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 300ms ease;
}
.brand:hover .mark { transform: translateY(-2px) rotate(-4deg); }
.wordmark {
  font-weight: 800;
  font-size: clamp(16px, 1.25vw, 21px);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.accent {
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 55%, #1b86e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  position: relative;
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 20px;
  border: 1.5px solid rgba(var(--gold-rgb), 0.85);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.75), rgba(8, 13, 26, 0.75));
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.pill:hover {
  transform: translateY(-1px);
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.28), rgba(var(--gold-rgb), 0.12));
  box-shadow: 0 0 28px rgba(var(--gold-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  z-index: 2;
  pointer-events: none;      /* let clicks reach the moon; the copy re-enables them */
  flex: 1 1 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 100px clamp(18px, 6vw, 110px) calc(var(--foot-h) + 40px);
}

.copy {
  pointer-events: auto;
  max-width: min(760px, 50vw);
  animation: fade-up 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.headline {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(42px, 5.1vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.headline .accent {
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(47, 168, 255, 0.45));
}

.sub {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: clamp(17px, 1.25vw, 20px);
  padding: 18px 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a3766 0%, #0f2149 55%, #0b1836 100%);
  border: 1.5px solid var(--gold);
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), 0.25),
    0 0 36px rgba(var(--gold-rgb), 0.35),
    0 18px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
  z-index: -1;
}
.cta::after {
  /* sweeping shine */
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -30%;
  width: 28%;
  transform: skewX(-22deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 230, 160, 0.45), transparent);
  animation: shine 5.5s 2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes shine {
  0%, 70% { transform: skewX(-22deg) translateX(-160%); }
  100%    { transform: skewX(-22deg) translateX(560%); }
}
.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), 0.4),
    0 0 56px rgba(var(--gold-rgb), 0.55),
    0 24px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.cta:active { transform: translateY(0) scale(0.99); }
.cta .discord { color: var(--gold-2); flex: none; }
.cta:focus-visible, .pill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.9);
}

@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fade-down {
  from { opacity: 0; transform: translate3d(0, -14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 2;
  height: var(--foot-h);
  margin-top: calc(-1 * var(--foot-h));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.foot a { color: var(--muted); text-decoration: none; transition: color 160ms ease; }
.foot a:hover { color: var(--gold-2); }
.foot .dot { opacity: 0.5; }

/* =========================================================
   Moon secret: lightning layer + "mooning" chart
   ========================================================= */
.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: none;
}
.fx.on { display: block; }

.egg {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(80% 80% at 50% 50%, rgba(6, 10, 20, 0.55), rgba(6, 10, 20, 0.85));
  backdrop-filter: blur(4px);
  animation: egg-in 0.35s ease-out both;
  cursor: pointer;
}
.egg[hidden] { display: none; }
.egg.out { animation: egg-out 0.4s ease-in both; }
@keyframes egg-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes egg-out { from { opacity: 1; } to { opacity: 0; } }

.egg-card {
  width: min(680px, 100%);
  border-radius: 20px;
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.96), rgba(8, 13, 26, 0.96));
  border: 1.5px solid rgba(var(--gold-rgb), 0.7);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.2), 0 0 60px rgba(var(--gold-rgb), 0.3), 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: egg-card-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  cursor: default;
}
@keyframes egg-card-in { from { transform: translateY(24px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }

.egg-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.egg-pair { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }
.egg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.9); }
.egg-price { margin-left: auto; font-size: clamp(20px, 2.4vw, 28px); color: #fff; }
.egg-change { font-size: 15px; color: #3ddc84; padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 132, 0.12); border: 1px solid rgba(61, 220, 132, 0.35); }
.egg-change.red { color: #ff6b6b; background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.35); }

.egg-chart {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.egg-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 14px;
}
.egg-caption { font-weight: 700; color: var(--gold-2); min-height: 1.4em; }
.egg-hint { color: var(--muted); font-size: 12px; opacity: 0.8; }

/* =========================================================
   One-cookie consent bar
   ========================================================= */
.consent {
  position: fixed;
  left: 50%;
  bottom: calc(var(--foot-h) + 14px);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(720px, calc(100vw - 24px));
  padding: 12px 14px 12px 12px;
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.92), rgba(8, 13, 26, 0.92));
  border: 1.5px solid rgba(var(--gold-rgb), 0.65);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.15), 0 0 40px rgba(var(--gold-rgb), 0.22), 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  animation: consent-in 0.7s 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.consent[hidden] { display: none; }
.consent.out { animation: consent-out 0.35s ease-in both; }
@keyframes consent-in  { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes consent-out { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, 24px); } }
.consent img { height: 40px; width: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.consent p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--muted); flex: 1 1 auto; }
.consent p strong { color: #fff; font-weight: 600; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent button {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.consent button:active { transform: translateY(1px); }
.consent-no { color: var(--muted); background: transparent; border: 1px solid rgba(255, 255, 255, 0.18); }
.consent-no:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.consent-yes { color: #1a1200; background: linear-gradient(180deg, #ffd98a, #e9b13f); border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.45); }
.consent-yes:hover { box-shadow: 0 0 28px rgba(var(--gold-rgb), 0.7); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .copy { max-width: min(600px, 54vw); }
  .whale { height: min(70vh, 58vw); right: calc(6vw + 3%); }
}

@media (max-width: 820px), (orientation: portrait) and (max-width: 1100px) {
  :root {
    --horizon: 46%;
    --moon-size: clamp(90px, 24vw, 150px);
    --moon-right: 2vw;
    --moon-top: 12vh;
  }
  .hero {
    align-items: start;
    padding-top: 108px;
    padding-bottom: calc(var(--foot-h) + 16px);
  }
  .copy { max-width: none; }
  .headline { font-size: clamp(36px, 10.5vw, 58px); }
  .sub br { display: none; }
  .cta { display: flex; justify-content: center; width: 100%; padding: 17px 24px; }
  .facts { display: none; }

  .whale {
    height: min(52vh, 110vw);
    right: calc(-10vw + 3%);
    bottom: calc(1vh + 3%);
  }
  .whale img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); }
  .vignette {
    background:
      linear-gradient(180deg, rgba(6, 10, 20, 0.85) 0%, rgba(6, 10, 20, 0.55) 40%, rgba(6, 10, 20, 0.15) 62%, rgba(6, 10, 20, 0.7) 100%);
  }
  .brand .mark { height: 38px; }
  .pill { font-size: 13px; padding: 8px 14px; }

  .consent {
    border-radius: 20px;
    flex-wrap: wrap;
    width: calc(100vw - 20px);
    bottom: calc(var(--foot-h) + 8px);
    padding: 12px 14px;
  }
  .consent img { height: 32px; }
  .consent p { flex: 1 1 60%; font-size: 13px; }
  .consent-actions { flex: 1 1 100%; justify-content: flex-end; }
  .egg-card { padding: 14px 14px 12px; }
  .egg-hint { display: none; }

  /* the SVG displacement filter is expensive on phones */
  .water .bg { filter: none; }
  .grain { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sky .bg, .water .bg, .water-sheen, .moon, .moon img, .moon-halo, .moon-path,
  .whale, .whale img, .grain, .cta::after, .nav, .copy {
    animation: none !important;
  }
  .water .bg { filter: none; }
  .layer { transform: none !important; }
}

/* =========================================================
   Changelog page
   ========================================================= */
.doc {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 22px 60px;
  line-height: 1.6;
  width: 100%;
}
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .sub { color: var(--muted); margin: 0 0 32px; font-size: 16px; }
.doc h2 { color: var(--gold-2); margin-top: 36px; border-bottom: 1px solid rgba(var(--gold-rgb), 0.2); padding-bottom: 6px; }
.doc h3 { color: var(--blue); margin-top: 24px; }
.doc a { color: var(--blue); }
.doc code { background: rgba(255, 255, 255, 0.07); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }
.doc li { margin: 4px 0; }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; }
.doc .back:hover { color: var(--gold-2); }
.doc .error { color: #ff8a8a; }
body.page { background: radial-gradient(1200px 600px at 70% 10%, #0e1830 0%, var(--bg) 60%); }
body.page .foot { margin-top: 0; }
