* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #171717;
  background: #fff;
  font:
    17px/1.6 system-ui,
    sans-serif;
}
h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 12px 0 20px;
  font-weight: 850;
}
h1 {
  font-size: clamp(42px, 6vw, 86px);
}
h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}
p {
  max-width: 65ch;
}
a {
  color: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  gap: 20px;
  flex-wrap: wrap;
}
header img,
footer img {
  width: 210px;
  height: auto;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  font-weight: 700;
}
.btn {
  display: inline-block;
  background: #f5b82e;
  color: #111;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  margin: 8px 0;
}
section {
  padding: 64px 6%;
}
small {
  font-weight: 750;
  letter-spacing: 0.12em;
}
img {
  max-width: 100%;
  display: block;
}
.hero {
  background: #111;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero small,
.dark small {
  color: #f5b82e;
}
.hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
}
.stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  background: #f5b82e;
  text-align: center;
  padding: 24px 5%;
}
.stats b {
  display: block;
  font-size: 42px;
}
.cards,
.gallery,
.uses,
.detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cards article {
  border: 1px solid #ddd;
  border-radius: 14px;
  overflow: hidden;
}
.cards img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.pad {
  padding: 24px;
}
.dark,
footer {
  background: #111;
  color: white;
}
.uses,
.gallery {
  grid-template-columns: repeat(3, 1fr);
}
.uses div {
  background: #f7f4ed;
  padding: 24px;
  border-radius: 8px;
  font-weight: 700;
}
.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.gallery {
  margin-bottom: 24px;
}
.cream {
  background: #f7f4ed;
}
footer {
  padding: 40px 6%;
}
.detail img {
  border-radius: 10px;
  margin-bottom: 16px;
}
@media (max-width: 720px) {
  nav {
    gap: 12px;
    font-size: 14px;
  }
  .hero,
  .cards,
  .detail {
    grid-template-columns: 1fr;
  }
  .hero img {
    height: 300px;
  }
  .gallery,
  .uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery img {
    height: 170px;
  }
  .stats b {
    font-size: 30px;
  }
  .stats {
    font-size: 13px;
  }
  section {
    padding: 40px 5%;
  }
}

html {scroll-behavior:smooth}
body {background:#fffdf7}
header {background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 0 #111}
header img {width:180px;mix-blend-mode:multiply;clip-path:inset(2% 1%);filter:contrast(1.35)}
footer img {mix-blend-mode:screen;filter:contrast(1.4)}
nav a:not(.btn):hover {text-decoration:underline;text-decoration-color:#f5b82e;text-decoration-thickness:4px}
.btn {border:2px solid #111;border-radius:40px;box-shadow:4px 4px 0 #111;transition:transform .2s,box-shadow .2s;cursor:pointer}
.btn:hover {transform:translate(-3px,-3px);box-shadow:7px 7px 0 #111}
.hero {overflow:hidden;min-height:570px;background:radial-gradient(circle at 80% 40%,#51401d,#111 55%);padding-block:85px}
.hero h1 em {color:#f5b82e;font-style:normal;display:inline-block;transform:rotate(-4deg);border-bottom:5px solid #f5b82e}
.hero-art {position:relative;padding:15px 25px 35px 15px}
.hero-art>img:first-child {transform:rotate(4deg);border:7px solid #fff;box-shadow:12px 12px 0 #f5b82e}
.hero-art .float-card {position:absolute;width:36%;height:auto;aspect-ratio:1;bottom:0;left:-12px;border:5px solid white;box-shadow:6px 8px 0 #111;animation:bob 4s ease-in-out infinite}
.sticker {position:absolute;right:0;top:-25px;background:#f5b82e;color:#111;border:3px solid #111;border-radius:50%;width:110px;height:110px;display:grid;place-content:center;text-align:center;font-weight:950;font-size:24px;line-height:1;transform:rotate(12deg);animation:bob 5s ease-in-out infinite}
@keyframes bob {50% {transform:translateY(-12px) rotate(-5deg)}}
.ticker {overflow:hidden;background:#f5b82e;border-block:2px solid #111;padding:12px 0;white-space:nowrap;font-weight:950;font-size:22px}
.ticker span {display:inline-block;animation:marquee 16s linear infinite}
@keyframes marquee {to {transform:translateX(-50%)}}
.stats {background:#fffdf7;border-bottom:2px solid #111}
.stats b {font-size:clamp(32px,5vw,64px)}
.cards article {border:2px solid #111;border-radius:24px;box-shadow:8px 8px 0 #111;background:#fff;transition:transform .25s,box-shadow .25s}
.cards article:hover {transform:translateY(-8px) rotate(-1deg);box-shadow:12px 16px 0 #f5b82e}
.cards img {transition:transform .4s}
.cards article:hover img {transform:scale(1.04)}
.uses div {border:2px solid #111;border-radius:18px;box-shadow:4px 4px 0 #f5b82e;transition:transform .2s}
.uses div:hover {transform:rotate(-3deg)}
.gallery img {border:4px solid white;box-shadow:4px 4px 0 #111;transition:transform .3s}
.gallery img:hover {transform:scale(1.04) rotate(-2deg)}
main>section:has(>.gallery) {background:#f5b82e}
.quiz {background:#f5b82e;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.quiz-card {background:#fff;border:3px solid #111;border-radius:24px;padding:28px;box-shadow:9px 9px 0 #111}
.quiz-card h3 {font-size:25px;line-height:1.2}
#answers {display:grid;gap:10px}
#answers button {text-align:left;padding:12px;border:2px solid #111;border-radius:12px;background:#fffdf7;font:inherit;cursor:pointer}
#answers button:hover:not(:disabled) {background:#f5b82e}
#answers button.correct {background:#d9f0c5}
#answers button.wrong {background:#f8d5cd}
#next[hidden] {display:none}
.dark {background:radial-gradient(circle at 90% 20%,#51401d,#111 60%)}
@media(max-width:720px){header{position:relative} .hero{min-height:0;padding-block:45px}.quiz{grid-template-columns:1fr}.hero-art{margin-top:20px}.sticker{width:80px;height:80px;font-size:18px}.cards img{height:260px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Explicit typography overrides the framework's reset. */
#app h1, body>main h1 {font-size:clamp(42px,6vw,86px);font-weight:850;line-height:1.08;letter-spacing:-.045em;margin:12px 0 20px}
#app h2, body>main h2 {font-size:clamp(28px,3.5vw,48px);font-weight:850;line-height:1.12;letter-spacing:-.045em;margin:12px 0 20px}
#games,#challenge {scroll-margin-top:125px}
#games {padding-block:85px 100px}
.games-intro {text-align:center;max-width:900px;margin:0 auto 48px}
.games-kicker {display:inline-block;background:#f5b82e;border:1px solid #111;border-radius:30px;padding:7px 18px;font-size:12px;font-weight:800;letter-spacing:.14em}
#app .games-intro h2 {font-size:clamp(34px,4.5vw,66px);margin:20px 0 16px}
.games-intro h2 em {color:#9b6400;font-style:normal}
.games-intro p {margin:0 auto;color:#555;font-size:18px}
#games .cards {gap:32px;max-width:1320px;margin:auto}
#games article {display:flex;flex-direction:column}
.product-photo {position:relative;overflow:hidden}
.available {position:absolute;top:18px;left:18px;background:#fffdf7;border:1px solid #111;border-radius:30px;padding:7px 13px;font-size:11px;font-weight:800;letter-spacing:.08em}
#games .pad {padding:30px;display:flex;flex-direction:column;flex:1;gap:12px}
#games .pad small {font-size:11px;color:#795400;letter-spacing:.12em}
#games .pad h3 {font-size:clamp(29px,3vw,44px);font-weight:900;line-height:1.05;letter-spacing:-.04em;margin:0}
#games .tagline {font-size:19px;font-weight:750;margin:0}
#games .game-description {color:#555;margin:0 0 10px;line-height:1.65;flex:1}
.game-specs {display:grid;grid-template-columns:repeat(3,1fr);background:#f7f4ed;border-radius:12px;padding:16px 0;text-align:center}
.game-specs div+div {border-left:1px solid #d6cbb7}
.game-specs strong,.game-specs span {display:block}
.game-specs strong {font-size:22px;font-weight:850}
.game-specs span {font-size:12px;color:#555}
.game-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:8px}
.explore-link {font-size:14px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
@media(max-width:720px){#games{padding-block:55px}.games-intro{margin-bottom:30px}#games .pad{padding:22px}.game-actions{gap:10px}.game-actions .btn{width:100%;text-align:center}#games,#challenge{scroll-margin-top:15px}}


#app .play-nav{background:linear-gradient(110deg,#111,#353025,#111);color:white;justify-content:center;padding:10px 4%;position:sticky;top:0;box-shadow:0 4px 18px #0003} .play-nav nav{justify-content:center;gap:clamp(10px,2vw,28px)} .play-nav nav a[href="#challenge"]{color:#f5b82e} #app #challenge{background:radial-gradient(ellipse at top,#fffdf7,#ffe8a8);min-height:70vh;grid-template-columns:1fr;gap:20px;text-align:center;padding:32px 5% 44px;scroll-margin-top:100px} #app #challenge h1{font-size:clamp(32px,5vw,60px);margin:8px 0} #challenge>div:first-child p{margin:0 auto} #challenge .quiz-card{width:min(100%,560px);margin:auto;text-align:left;padding:20px} #challenge .quiz-card>div:first-child{display:flex;gap:10px;flex-wrap:wrap} #challenge .quiz-card .btn[aria-pressed="false"]{background:white;box-shadow:none} #challenge #progress{font-size:12px;font-weight:800;letter-spacing:.08em;margin:12px 0} #challenge #question{font-weight:800;margin:10px 0 16px} #challenge #answers button{padding:10px 14px} @media(max-width:720px){#app .play-nav{padding:6px 3%} .play-nav nav{gap:8px 12px;font-size:12px} .play-nav .btn{padding:5px 10px;margin:2px 0} #app #challenge{padding:22px 5% 35px;min-height:0;gap:14px} #challenge .quiz-card{padding:15px} #challenge .quiz-card .btn{padding:8px 12px;font-size:14px} #challenge #question{font-size:21px}}
.challenge-facts{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px auto;max-width:600px}.challenge-facts span{background:#f5b82e;color:#111;border-radius:12px;padding:12px 18px;font-size:13px;font-weight:700}.challenge-facts strong{display:block;font-size:24px}.quiz .ice-live-stats span[hidden]{display:none!important}
