:root {
  --ink: #22183a;
  --ink-soft: #4a4060;
  --lavender: #d9d3ee;
  --paper: #f6f4fb;
  --line: #e4e1ee;
  --white: #ffffff;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #f28c28; outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.topbar { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; }
.brand { display: block; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.topbar nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.topbar nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; padding: 0.7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1.5px solid currentColor; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent, #f28c28); color: var(--on, var(--ink)); border-color: var(--accent, #f28c28); }
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--accent, #f28c28); color: var(--on, var(--ink)); }

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white); padding: clamp(2.5rem, 7vw, 5rem) 0;
  background:
    radial-gradient(55% 75% at 88% 15%, color-mix(in srgb, var(--accent, #f28c28) 42%, transparent), transparent 70%),
    radial-gradient(50% 70% at 5% 105%, rgba(107, 91, 214, 0.5), transparent 70%),
    linear-gradient(155deg, #2c1e4f 0%, #1b1333 55%, #110b1e 100%);
}
/* Fine dot grid that fades out toward the bottom */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
/* Slow drifting glow in the featured app's color */
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 46vw; height: 46vw; right: 2%; top: 18%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #f28c28) 55%, transparent), transparent 65%);
  filter: blur(40px); opacity: 0.55; animation: hero-drift 16s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-12vw, -8%) scale(1.15); }
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 1rem; max-width: 14ch; }
.hero p { color: var(--lavender); font-size: 1.15rem; max-width: 40ch; margin: 1.1rem 0 1.6rem; }
.hero .btn:not(.btn--solid) { color: var(--white); }
.frame { background: #120c20; border: 8px solid #3a2f55; border-radius: 28px; box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--accent, #f28c28) 55%, transparent), 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden; justify-self: center; width: fit-content; max-width: 100%; display: grid; place-items: center; }
.frame img.shot { height: clamp(360px, 62vh, 520px); width: auto; object-fit: contain; }
.frame .big-icon { width: min(220px, 50vw); margin: 2.5rem; border-radius: 22%; }

.section { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; margin-bottom: 1.2rem; }

.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.season { display: flex; flex-direction: column; justify-content: space-between; gap: 0.6rem; min-height: 170px; padding: 1rem; border-radius: 18px; color: #fff; text-decoration: none; transition: transform 0.15s ease;
  background: linear-gradient(to bottom, rgba(14, 8, 28, 0.4), transparent 40%), linear-gradient(to top, rgba(14, 8, 28, 0.82), rgba(14, 8, 28, 0.2) 65%), var(--bg, none) center / cover no-repeat, var(--accent); }
.season[data-slug="spooky-halloween-sounds"] { --bg: url(img/season-spooky-halloween-sounds.jpg); }
.season[data-slug="tap-the-turkey"] { --bg: url(img/season-tap-the-turkey.jpg); }
.season[data-slug="christmas-countdown-deluxe"] { --bg: url(img/season-christmas-countdown-deluxe.jpg); }
.season[data-slug="hush"] { --bg: url(img/season-hush.jpg); }
.season:hover { transform: translateY(-3px); }
.season img { width: 44px; height: 44px; border-radius: 11px; border: 2px solid rgba(255,255,255,0.6); }
.season small { font-weight: 700; font-size: 0.8rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.season strong { font-size: 0.98rem; line-height: 1.25; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.season.is-now { outline: 3px solid var(--ink); outline-offset: 3px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
/* Subgrid keeps each card's head, text, buttons and link on shared rows across the row of cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.25rem; display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 0.8rem; }
.card-head { display: flex; align-items: flex-start; gap: 0.9rem; }
.card-head img { width: 58px; height: 58px; border-radius: 14px; flex: none; }
.card h3 { font-size: 1.2rem; font-weight: 600; }
.card .label { display: block; margin-top: 0.3rem; line-height: 1.3; font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.card .btn { padding: 0.6rem 1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card .btns { align-self: start; }
.card .more { align-self: end; justify-self: start; }
.card .more { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.app-hero { background: var(--tint); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.app-hero .wrap { display: flex; gap: clamp(1.2rem, 4vw, 2.5rem); align-items: center; flex-wrap: wrap; }
.app-hero .icon { width: clamp(104px, 18vw, 150px); border-radius: 24%; box-shadow: 0 10px 30px rgba(34, 24, 58, 0.18); }
.app-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.app-hero .tagline { font-size: 1.2rem; color: var(--ink-soft); margin: 0.5rem 0 1.2rem; }
.app-hero .btn:not(.btn--solid) { color: var(--ink); }

.shots { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; }
.shots img { flex: none; height: clamp(320px, 55vh, 480px); width: auto; object-fit: contain; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--white); }

.details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.details ul { margin: 0; padding-left: 1.2rem; }
.details li { margin-bottom: 0.5rem; }
.details li::marker { color: var(--accent); }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.links { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; font-weight: 700; }
.lock { background: var(--accent); color: var(--white); border-radius: 22px; padding: 2rem; display: grid; gap: 0.6rem; }
.lock code { font-family: ui-monospace, Menlo, monospace; font-size: 0.95rem; opacity: 0.9; word-break: break-all; }

footer { background: var(--ink); color: var(--lavender); padding: 1.6rem 0; font-size: 0.95rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
footer a { color: var(--white); font-weight: 700; }

@media (max-width: 760px) {
  .hero .wrap, .details { grid-template-columns: 1fr; }
  .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .season { transition: none; }
  .hero::after { animation: none; }
}

/* Store screenshots designed as one continuous panorama */
.shots--pano { gap: 0; }
.shots--pano img { border: 0; border-radius: 0; }
.shots--pano img:first-child { border-radius: 18px 0 0 18px; }
.shots--pano img:last-child { border-radius: 0 18px 18px 0; }
