:root {
  color-scheme: dark;
  --bg: #100b1f;
  --bg-2: #171026;
  --panel: #211631;
  --panel-2: #2b1d3c;
  --ink: #fff8df;
  --muted: #cdbdda;
  --line: rgba(255, 248, 223, .16);
  --teal: #2ff3d8;
  --teal-dark: #15cbb5;
  --coral: #ff6f61;
  --orange: #ff9f1c;
  --yellow: #ffd75e;
  --purple: #8a6dff;
  --pink: #ff8ac8;
  --green: #8bf76f;
  --shadow: 0 26px 70px rgba(0, 0, 0, .38);
  --max: 1160px;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 111, 97, .26), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(47, 243, 216, .22), transparent 27rem),
    radial-gradient(circle at 55% 48%, rgba(138, 109, 255, .18), transparent 38rem),
    linear-gradient(180deg, #120a22 0%, #171026 44%, #100b1f 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle, rgba(255,248,223,.14) 1.4px, transparent 2px),
    radial-gradient(circle, rgba(255,111,97,.20) 2px, transparent 2.6px),
    linear-gradient(110deg, transparent 0 46%, rgba(47,243,216,.10) 46% 47%, transparent 47% 100%);
  background-position: 0 0, 28px 36px, 0 0;
  background-size: 72px 72px, 72px 72px, 260px 260px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 11, 31, .84);
  backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--line);
}
.top-ribbon {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 14px;
  color: #180d21;
  background: linear-gradient(90deg, var(--yellow), var(--teal), var(--pink));
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .02em;
}
.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -.04em; }
.brand img { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 0 0 3px rgba(255,248,223,.12), 0 7px 0 rgba(0,0,0,.35); }
.brand span { font-size: 1.04rem; }
.nav-links { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 850; }
.nav-links a { padding: 10px 12px; border-radius: 999px; transition: transform .18s ease, background .18s ease, color .18s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 215, 94, .14); transform: translateY(-1px); }
.nav-cta { color: #180d21 !important; background: var(--yellow); box-shadow: 0 6px 0 #b88310; }
.nav-cta:hover { background: #ffe178 !important; }

.hero { padding: 42px 0 54px; position: relative; }
.hero::after {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: -34px;
  height: 92px;
  background: #151020;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: center; z-index: 1; }
.hero-copy { z-index: 2; }
.game-logo {
  width: min(180px, 100%);
  max-width: 100%;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 9px 0 rgba(0,0,0,.34)) drop-shadow(0 0 18px rgba(47,243,216,.12));
}
.game-logo img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 0 0 3px rgba(255,248,223,.10);
}
.game-logo span { display: inline-block; padding: 6px 10px; border: 4px solid #0b0714; border-radius: 18px; }
.game-logo span:nth-child(1) { grid-column: 1 / 3; color: #08131a; background: var(--teal); font-size: clamp(2.7rem, 6vw, 5.6rem); transform: rotate(-1.5deg); }
.game-logo span:nth-child(2) { color: #1d1026; background: var(--yellow); font-size: clamp(1.8rem, 3.8vw, 3.2rem); transform: rotate(2deg); }
.game-logo span:nth-child(3) { color: #1d1026; background: var(--coral); font-size: clamp(2.4rem, 5.4vw, 5rem); transform: rotate(1.5deg); }
.sticker, .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 13px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255,248,223,.08);
  color: var(--yellow);
  font-size: .85rem;
  font-weight: 950;
  letter-spacing: .03em;
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
}
h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 760;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 3px solid #0b0714;
  border-radius: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn.primary { color: #160c1f; background: var(--yellow); box-shadow: 0 8px 0 #b88310; }
.btn.secondary { color: var(--ink); background: rgba(255,248,223,.08); border-color: rgba(255,248,223,.28); box-shadow: 0 8px 0 rgba(0,0,0,.24); }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(47,243,216,.12);
  color: #d7fff9;
  border: 2px solid rgba(47,243,216,.28);
  box-shadow: 0 6px 0 rgba(0,0,0,.24);
  font-weight: 950;
}
.store-pill.light { color: #1d1026; background: var(--pink); border-color: #0b0714; }

.hero-stage { position: relative; min-height: 520px; }
.hero-art {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  object-position: center;
  border: 5px solid rgba(255,248,223,.18);
  border-radius: 44px;
  box-shadow: var(--shadow), 0 12px 0 rgba(0,0,0,.32), 0 0 34px rgba(47,243,216,.12);
  transform: rotate(1.2deg);
}
.mascot-bubble {
  position: absolute;
  width: min(220px, 35%);
  aspect-ratio: 1 / 1;
  left: -18px;
  bottom: -30px;
  border-radius: 50%;
  background: #fff8df;
  border: 5px solid #fff8df;
  box-shadow: 0 18px 36px rgba(0,0,0,.36), 0 8px 0 rgba(0,0,0,.28);
  overflow: hidden;
  transform: rotate(-7deg);
}
.mascot-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speech-card {
  position: absolute;
  padding: 12px 15px;
  border-radius: 18px;
  border: 3px solid #0b0714;
  background: var(--pink);
  color: #1d1026;
  box-shadow: 0 7px 0 rgba(0,0,0,.28);
  font-weight: 950;
}
.speech-card.top { right: 5%; top: 4%; transform: rotate(4deg); }
.speech-card.bottom { right: -4%; bottom: 18%; background: var(--yellow); transform: rotate(-5deg); }

.glance-section { padding: 34px 0 58px; background: #151020; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.glance-grid div {
  min-height: 128px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 28px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(255,248,223,.08), rgba(255,248,223,.035));
  box-shadow: 0 8px 0 rgba(0,0,0,.26);
}
.glance-grid strong { display: block; color: var(--teal); font-size: clamp(2.4rem, 5vw, 4rem); line-height: .85; letter-spacing: -.07em; }
.glance-grid span { color: var(--muted); font-weight: 900; }

section { padding: 86px 0; position: relative; scroll-margin-top: 118px; }
.how-section, .packs-section, .faq-section { background: #151020; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-head.centered { display: block; max-width: 840px; margin: 0 auto 34px; text-align: center; }
.section-head h2, .studio-card h2, .party-copy h2, .faq-grid h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: .9;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.section-head p, .studio-card p, .party-section p, .faq-grid p { color: var(--muted); font-size: 1.05rem; font-weight: 700; }
.section-head > p { max-width: 430px; margin: 0; }

.play-steps { display: grid; gap: 16px; }
.play-steps.five { grid-template-columns: repeat(5, 1fr); }
.step-card {
  min-height: 238px;
  padding: 20px;
  border: 3px solid #0b0714;
  border-radius: 30px;
  box-shadow: 0 10px 0 rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotate(-1deg);
  color: #1a1026;
}
.step-card:nth-child(even) { transform: rotate(1deg); }
.step-card.choose { background: var(--yellow); }
.step-card.pass { background: #b7a7ff; }
.step-card.ask { background: var(--teal); }
.step-card.bluff { background: var(--pink); }
.step-card.vote { background: var(--green); }
.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #151020;
  color: #fff8df;
  font-size: 1.3rem;
  font-weight: 950;
}
.step-card h3 { margin: 38px 0 10px; font-size: clamp(1.65rem, 2.8vw, 2.85rem); line-height: .9; letter-spacing: -.05em; }
.step-card p { margin: 0; color: rgba(26,16,38,.78); font-weight: 850; }

.screens-section {
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 18%, rgba(255,111,97,.24), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(47,243,216,.18), transparent 24rem),
    #0d0918;
}
.screens-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.screens-head { align-items: start; }
.screens-section .section-head h2 { color: var(--ink); max-width: 780px; }
.screens-section .section-head > p { color: var(--muted); max-width: 440px; }
.screenshot-gallery {
  display: grid;
  grid-template-columns: 1.06fr repeat(5, .8fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: end;
  margin-top: 34px;
}
.screenshot-card {
  margin: 0;
  padding: 10px 10px 14px;
  border-radius: 31px;
  border: 3px solid rgba(255,248,223,.18);
  background: linear-gradient(180deg, rgba(255,248,223,.13), rgba(255,248,223,.055));
  box-shadow: 0 26px 70px rgba(0,0,0,.40), 0 9px 0 rgba(0,0,0,.26);
  transform: rotate(-1.5deg);
  transition: transform .18s ease, border-color .18s ease;
}
.screenshot-card:nth-child(even) { transform: rotate(1.4deg) translateY(18px); }
.screenshot-card.featured { border-color: rgba(255,215,94,.82); transform: rotate(-2deg) translateY(-10px); }
.screenshot-card.accent-red { border-color: rgba(255,111,97,.68); }
.screenshot-card.accent-green { border-color: rgba(139,247,111,.62); }
.screenshot-card:hover { transform: translateY(-8px) rotate(0deg); border-color: rgba(255,248,223,.48); }
.screenshot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1152 / 2560;
  object-fit: cover;
  border-radius: 22px;
  background: #08060f;
}
.screenshot-card figcaption {
  padding: 12px 6px 0;
  color: rgba(255,248,223,.86);
  font-weight: 950;
  text-align: center;
  letter-spacing: -.02em;
}
.screenshot-notes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}
.screenshot-notes span {
  padding: 11px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,248,223,.14);
  background: rgba(255,248,223,.09);
  color: rgba(255,248,223,.92);
  font-weight: 950;
}

.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pack-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 32px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(255,248,223,.09), rgba(255,248,223,.04));
  box-shadow: 0 9px 0 rgba(0,0,0,.24);
}
.pack-card.family { border-color: rgba(47,243,216,.34); }
.pack-card.deep { border-color: rgba(138,109,255,.34); }
.pack-card.friends { border-color: rgba(255,215,94,.34); }
.pack-card.adult { border-color: rgba(255,138,200,.34); }
.pack-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,248,223,.10); font-size: 1.8rem; box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.pack-card h3 { margin: 54px 0 10px; font-size: 1.65rem; letter-spacing: -.035em; }
.pack-card p { margin: 0; color: var(--muted); font-weight: 760; }

.party-section { background: #211631; color: var(--ink); }
.party-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.party-list { display: grid; gap: 14px; }
.party-list div { padding: 18px; border: 2px solid var(--line); border-radius: 24px; background: rgba(255,248,223,.08); }
.party-list strong { display: block; margin-bottom: 4px; font-size: 1.18rem; }
.party-list span { color: var(--muted); font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; }
.faq-list { display: grid; gap: 12px; }
details { border: 2px solid var(--line); border-radius: 22px; background: rgba(255,248,223,.08); box-shadow: 0 7px 0 rgba(0,0,0,.22); overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 1.08rem; font-weight: 950; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-size: 1.35rem; color: var(--yellow); }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 20px 18px; }

.safety-section { background: #151020; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 28px;
  border: 2px solid rgba(255,248,223,.16);
  background: linear-gradient(180deg, rgba(47,243,216,.12), rgba(255,248,223,.045));
  box-shadow: 0 9px 0 rgba(0,0,0,.24);
}
.trust-card:nth-child(2) { background: linear-gradient(180deg, rgba(255,215,94,.12), rgba(255,248,223,.045)); }
.trust-card:nth-child(3) { background: linear-gradient(180deg, rgba(255,138,200,.13), rgba(255,248,223,.045)); }
.trust-card:nth-child(4) { background: linear-gradient(180deg, rgba(138,109,255,.15), rgba(255,248,223,.045)); }
.trust-card strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1.25rem; }
.trust-card span { color: var(--muted); font-weight: 750; }

.press-section { background: #151020; }
.press-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 38px;
  border: 2px solid rgba(255,248,223,.18);
  background:
    radial-gradient(circle at 90% 10%, rgba(47,243,216,.16), transparent 18rem),
    linear-gradient(180deg, rgba(255,248,223,.10), rgba(255,248,223,.045));
  box-shadow: 0 12px 0 rgba(0,0,0,.24), var(--shadow);
}
.press-strip h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 4.2rem); line-height: .9; letter-spacing: -.06em; }
.press-strip p { max-width: 650px; color: var(--muted); font-weight: 740; }
.press-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.press-hero { padding: 76px 0 62px; background: radial-gradient(circle at 88% 20%, rgba(47,243,216,.18), transparent 28rem); }
.press-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.press-hero-art { border-radius: 36px; border: 4px solid rgba(255,248,223,.18); box-shadow: var(--shadow), 0 10px 0 rgba(0,0,0,.28); transform: rotate(1deg); }
.press-facts-section, .downloads-section { background: #151020; }
.fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.fact-list div, .copy-grid article, .download-grid a {
  border: 2px solid rgba(255,248,223,.16);
  border-radius: 24px;
  background: rgba(255,248,223,.08);
  box-shadow: 0 8px 0 rgba(0,0,0,.22);
}
.fact-list div { padding: 18px; }
.fact-list dt { color: var(--yellow); font-size: .82rem; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.fact-list dd { margin: 6px 0 0; color: var(--ink); font-weight: 850; }
.copy-section { background: #211631; }
.copy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.copy-grid article { padding: 24px; }
.copy-grid article p:last-child { margin: 0; color: var(--ink); font-size: 1.18rem; font-weight: 780; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.download-grid a { display: grid; gap: 12px; padding: 12px; color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
.download-grid a:hover { transform: translateY(-4px); border-color: rgba(255,215,94,.7); }
.download-grid span { padding: 4px 4px 0; font-weight: 950; }
.download-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: #08060f; }
.download-grid a:first-child img { object-fit: cover; padding: 0; background: #08060f; }

.studio-section { background: linear-gradient(180deg, #151020 0%, #100b1f 100%); }
.studio-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 42px;
  border: 2px solid rgba(255,248,223,.18);
  background: linear-gradient(180deg, rgba(255,248,223,.10), rgba(255,248,223,.045));
  box-shadow: 0 12px 0 rgba(0,0,0,.25), var(--shadow);
}
.studio-card img { width: min(320px, 100%); justify-self: center; filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); }

.footer { padding: 30px 0; background: #08060f; color: rgba(255,248,223,.72); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: #fff8df; }
.footer a:hover { color: var(--yellow); }

@media (max-width: 1080px) {
  .play-steps.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 52px; }
  .hero-grid, .studio-card, .party-grid, .faq-grid, .press-hero-grid, .press-strip { grid-template-columns: 1fr; }
  .screenshot-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 6px 28px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .screenshot-card {
    flex: 0 0 min(290px, 72vw);
    scroll-snap-align: center;
  }
  .screenshot-card:nth-child(even), .screenshot-card.featured { transform: none; }
  .hero-stage { min-height: auto; }
  .hero-art { aspect-ratio: 1.18 / 1; }
  .glance-grid, .pack-grid, .trust-grid, .fact-list, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .copy-grid { grid-template-columns: 1fr; }
  .press-actions { justify-content: flex-start; }
  .play-steps.five { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head > p { margin-top: 12px; }
  .studio-card { text-align: center; }
  .studio-card .hero-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .top-ribbon { font-size: .75rem; }
  .navbar { min-height: 66px; }
  .brand span { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .game-logo { width: min(190px, 62vw); }
  h1 { font-size: clamp(2.85rem, 14vw, 4.15rem); }
  .hero-actions .btn { width: 100%; }
  .store-pill { width: 100%; justify-content: center; }
  .mascot-bubble { width: 128px; left: 4px; bottom: -18px; }
  .speech-card { display: none; }
  .glance-grid, .pack-grid, .trust-grid, .fact-list, .download-grid { grid-template-columns: 1fr; }
  .press-actions .btn { width: 100%; }
  section { padding: 62px 0; }
  .step-card, .pack-card { min-height: 200px; }
  .footer-grid { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .btn:hover, .nav-links a:hover { transform: none; }
}
