:root {
  --background: #f9f7f1;
  --card: #fff;
  --ink: #1b1b1a;
  --muted: #6e6b63;
  --line: rgba(27, 27, 26, .12);
  --green: #168b56;
  --gold: #f3c94e;
  --coral: #ef513d;
  --blue: #6676d9;
  --apricot: #f2a56f;
  --plum: #725ac1;
  --lilac: #cbb8f4;
  --cream: #fff3d6;
  --radius: 28px;
  --shadow: 7px 8px 0 rgba(27, 27, 26, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header, footer {
  width: min(1240px, calc(100% - 40px));
  margin: auto;
  display: flex;
  align-items: center;
}
.site-header { min-height: 82px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: 2px; }
.brand-chip {
  position: relative;
  width: 29px;
  height: 29px;
  display: inline-block;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
}
.brand-chip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--background) 0 12deg, transparent 12deg 25deg);
  -webkit-mask: radial-gradient(transparent 0 54%, #000 56% 70%, transparent 72%);
  mask: radial-gradient(transparent 0 54%, #000 56% 70%, transparent 72%);
}
nav { display: flex; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 700; }
nav a:hover, footer a:hover { color: var(--green); }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border-radius: 11px;
  color: white;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; gap: 10px; padding: 0 16px; font-size: 12px; }

main { overflow: hidden; }
.hero {
  width: min(1240px, calc(100% - 40px));
  min-height: 710px;
  margin: auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 56px;
  padding: 70px 0 90px;
}
.hero-copy h1, .section-heading h2, .characters h2, .community h2, .coming-soon h2, .policy-page h1 {
  margin: 0;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-weight: 800;
}
.hero-copy > p:not(.fine-print) { max-width: 440px; margin: 25px 0; color: var(--muted); font-size: 18px; line-height: 1.55; font-family: system-ui, sans-serif; }
.hero-copy .button { width: min(340px, 100%); }
.fine-print { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; color: var(--muted); font: 700 11px/1 system-ui, sans-serif; }
.mini-chip { width: 17px; height: 17px; display: inline-block; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 4px var(--ink); }

.game-picker { position: relative; height: 570px; }
.game-card {
  position: absolute;
  inset: 0 38px 40px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  box-shadow: 0 22px 55px rgba(27, 27, 26, .12);
  opacity: 0;
  transform: translateX(70px) scale(.94) rotate(2deg);
  pointer-events: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.9,.2,1);
}
.game-card.is-active { opacity: 1; transform: translateX(0) scale(1) rotate(0); pointer-events: auto; }
.blob { position: absolute; border-radius: 47% 53% 61% 39% / 43% 42% 58% 57%; animation: drift 8s ease-in-out infinite alternate; }
.blob-one { width: 75%; height: 70%; left: -14%; top: -8%; background: rgba(242,165,111,.82); }
.blob-two { width: 60%; height: 56%; right: -12%; bottom: -8%; background: rgba(243,201,78,.34); animation-delay: -4s; }
.game-card-dice .blob-one { background: rgba(203,184,244,.82); }
.game-card-dice .blob-two { background: rgba(114,90,193,.3); }
.blob-ring { position: absolute; width: 55%; height: 48%; right: -4%; top: -13%; border: 20px solid rgba(255,255,255,.45); border-radius: 47% 53% 61% 39% / 43% 42% 58% 57%; transform: rotate(-12deg); }
@keyframes drift { to { transform: translate(18px, 12px) rotate(7deg) scale(1.04); } }

.card-art, .dice-art { position: absolute; inset: 55px 40px 145px; display: grid; place-items: center; }
.playing-card { position: absolute; width: 155px; height: 220px; padding: 17px; display: flex; flex-direction: column; border: 3px solid var(--ink); border-radius: 20px; background: white; box-shadow: 8px 9px 0 rgba(27,27,26,.16); font-size: 37px; font-weight: 950; }
.playing-card span { line-height: .8; }.playing-card i { margin-top: auto; align-self: flex-end; font-style: normal; }
.playing-card.ace { transform: translateX(-55px) rotate(-13deg); }
.playing-card.jack { color: var(--coral); transform: translate(55px,-8px) rotate(11deg); }
.chip-stack { position: absolute; top: 75%; display: flex; }
.chip-stack span { width: 48px; height: 48px; margin-left: -12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--plum); box-shadow: inset 0 0 0 5px white, inset 0 0 0 7px var(--ink); }
.chip-stack span:nth-child(even) { background: var(--ink); }
.game-copy { position: absolute; inset: auto 35px 31px; text-align: center; }
.game-copy h2 { margin: 0; font-size: 42px; letter-spacing: -.04em; font-weight: 800; }.game-copy p { margin: 8px 0 0; color: rgba(27,27,26,.58); font: 700 13px system-ui, sans-serif; }
.dice-art { grid-template-columns: repeat(3, 105px); gap: 5px; }
.die { width: 105px; height: 105px; padding: 20px; display: grid; grid-template: repeat(3,1fr) / repeat(3,1fr); border: 2px solid rgba(27,27,26,.7); border-radius: 22px; box-shadow: 5px 6px 0 rgba(27,27,26,.12); }
.die i { width: 14px; height: 14px; place-self: center; border-radius: 50%; background: var(--ink); }
.die-dark { background: var(--ink); transform: rotate(-12deg) translateY(24px); }.die-dark i { background: white; }
.die-plum { z-index: 2; background: var(--plum); transform: rotate(14deg) translateY(-24px); }.die-plum i { background: white; }
.die-cream { background: var(--cream); transform: rotate(4deg) translate(-42px, 70px); }
.picker-controls { position: absolute; left: 0; right: 38px; bottom: -8px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.picker-arrow { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.picker-dots { display: flex; gap: 6px; }.picker-dots span { width: 7px; height: 7px; border-radius: 10px; background: var(--line); transition: width .25s; }.picker-dots .is-active { width: 25px; background: var(--ink); }

.progress-section, .characters, .community, .coming-soon, .policy-page { width: min(1120px, calc(100% - 40px)); margin: auto; }
.progress-section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 38px; }.section-heading h2, .characters h2, .community h2, .coming-soon h2, .policy-page h1 { font-size: clamp(44px, 5vw, 70px); }.section-heading p { max-width: 240px; color: var(--muted); font: 700 14px/1.5 system-ui, sans-serif; }
.mission-panel { padding: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; border-radius: 30px; background: linear-gradient(135deg, rgba(203,184,244,.48), rgba(242,165,111,.38)); }
.mission-intro { display: flex; gap: 17px; align-items: flex-start; }.spark, .mission-icon { display: grid; place-items: center; flex: none; }.spark { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); font-size: 25px; }.label { margin: 0 0 9px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }.label.green { color: var(--green); }.mission-intro h3 { margin: 0; font-size: 31px; line-height: 1; letter-spacing: -.04em; }.mission-intro div > p:last-child, .characters p, .community p, .coming-soon p, .policy-card p, .policy-card li { color: var(--muted); font: 14px/1.55 system-ui, sans-serif; }
.mission-list { display: grid; gap: 12px; }.mission { min-height: 105px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; }.mission-icon { width: 50px; height: 50px; border-radius: 14px; }.mission-icon.gold { background: rgba(243,201,78,.65); }.mission-icon.lilac { background: rgba(203,184,244,.55); }.mission h4, .mission p { margin: 0; }.mission p { color: var(--muted); font: 12px system-ui, sans-serif; }.mission strong { display: flex; align-items: center; gap: 6px; font-size: 12px; }.progress { height: 5px; display: block; margin-top: 10px; overflow: hidden; border-radius: 10px; background: var(--line); }.progress i { height: 100%; display: block; border-radius: inherit; background: var(--plum); }.progress.ready i { background: var(--green); }

.characters { padding: 100px 0; }
.character-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-bottom: 42px; }
.character-heading .label { grid-column: 1 / -1; margin-bottom: -55px; }
.character-heading p:last-child { max-width: 430px; justify-self: end; }
.character-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.character-card {
  min-height: 335px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}
.character-portrait {
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(203,184,244,.52);
}
.character-card.chicken .character-portrait { background: rgba(243,201,78,.55); }
.character-card.crocodile .character-portrait { background: rgba(221,236,221,.9); }
.character-card.cat .character-portrait { background: rgba(242,165,111,.5); }
.character-card.blob-character .character-portrait { background: rgba(239,81,61,.25); }
.character-card.cyclops .character-portrait { background: rgba(102,118,217,.35); }
.character-portrait img { width: 155px; height: 155px; object-fit: contain; transition: transform .25s ease; }
.character-card:hover .character-portrait img { transform: translateY(-4px) rotate(-2deg); }
.character-card .label { margin-top: 18px; }
.character-card h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.character-card p:last-child { margin: 7px 0 0; font-size: 12px; }

.community { min-height: 430px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; padding: 75px; border-radius: 32px; background: white; border: 1px solid var(--line); }.vs-mark { position: relative; height: 260px; display: grid; place-items: center; border-radius: 34px; background: #497d47; }.vs-mark:before { content:""; position:absolute; width:190px; height:190px; border-radius:50%; background:rgba(255,255,255,.1); }.vs-mark strong { z-index: 3; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 30px; color: white; background: var(--coral); font-size: 32px; transform: rotate(-6deg); }.avatar { position:absolute; z-index:2; width:115px; height:115px; padding:13px; border:2px solid var(--ink); border-radius:50%; box-shadow: 6px 7px 0 rgba(27,27,26,.25); }.avatar img { width:100%; height:100%; object-fit:contain; }.avatar.left { left:55px; bottom:45px; background:var(--gold); transform:rotate(-8deg); }.avatar.right { right:55px; top:40px; background:var(--lilac); transform:rotate(8deg); }

.coming-soon { margin-top: 110px; padding: 100px 20px; text-align: center; border-radius: 34px; background: var(--cream); }.chip-large { width: 82px; height: 82px; margin: 0 auto 25px; border: 7px solid var(--ink); border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 9px var(--gold), inset 0 0 0 12px var(--ink), 7px 8px 0 rgba(27,27,26,.13); }.coming-soon p { margin: 20px 0 26px; }.button-disabled { min-width: 260px; justify-content:center; cursor:default; }.button-disabled:hover { transform:none; }
footer { min-height: 115px; justify-content: space-between; margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; }
.footer-links { display: flex; align-items: center; gap: 18px; }

.policy-page { display: grid; grid-template-columns: 330px 1fr; gap: 75px; align-items: start; padding: 95px 0; overflow: visible; }.policy-page aside { position: sticky; top: 30px; }.policy-page aside .chip-large { margin: 0 0 30px; }.policy-page aside > p { color: var(--muted); font: 13px/1.5 system-ui, sans-serif; }.policy-page aside a { color: var(--green); font-weight: 700; }.policy-card { padding: 45px; border: 1px solid var(--line); border-radius: 30px; background: white; }.policy-card section + section { margin-top: 35px; padding-top: 35px; border-top: 1px solid var(--line); }.policy-card h2 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.03em; }.policy-card h3 { margin: 22px 0 5px; font-size: 16px; }.policy-card p, .policy-card li { font-size: 14px; }.policy-card a { color: var(--green); font-weight: 800; }.policy-card li + li { margin-top: 7px; }

@media (max-width: 900px) {
  .site-header nav { display:none; }
  .hero { grid-template-columns:1fr; gap:50px; padding-top:55px; }.hero-copy { text-align:center; }.hero-copy > p:not(.fine-print), .hero-copy .button { margin-left:auto; margin-right:auto; }.fine-print { justify-content:center; }.game-picker { height:560px; }
  .mission-panel, .community, .policy-page { grid-template-columns:1fr; }.mission-panel { gap:28px; }.community { padding:45px; }.policy-page aside { position:static; }.policy-page aside .chip-large { margin-left:0; }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-header, footer, .hero, .progress-section, .characters, .community, .coming-soon, .policy-page { width:min(100% - 28px, 1120px); }
  .site-header { min-height:70px; }.site-header .button-small { display:none; }
  .hero { min-height:auto; padding:55px 0 65px; }.hero-copy h1 { font-size:54px; }.hero-copy > p:not(.fine-print) { font-size:15px; }.game-picker { height:440px; }.game-card { inset:0 0 38px; border-radius:26px; }.card-art, .dice-art { inset:35px 15px 125px; transform:scale(.72); }.game-copy { inset:auto 20px 25px; }.game-copy h2 { font-size:31px; }.picker-controls { right:0; }
  .section-heading { display:block; }.section-heading p { max-width:none; }.progress-section { padding:65px 0; }.mission-panel { padding:18px; }.mission-intro { display:block; }.spark { margin-bottom:18px; }.mission { grid-template-columns:auto 1fr; }.mission strong { grid-column:2; }
  .characters { padding:60px 0; }.character-heading { display:block; margin-bottom:28px; }.character-heading .label { margin-bottom:9px; }.character-heading p:last-child { justify-self:auto; }.character-grid { grid-template-columns:1fr; }.character-card { min-height:300px; }.character-portrait { height:165px; }
  .community { gap:30px; padding:22px; }.vs-mark { height:220px; }.avatar { width:90px; height:90px; }.avatar.left { left:25px; }.avatar.right { right:25px; }
  .coming-soon { margin-top:70px; padding:65px 16px; }.coming-soon h2, .characters h2, .community h2, .section-heading h2, .policy-page h1 { font-size:43px; }
  footer { min-height:170px; flex-direction:column; justify-content:center; gap:17px; text-align:center; }.footer-links { flex-wrap:wrap; justify-content:center; }
  .policy-page { padding:60px 0; gap:35px; }.policy-card { padding:23px; border-radius:22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
