/* =========================================================
   GAMMA KIDS — styles
   Palette: bubblegum pinks + toy-block primaries
   ========================================================= */
/* Self-hosted fonts (OFL) */
@font-face { font-family: "Fredoka"; src: url(assets/fonts/fredoka-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(assets/fonts/fredoka-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(assets/fonts/fredoka-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(assets/fonts/space-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(assets/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(assets/fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-opsz-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-opsz-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --pink-50: #fff3f8;
  --pink-100: #ffe1ee;
  --pink-200: #ffc4de;
  --pink-400: #ff8cc2;
  --pink-500: #ff5fa8;
  --pink-600: #f03d8f;
  --berry: #3a0b2e;
  --berry-2: #6b1d55;
  --yellow: #ffd23f;
  --sky: #6ec6ff;
  --mint: #7be0ad;
  --lilac: #b79cff;
  --orange: #ff8a3d;
  --white: #ffffff;

  --f-display: "Fredoka", "Space Grotesk", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Space Grotesk", system-ui, sans-serif;

  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--berry);
  background: var(--pink-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--berry);
  color: var(--pink-100);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 9px 0;
}
.ticker__track { display: inline-flex; align-items: center; gap: 22px; animation: marquee 28s linear infinite; }
.ticker__track span { line-height: 1; }
.ticker__track i { font-style: normal; color: var(--pink-500); line-height: 1; display: inline-block; font-size: 12px; transform: translateY(0.02em); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--pink-100) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__gamma { height: 22px; width: auto; filter: brightness(0) saturate(100%) invert(9%) sepia(40%) saturate(3500%) hue-rotate(295deg); }
.nav__kids {
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .08em;
  background: var(--pink-500); color: #fff; padding: 4px 10px 3px; border-radius: 999px;
  transform: rotate(-4deg);
}
.nav__links { display: flex; align-items: center; gap: 28px; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.nav__links a { text-decoration: none; position: relative; line-height: 1.2; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--pink-500); transform: scaleX(0); transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.btn-museum {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--berry); color: #fff;
  box-shadow: 0 4px 0 var(--pink-600);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-museum:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-600); }
.btn-museum__m {
  width: 22px; height: 18px; background: currentColor;
  -webkit-mask: url(assets/svg/m.svg) center / contain no-repeat;
          mask: url(assets/svg/m.svg) center / contain no-repeat;
}
.btn-museum__arrow { font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: max(720px, min(calc(100svh - 100px), 64vw));
  padding: clamp(24px, 4vw, 56px) var(--gutter) 0;
  background: linear-gradient(#fff3f8, var(--pink-100) 45%);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.eyebrow {
  margin: 0 0 10px; font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px); color: var(--berry-2);
}
.hero__copy { position: relative; z-index: 5; max-width: 900px; }
.music-btn {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--berry);
  font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.music-btn__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--pink-500); color: #fff; box-shadow: 0 3px 0 var(--berry);
  transition: transform .15s, box-shadow .15s;
}
.music-btn__icon svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.music-btn .i-pause, .music-btn.is-playing .i-play { display: none; }
.music-btn.is-playing .i-pause { display: block; }
.music-btn:hover .music-btn__icon { transform: translateY(2px); box-shadow: 0 1px 0 var(--berry); }
.music-btn:focus-visible { outline: none; }
.music-btn:focus-visible .music-btn__icon { outline: 3px solid var(--yellow); outline-offset: 2px; }
.music-btn__eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.music-btn__eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--pink-500); }
.music-btn.is-playing .music-btn__eq i { animation: eq .9s ease-in-out infinite; }
.music-btn.is-playing .music-btn__eq i:nth-child(2) { animation-delay: -.3s; }
.music-btn.is-playing .music-btn__eq i:nth-child(3) { animation-delay: -.6s; }
.music-btn.is-playing .music-btn__eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.hero__title {
  margin: 0; line-height: .86; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .04em;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(60px, 10vw, 150px); letter-spacing: -.01em;
}
.ht { display: inline-block; color: var(--pink-500); text-shadow: 0 .05em 0 var(--berry); animation: hop 3.2s ease-in-out infinite; }
.ht--2 { color: var(--yellow); animation-delay: .15s; }
.ht--3 { color: var(--sky); animation-delay: .3s; }
.ht--4 { color: var(--mint); animation-delay: .45s; }
.ht--5 { color: var(--lilac); animation-delay: .6s; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-.08em) rotate(-3deg); } 90% { transform: translateY(0) rotate(2deg); } }
.hero__title-kids {
  font-family: var(--f-serif); font-weight: 300; font-style: italic; color: var(--berry);
  font-size: .62em; margin-left: .12em; letter-spacing: 0;
}
.hero__sub { margin: 18px 0 0; max-width: 460px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; }

/* Sticker */
.sticker {
  position: absolute; z-index: 6;
  top: clamp(20px, 6vw, 70px); right: clamp(16px, 6vw, 90px);
  width: clamp(104px, 13vw, 170px); aspect-ratio: 1;
  display: grid; place-items: center; text-decoration: none;
  background: var(--pink-500); border-radius: 50%;
  box-shadow: 0 8px 0 var(--berry);
  transform: rotate(-10deg);
}
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker__ring text { font-family: var(--f-display); font-weight: 700; font-size: 17px; fill: #fff; }
.sticker__core {
  font-family: var(--f-display); font-weight: 700; color: var(--berry);
  background: var(--yellow); border-radius: 50%;
  width: 46%; aspect-ratio: 1; display: grid; place-items: center;
  font-size: clamp(14px, 1.6vw, 22px);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scene — a foam play mat seen from above; the pairs lie on it, toys scattered around */
.scene { position: absolute; inset: 0; z-index: 1; --u: clamp(38px, 5.1vw, 82px); }

/* Foam play mat in perspective: tiles recede toward the top, matching the shoes' top-down camera */
.mat {
  --tile: clamp(110px, 11vw, 170px);
  position: absolute; z-index: 0; pointer-events: none;
  left: -80%; right: -80%; top: -60%; bottom: -4%;
  transform-origin: 50% 100%;
  transform: perspective(1200px) rotateX(46deg);
  background-color: #ffe3ef;
  background-image:
    conic-gradient(#ffcbe1 0 25%, transparent 0 50%, #ffcbe1 0 75%, transparent 0);
  background-size: calc(var(--tile) * 2) calc(var(--tile) * 2);
  background-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 62%, rgba(0,0,0,.55) 78%, transparent 92%);
          mask-image: linear-gradient(to top, #000 62%, rgba(0,0,0,.55) 78%, transparent 92%);
}
.mat::after {
  /* soft light from above, slightly darker toward the viewer */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(255,255,255,.45), transparent 70%),
              linear-gradient(to bottom, transparent 60%, rgba(240,61,143,.10));
}

.pairs { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pair {
  position: absolute; display: block; text-decoration: none; pointer-events: auto;
  width: clamp(220px, 26vw, 420px);
  animation: settle .9s cubic-bezier(.3,1.4,.5,1) both;
}
.pair--lambo     { left: 3%;  top: 49%; animation-delay: .15s; }
.pair--magma     { left: 35%; top: 41%; width: clamp(200px, 24vw, 390px); animation-delay: .3s; }
.pair--squirrels { left: 64%; top: 53%; width: clamp(230px, 28vw, 440px); animation-delay: .45s; }
.pair img {
  width: 100%; height: auto;
  filter: drop-shadow(0 10px 7px rgba(58, 11, 46, .32));
  transition: transform .45s cubic-bezier(.3,1.6,.5,1), filter .45s ease;
}
.pair:hover img, .pair:focus-visible img {
  transform: translateY(-26px) rotate(-2deg) scale(1.05);
  filter: drop-shadow(0 46px 22px rgba(58, 11, 46, .2));
}
.pair:focus-visible { outline: none; }
.pair__tag {
  position: absolute; left: 50%; bottom: -6px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(12px, 1.1vw, 15px);
  background: #fff; color: var(--berry); padding: 5px 14px 5px 5px; border-radius: 999px;
  box-shadow: 0 3px 0 var(--berry);
  transition: background .25s, color .25s, transform .35s cubic-bezier(.3,1.6,.5,1);
}
.pair__tag b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  background: var(--pink-500); color: #fff; font-weight: 700; font-size: 13px;
}
.pair:hover .pair__tag, .pair:focus-visible .pair__tag { background: var(--berry); color: #fff; transform: translateY(4px); }
@keyframes settle { from { opacity: 0; transform: translateY(-40px) scale(.96); } to { opacity: 1; transform: none; } }

/* CSS 3D toy block */
.cube {
  --size: 60px;
  --d: calc(var(--size) / 2);
  position: relative; width: var(--size); height: var(--size);
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(-30deg);
}
.cube b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-style: normal;
  font-size: calc(var(--size) * .58); line-height: 1; color: #fff;
  background: var(--c);
  border-radius: calc(var(--size) * .1);
  box-shadow: inset 0 0 0 calc(var(--size) * .06) color-mix(in srgb, var(--c) 70%, #fff),
              inset 0 0 0 calc(var(--size) * .085) color-mix(in srgb, var(--c) 82%, #000);
  text-shadow: 0 calc(var(--size) * .03) 0 color-mix(in srgb, var(--c) 60%, #000);
  backface-visibility: hidden;
}
.cube .f { transform: translateZ(var(--d)); }
.cube .r { transform: rotateY(90deg) translateZ(var(--d)); filter: brightness(.86); font-size: calc(var(--size) * .46); }
.cube .t { transform: rotateX(90deg) translateZ(var(--d)); filter: brightness(1.08); }
.cube .t::after { content: "★"; font-size: calc(var(--size) * .4); color: rgba(255,255,255,.9); text-shadow: none; }

/* Toys lying on the mat */
.toys { position: absolute; inset: 0; z-index: 2; }
.toy {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--u) * var(--k, 1));
  filter: drop-shadow(0 5px 3px rgba(58, 11, 46, .28));
  transform: rotate(var(--r, 0deg));
}
.toy.mini { width: auto; filter: drop-shadow(0 6px 4px rgba(58, 11, 46, .25)); }
.mini .cube { --size: calc(var(--u) * var(--k, 1) * .78); }
.toy:hover { animation: wiggle .6s ease both !important; }
@keyframes wiggle {
  0%, 100% { transform: rotate(var(--r, 0deg)); }
  30% { transform: rotate(calc(var(--r, 0deg) + 14deg)) translateY(-6px); }
  60% { transform: rotate(calc(var(--r, 0deg) - 10deg)); }
}

/* positions (desktop) */
.c1 { --x: 27%; --y: 85%; --k: 1;   --r: 18deg; }
.c2 { --x: 31%; --y: 72%; --k: .75; --r: -14deg; }
.c3 { --x: 92%; --y: 36%; --k: 1;   --r: 8deg; }
.c4 { --x: 62%; --y: 30%; --k: .8;  --r: -22deg; }
.c5 { --x: 1%;  --y: 86%; --k: .9;  --r: 30deg; }
.c6 { --x: 57%; --y: 87%; --k: .8;  --r: -8deg; }
.c7 { --x: 90%; --y: 88%; --k: .85; --r: 22deg; }
.t-ball  { --x: 77%; --y: 33%; --k: 1.15; --r: 20deg; }
.t-ball2 { --x: 27%; --y: 46%; --k: .6;  }
.t-ball3 { --x: 95%; --y: 63%; --k: .55; --r: 40deg; }
.t-cr1 { --x: 15%; --y: 93%; --k: 1.6; --r: -24deg; }
.t-cr2 { --x: 44%; --y: 92%; --k: 1.5; --r: 10deg; }
.t-cr3 { --x: 60%; --y: 46%; --k: 1.3; --r: 74deg; }
.t-cr4 { --x: 77%; --y: 91%; --k: 1.5; --r: -16deg; }
.t-star  { --x: 54%; --y: 30%; --k: .6;  --r: 12deg; }
.t-star2 { --x: 31%; --y: 60%; --k: .45; --r: -20deg; }
.t-top   { --x: 69%; --y: 24%; --k: .7;  --r: 72deg; }
.t-rings { --x: 72%; --y: 6%;  --k: .9;  --r: -8deg; }
.t-ring1 { --x: 36%; --y: 84%; --k: .8;  --r: 8deg; }
.t-ring2 { --x: 88%; --y: 50%; --k: .7;  --r: -12deg; }
.t-duck  { --x: 85%; --y: 41%; --k: 1.05; --r: -8deg; }
.t-yoyo  { --x: 50%; --y: 84%; --k: .6;  }
.t-rocket { --x: 96%; --y: 74%; --k: .55; --r: -68deg; }
.t-puzzle  { --x: 9%; --y: 82%; --k: .7; --r: 14deg; }
.t-puzzle2 { --x: 66%; --y: 90%; --k: .6; --r: -30deg; }

.c8 { --x: 40%; --y: 49%; --k: .7; --r: 12deg; }
.t-star3 { --x: 1%; --y: 50%; --k: .45; --r: 24deg; }
.t-cr5 { --x: 62%; --y: 17%; --k: 1.3; --r: 32deg; }
.t-ball4 { --x: 55%; --y: 75%; --k: .5; }
.drop { animation: drop 1.1s cubic-bezier(.3,0,.6,1) both; }
@keyframes drop {
  0%   { opacity: 0; transform: translateY(-70px) rotate(calc(var(--r, 0deg) - 40deg)) scale(1.25); }
  55%  { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)) scale(1); }
  72%  { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 6deg)); }
  86%  { transform: translateY(0) rotate(var(--r, 0deg)); }
  93%  { transform: translateY(-4px) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: rotate(var(--r, 0deg)); }
}

/* ---------- Intro ---------- */
.intro {
  background: var(--pink-400);
  padding: clamp(56px, 9vw, 120px) var(--gutter);
  text-align: center; color: var(--berry);
}
.intro__text {
  margin: 0 auto; max-width: 980px;
  font-family: var(--f-serif); font-weight: 300; line-height: 1.25;
  font-size: clamp(22px, 3.1vw, 40px);
}
.intro__text a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hl { background: var(--yellow); padding: 0 .2em; border-radius: .25em; font-style: italic; }
.intro__chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  background: #fff; padding: 8px 16px; border-radius: 999px;
}
.chip--hot { background: var(--berry); color: #fff; }

/* ---------- Products ---------- */
.product {
  --accent: var(--yellow);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(64px, 9vw, 130px) var(--gutter);
  background: var(--pink-50);
  overflow: hidden;
}
.product::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  left: -20vw; top: -10vw; z-index: 0;
}
.product > * { position: relative; z-index: 1; }
.product--magma { --accent: var(--lilac); background: var(--pink-100); }
.product--squirrels { --accent: var(--orange); }
.product--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.product--flip .product__info { order: 2; }
.product--flip::before { left: auto; right: -20vw; }

.product__no {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 18px;
}
.badge-block {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--c); color: #fff; font-family: var(--f-display); font-weight: 700; font-style: normal; font-size: 22px;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c) 70%, #fff), 0 4px 0 color-mix(in srgb, var(--c) 70%, #000);
  transform: rotate(-6deg);
}
.product__name {
  margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 104px); line-height: .9; color: var(--pink-500);
  text-shadow: 0 .05em 0 var(--berry);
}
.product__tagline { margin: 14px 0 0; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); }
.product__desc { margin: 18px 0 0; max-width: 480px; line-height: 1.6; font-size: 16px; }
.product__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-soon {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--pink-500); color: #fff; padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--berry); cursor: default;
}
.btn-soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.btn-ghost {
  display: inline-flex; align-items: center; font-weight: 600; text-decoration: none;
  padding: 13px 20px; border-radius: 999px; border: 2px solid var(--berry);
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--berry); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; }
.gallery__main {
  position: relative; padding: 0; border: 0; cursor: zoom-in; background: #fff;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 10px 0 var(--berry);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform .6s ease; }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__main::after {
  content: "COMING SOON"; position: absolute; left: 16px; top: 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .12em;
  background: var(--yellow); color: var(--berry); padding: 6px 12px; border-radius: 999px;
}
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button {
  padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 5; background: #fff; transition: border-color .2s, transform .2s;
}
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button.is-active { border-color: var(--pink-500); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { scrollbar-width: thin; scrollbar-color: var(--pink-400) var(--pink-100); }
.gallery__thumbs::-webkit-scrollbar { height: 6px; width: 6px; }
.gallery__thumbs::-webkit-scrollbar-track { background: var(--pink-100); border-radius: 999px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--pink-400); border-radius: 999px; }


/* ---------- Arcade: Lambo Rush ---------- */
.arcade {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,95,168,.25), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(183,156,255,.22), transparent 40%),
    var(--berry);
  color: #fff;
}
.arcade::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(#ff8cc2 1.2px, transparent 1.6px);
  background-size: 28px 28px;
}
.arcade > * { position: relative; }
.arcade__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--pink-200); }
.arcade__title {
  margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(60px, 9vw, 132px); line-height: .86; color: var(--pink-500);
  text-shadow: 0 .05em 0 var(--yellow), 0 .1em 0 #000;
}
.arcade__lead { margin: 20px 0 0; max-width: 470px; line-height: 1.6; color: #ffe1ee; }
.arcade__rules { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; max-width: 470px; }
.arcade__rules li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border-radius: 16px; padding: 10px 14px; }
.arcade__rules svg { width: 36px; height: 36px; flex: none; }
.arcade__rules b { color: var(--yellow); font-weight: 600; }
.arcade__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.key {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--berry);
  background: #fff; border-radius: 10px; box-shadow: 0 4px 0 var(--pink-400);
}
.arcade__or { font-family: var(--f-serif); font-style: italic; color: var(--pink-200); padding: 0 4px; }
.arcade__keys-note { flex-basis: 100%; font-size: 14px; color: var(--pink-200); margin-top: 6px; }
.arcade__best { margin: 24px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--pink-200); }
.arcade__best b { margin-left: 8px; color: var(--yellow); font-size: 26px; font-variant-numeric: tabular-nums; }

/* the console */
.game {
  width: 100%; max-width: min(440px, calc((100svh - 230px) * 9 / 16 + 36px)); min-width: min(100%, 280px); justify-self: center;
  background: var(--pink-500); border-radius: 34px; padding: 18px 18px 16px;
  box-shadow: 0 14px 0 #c12e74, 0 30px 60px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.35);
}
.game__screen {
  position: relative; border-radius: 20px; overflow: hidden;
  background: #9fe6c2; box-shadow: inset 0 0 0 4px var(--berry), 0 0 0 4px #ff8cc2;
}
.game canvas { display: block; width: 100%; aspect-ratio: 9 / 16; max-width: 100%; touch-action: none; outline: none; cursor: pointer; }
.game.is-playing canvas { cursor: none; }
.game canvas:focus-visible { box-shadow: inset 0 0 0 4px var(--yellow); }
.game__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  background: linear-gradient(rgba(58,11,46,.25), rgba(58,11,46,.6));
}
.game__overlay[hidden] { display: none; }
.game__ov-kicker { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.game__ov-title {
  margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 9vw, 52px); line-height: .95; color: #fff; text-shadow: 0 4px 0 var(--pink-500), 0 7px 0 var(--berry);
}
.game__ov-text { margin: 4px 0 8px; color: #fff; line-height: 1.5; font-size: 15px; text-shadow: 0 1px 2px rgba(58,11,46,.6); }
.game__ov-text strong { font-family: var(--f-display); font-size: 30px; color: var(--yellow); }
.game__ov-btn {
  border: 0; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .04em;
  background: var(--yellow); color: var(--berry); padding: 14px 34px; border-radius: 999px;
  box-shadow: 0 5px 0 var(--berry); transition: transform .12s, box-shadow .12s;
  animation: bounceBtn 1.6s ease-in-out infinite;
}
.game__ov-btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--berry); }
.game__ov-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes bounceBtn { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.game__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0 4px; }
.game__mute {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; background: var(--berry); color: #fff; font-weight: 600; font-size: 13px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
}
.game__mute svg { width: 20px; height: 20px; }
.game__mute[data-muted="1"] .wave { opacity: .2; }
.game__mute:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.game__brand { font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; color: var(--berry); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.game__brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--berry); }
.game__pads { display: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.game__pads button {
  border: 0; cursor: pointer; height: 64px; border-radius: 20px; font-size: 26px; color: var(--berry);
  background: #fff; box-shadow: 0 6px 0 var(--berry); touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.game__pads button:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--berry); }
@media (pointer: coarse), (max-width: 600px) { .game__pads { display: grid; } }
.nav__play { display: inline-flex; align-items: center; background: var(--yellow); padding: 6px 14px 5px; border-radius: 999px; line-height: 1; }
.nav__play::after { display: none; }
@media (max-width: 900px) {
  .arcade { grid-template-columns: 1fr; gap: 0; }
  .arcade__info { display: contents; }
  .arcade__kicker { order: 1; } .arcade__title { order: 2; } .arcade__lead { order: 3; }
  .game { order: 4; margin-top: 28px; }
  .arcade__rules { order: 5; margin-top: 36px; } .arcade__keys { order: 6; } .arcade__best { order: 7; }
}
@media (max-width: 600px) {
  .game { padding: 12px 12px 12px; border-radius: 26px; }
}

/* ---------- Coming soon band ---------- */
.soon { background: var(--pink-500); color: #fff; overflow: hidden; }
.soon__marquee { white-space: nowrap; padding: 26px 0 0; }
.soon__track {
  display: inline-flex; gap: 40px; animation: marquee 22s linear infinite;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 10vw, 150px); line-height: 1;
}
.soon__track .o { color: transparent; -webkit-text-stroke: 2px #fff; }
.soon__body { padding: clamp(36px, 6vw, 70px) var(--gutter) clamp(64px, 9vw, 110px); text-align: center; }
.soon__title { margin: 0; font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(32px, 5vw, 64px); }
.soon__text { margin: 14px auto 0; max-width: 520px; line-height: 1.6; }
.soon__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-pop {
  font-family: var(--f-display); font-weight: 700; font-size: 17px; text-decoration: none;
  background: var(--yellow); color: var(--berry); padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 5px 0 var(--berry); transition: transform .15s, box-shadow .15s;
}
.btn-pop:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--berry); }
.btn-pop--alt { background: #fff; }

/* ---------- Footer (mirrors GAMMA MUSEUM) ---------- */
.footer { background: var(--berry); color: #fff; padding: clamp(56px, 8vw, 100px) var(--gutter) 28px; }
.footer__title { margin: 0; font-family: var(--f-serif); font-weight: 300; text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
.footer__social { display: flex; gap: 14px; margin-top: 30px; }
.footer__social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); transition: background .2s; }
.footer__social a:hover { background: var(--pink-500); }
.footer__social svg { width: 26px; height: 26px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: clamp(56px, 8vw, 110px); font-size: 12px; }
.footer__bottom p { margin: 0; opacity: .85; }
.footer__m {
  width: 70px; height: 54px; background: #fff;
  -webkit-mask: url(assets/svg/m.svg) center / contain no-repeat;
          mask: url(assets/svg/m.svg) center / contain no-repeat;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(58, 11, 46, .92); padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 16px; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; cursor: pointer; background: var(--pink-500); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .product, .product--flip { grid-template-columns: 1fr; }
  .product--flip .product__info { order: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .gallery__thumbs button { border-radius: 12px; border-width: 2px; }
}
@media (max-width: 600px) {
  .btn-museum__label { display: none; }
  .btn-museum { padding: 9px 12px; }
  .nav__gamma { height: 18px; }
  .hero { height: 880px; }
  .scene { --u: 40px; }
  .sticker { top: 236px; right: 14px; width: 96px; }
  .pair--lambo     { left: -2%; top: 31%; width: 62vw; }
  .pair--magma     { left: auto; right: -4%; top: 50%; width: 56vw; }
  .pair--squirrels { left: 0;  top: 74%; width: 66vw; }
  .c1 { --x: 64%; --y: 39%; } .c2 { --x: 6%; --y: 60%; } .c3 { --x: 80%; --y: 88%; }
  .c4 { --x: 40%; --y: 28%; } .c5 { --x: 4%; --y: 94%; } .c6 { --x: 36%; --y: 66%; } .c7 { display: none; }
  .t-ball { --x: 74%; --y: 75%; --k: 1.1; } .t-ball2 { --x: 22%; --y: 54%; } .t-ball3 { display: none; }
  .t-cr1 { --x: 50%; --y: 95%; --k: 1.4; } .t-cr2 { --x: 52%; --y: 44%; --k: 1.3; --r: -30deg; } .t-cr3 { display: none; } .t-cr4 { --x: 4%; --y: 49%; --k: 1.3; }
  .t-star { --x: 22%; --y: 31%; } .t-star2 { --x: 86%; --y: 46%; }
  .t-top { --x: 88%; --y: 66%; } .t-rings { display: none; }
  .t-ring1 { --x: 30%; --y: 71%; } .t-ring2 { --x: 62%; --y: 32%; }
  .t-duck { --x: 72%; --y: 92%; } .t-yoyo { --x: 12%; --y: 70%; }
  .t-rocket, .t-puzzle2, .c8, .t-star3, .t-cr5, .t-ball4 { display: none; } .t-puzzle { --x: 88%; --y: 30%; }
  .footer__bottom { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
