/* Spite Party website. The look follows the game's own UI (style A, "Peças do jogo"):
   varnished wood, ink outlines, cream cards, gold buttons and hex medallions. */

:root {
  --ink: #24131f;
  --cream: #fbf0d9;
  --cream-d: #e9d3aa;
  --gold: #f6bf40;
  --gold-d: #c98a1c;
  --gold-l: #ffe08a;
  --plum: #4a2448;
  --plum-d: #33163a;
  --night: #22121d;
  --night-d: #170b14;
  --text: #f6e6cb;
  --muted: #d6bf9e;
  --soft: #6b4b5a;
  --stamp: #c22d22;
  --mov: #4f6d8a; --mov-l: #d3dee9;
  --agr: #8c2f3f; --agr-l: #f0d0d4;
  --pro: #857a2a; --pro-l: #ebe4bb;
  --wood: repeating-linear-gradient(179deg, rgba(255, 226, 180, .05) 0 2px, rgba(0, 0, 0, 0) 2px 9px),
          repeating-linear-gradient(181.5deg, rgba(0, 0, 0, .11) 0 2px, rgba(0, 0, 0, 0) 2px 15px),
          linear-gradient(#8f5532, #76411f 55%, #5f3218);
  --wood-dark: repeating-linear-gradient(179deg, rgba(255, 226, 180, .04) 0 2px, rgba(0, 0, 0, 0) 2px 9px),
          repeating-linear-gradient(181.5deg, rgba(0, 0, 0, .14) 0 2px, rgba(0, 0, 0, 0) 2px 15px),
          linear-gradient(#5a321d, #4a2814 55%, #3b1f0f);
  --board-shadow: inset 0 3px 0 rgba(255, 214, 160, .32), inset 0 -8px 0 rgba(0, 0, 0, .30), 0 7px 0 rgba(14, 6, 12, .55);
  --card-shadow: inset 0 -6px 0 var(--cream-d), 0 6px 0 rgba(14, 6, 12, .5);
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --outline: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
             2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink);
  --outline-drop: var(--outline), 0 6px 0 var(--ink), 3px 6px 0 var(--ink), -3px 6px 0 var(--ink);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --dw: 400;
  --gutter: 24px;
  --max: 1200px;
}

.s1 { --seat: #d63e2c; --seat-d: #a3291b; --seat-l: #f49a86; }
.s2 { --seat: #285cc4; --seat-d: #1b3f8c; --seat-l: #86a9ef; }
.s3 { --seat: #68b234; --seat-d: #4a8423; --seat-l: #b0e086; }
.s4 { --seat: #ee8020; --seat-d: #b65d10; --seat-l: #ffbf80; }
.s5 { --seat: #e2a23a; --seat-d: #a8701a; --seat-l: #ffe08a; }
.s6 { --seat: #8a52c4; --seat-d: #5e2f8f; --seat-l: #c9a6ef; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 18px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--dw); line-height: 1.05; letter-spacing: .01em; }
p { margin: 0; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); font: var(--dw) 18px/1 var(--display);
  padding: 12px 16px; border: 4px solid var(--ink); border-radius: 12px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 4px solid var(--gold-l); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- shared pieces ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: var(--dw) 22px/1 var(--display); letter-spacing: .01em; color: var(--ink); text-decoration: none;
  background: var(--cream); border: 4px solid var(--ink); border-radius: 16px;
  padding: 13px 22px 16px;
  box-shadow: inset 0 -7px 0 var(--cream-d), 0 6px 0 var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn svg { width: 28px; height: 28px; flex: none; }
.btn--gold { background: var(--gold); box-shadow: inset 0 -7px 0 var(--gold-d), 0 6px 0 var(--ink); }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 -7px 0 var(--cream-d), 0 8px 0 var(--ink); }
.btn--gold:hover { box-shadow: inset 0 -7px 0 var(--gold-d), 0 8px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: inset 0 -4px 0 var(--cream-d), 0 1px 0 var(--ink); }
.btn--gold:active { box-shadow: inset 0 -4px 0 var(--gold-d), 0 1px 0 var(--ink); }
.btn--sm { font-size: 18px; padding: 9px 15px 12px; border-radius: 13px; }

.wood { background: var(--wood); border: 4px solid var(--ink); border-radius: 22px; box-shadow: var(--board-shadow); }
.card { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 18px; box-shadow: var(--card-shadow); }

.title {
  font-size: clamp(38px, 5.4vw, 64px);
  color: var(--cream);
  text-shadow: var(--outline-drop);
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40em; text-wrap: pretty; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { text-align: center; justify-items: center; }

.stamp {
  display: inline-block; transform: rotate(-7deg);
  font: var(--dw) 22px/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  color: var(--stamp); background: rgba(251, 240, 217, .96);
  border: 4px solid var(--stamp); border-radius: 10px; padding: 6px 12px 7px;
  box-shadow: 0 5px 0 rgba(14, 6, 12, .45);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: var(--dw) 16px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 11px 7px; border: 3px solid var(--ink); border-radius: 10px;
  background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 var(--ink);
}
.chip--blue { background: #3f6fd0; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.chip--red { background: #d63e2c; color: #fff; text-shadow: 0 2px 0 var(--ink); }

.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.bg-night { background: radial-gradient(120% 70% at 50% 0%, #3b2333, var(--night) 62%, var(--night-d)); }
.bg-planks {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .32) 0 3px, rgba(0, 0, 0, 0) 3px 240px),
    repeating-linear-gradient(0deg, rgba(255, 220, 170, .025) 0 2px, rgba(0, 0, 0, 0) 2px 11px),
    repeating-linear-gradient(1.2deg, rgba(0, 0, 0, .09) 0 2px, rgba(0, 0, 0, 0) 2px 19px),
    radial-gradient(90% 60% at 50% 20%, rgba(255, 186, 96, .14), rgba(0, 0, 0, 0) 70%),
    linear-gradient(#4c2a19, #3c2013 60%, #2e170d);
}
.bg-plum { background: radial-gradient(110% 80% at 50% 30%, #4a2448, #33163a 60%, #24102a); }

/* the table rail between sections */
.rail { height: 22px; background: var(--wood); border-block: 4px solid var(--ink); position: relative; z-index: 3; }
.rail::before, .rail::after {
  content: ""; position: absolute; top: 3px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe7a6, #c98a1c 60%, #7a4c0e);
  box-shadow: 0 0 0 2px var(--ink);
}
.rail::before { left: 8%; }
.rail::after { right: 8%; }

.ic { width: 1em; height: 1em; flex: none; }

/* hex medallion with a portrait popping out of the top (from the game's player plates) */
.medal { position: relative; width: 132px; height: 116px; flex: none; }
.medal .hx { position: absolute; clip-path: var(--hex); }
.medal .hx.ink { inset: 0; background: var(--ink); }
.medal .hx.rim { inset: 5px; background: linear-gradient(var(--seat-l) 0 14%, var(--seat) 14% 60%, var(--seat-d) 60%); }
.medal .hx.in { inset: 15px; background: radial-gradient(circle at 50% 30%, #46645a, #22352c 82%); }
.medal img {
  position: absolute; left: -9%; top: -31%; width: 118%; height: auto; max-width: none;
  clip-path: polygon(0 0, 100% 0, 100% 60.3%, 82.7% 60.3%, 66.3% 87.8%, 33.7% 87.8%, 17.3% 60.3%, 0 60.3%);
  transition: opacity .18s ease;
}
.medal img + img { opacity: 0; }
.medal--sm { width: 54px; height: 47px; }
.medal--sm .hx.rim { inset: 3px; }
.medal--sm .hx.in { inset: 7px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1240px, 100% - 24px); height: 70px;
  display: flex; align-items: center; gap: 22px; padding: 0 10px 0 16px;
  background: var(--wood); border: 4px solid var(--ink); border-radius: 20px;
  box-shadow: var(--board-shadow);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: var(--board-shadow), 0 14px 30px rgba(10, 4, 10, .45); }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 46px; width: auto; filter: drop-shadow(0 3px 0 rgba(14, 6, 12, .45)); }
.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a {
  display: block; padding: 8px 12px 10px; border-radius: 12px;
  font: var(--dw) 19px/1 var(--display); letter-spacing: .02em; color: #fff3dc; text-decoration: none;
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 4px 0 var(--ink);
  transition: background .15s ease, transform .15s ease;
}
.nav__links a:hover { background: rgba(36, 19, 31, .35); transform: translateY(-1px); }
.nav .btn { flex: none; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: max(640px, 100svh); display: flex; overflow: hidden; background: var(--night-d); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 38%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 11, 20, .6) 0%, rgba(23, 11, 20, .25) 30%, rgba(23, 11, 20, 0) 52%),
    linear-gradient(180deg, rgba(23, 11, 20, 0) 62%, rgba(23, 11, 20, .55) 88%, var(--night) 100%);
}
.hero__in {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; min-height: max(640px, 100svh);
  padding: clamp(108px, 14vh, 150px) 0 clamp(48px, 7vh, 84px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.hero__logo { width: clamp(300px, calc((100svh - 400px) * 1.93), 620px); max-width: 88vw; transform: rotate(-3deg); transform-origin: 30% 60%; }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 0 rgba(14, 6, 12, .5)); }
.hero__tag {
  font: var(--dw) clamp(20px, 2vw, 26px)/1.15 var(--display); letter-spacing: .01em;
  padding: 10px 18px 12px; transform: rotate(1.5deg); margin-left: 8px;
}
.hero__text { max-width: 30em; font-size: clamp(18px, 1.5vw, 20px); color: #fbead0; text-shadow: 0 2px 10px rgba(10, 4, 10, .9), 0 1px 2px rgba(10, 4, 10, .9); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; align-items: center; margin-top: auto; align-self: center; }
.platform { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fbead0; text-shadow: 0 2px 8px rgba(10, 4, 10, .9); }
.platform svg { width: 26px; height: 26px; }

/* ---------- three mean things ---------- */

.spite__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.spite__card { position: relative; padding: 70px 26px 30px; text-align: left; }
.spite__card:nth-child(1) { transform: rotate(-1.6deg); }
.spite__card:nth-child(2) { transform: rotate(1deg) translateY(18px); }
.spite__card:nth-child(3) { transform: rotate(-.6deg); }
.spite__icon {
  position: absolute; top: -44px; left: 22px; width: 100px; height: 88px;
  clip-path: var(--hex); background: var(--ink); display: grid; place-items: center;
}
.spite__icon::before { content: ""; position: absolute; inset: 5px; clip-path: var(--hex); background: linear-gradient(#fff6e2 0 14%, #f1dcb6 14% 60%, #dcc193 60%); }
.spite__icon svg { position: relative; width: 58px; height: 58px; }
.spite__card h3 { font-size: 30px; margin-bottom: 10px; }
.spite__card p { color: #4d3542; font-size: 18px; }
.spite__card .stamp { position: absolute; top: 16px; right: 16px; font-size: 18px; }

/* ---------- a round ---------- */

.table {
  position: relative; padding: clamp(18px, 2vw, 24px);
  background: var(--wood); border: 4px solid var(--ink); border-radius: 34px; box-shadow: var(--board-shadow);
}
.felt {
  position: relative; border: 4px solid var(--ink); border-radius: 22px;
  background:
    repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .018) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(120% 90% at 50% 30%, #2f7a46, #1f5532 65%, #173f26);
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .45);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 44px);
}
.trail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.trail::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 44px;
  border-top: 5px dotted rgba(251, 240, 217, .5);
}
.trail li { position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: 12px; counter-increment: step; }
.trail__dot {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wood); border: 4px solid var(--ink); color: #fff3dc;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, .32), inset 0 -6px 0 rgba(0, 0, 0, .3), 0 6px 0 rgba(14, 6, 12, .5);
}
.trail__dot svg { width: 44px; height: 44px; }
.trail__dot::after {
  content: counter(step); position: absolute; top: -10px; right: -10px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: var(--dw) 20px/1 var(--display); color: var(--ink); background: var(--gold);
  border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}
.trail li:nth-child(4) .trail__dot { background: var(--gold); color: var(--ink); }
.trail li:nth-child(4) .trail__dot::after { background: var(--cream); }
.trail h3 { font-size: 28px; color: var(--cream); text-shadow: var(--outline), 0 4px 0 var(--ink); }
.trail p { font-size: 17px; color: #e7f1df; max-width: 17em; }

.turn { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.photo {
  position: relative; margin: 0; padding: 10px;
  background: var(--wood); border: 4px solid var(--ink); border-radius: 24px; box-shadow: var(--board-shadow);
}
.photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--ink); border-radius: 14px; }
.photo--tilt { transform: rotate(-1.2deg); }
.turn__text { display: grid; gap: 22px; }
.turn__text h3 { font-size: clamp(30px, 3.2vw, 40px); color: var(--cream); text-shadow: var(--outline), 0 5px 0 var(--ink); }
.order { padding: 0 0 12px; overflow: hidden; transform: rotate(.8deg); max-width: 420px; }
.order__head {
  background: var(--plum); color: #f6e3c3; font: var(--dw) 16px/1 var(--display); letter-spacing: .09em; text-transform: uppercase;
  padding: 10px 16px 9px; border-bottom: 4px solid var(--ink);
}
.order ol { list-style: none; margin: 0; padding: 12px 14px 0; display: grid; gap: 8px; }
.order li { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 12px; font: var(--dw) 21px/1 var(--display); }
.order li.now { background: rgba(246, 191, 64, .35); box-shadow: inset 0 0 0 3px var(--gold-d); }
.order .st {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font: 700 15px/1 var(--body); padding: 6px 11px 7px; border: 3px solid var(--ink); border-radius: 20px; background: var(--cream);
  white-space: nowrap;
}
.order .st svg { width: 15px; height: 15px; color: #3c7a1c; }
.order .st--gold { background: var(--gold); }
.order .st--idle { background: #d9cab3; color: #6b5560; }
.order .bot { display: inline-flex; align-items: center; gap: 4px; font: 700 13px/1 var(--body); color: #6b5560; background: rgba(36, 19, 31, .1); padding: 4px 7px; border-radius: 7px; }
.order .bot svg { width: 15px; height: 15px; }

/* ---------- shop ---------- */

.shop { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.shop__text { display: grid; gap: 22px; }
.shop__tray { padding: 22px 22px 26px; transform: rotate(-.8deg); }
.shop__sign {
  display: inline-flex; align-items: center; gap: 10px; margin: -48px 0 18px 12px;
  font: var(--dw) 22px/1 var(--display); letter-spacing: .03em; padding: 9px 16px 11px; transform: rotate(-2deg);
}
.shop__sign svg { width: 34px; height: 34px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { display: flex; flex-direction: column; overflow: hidden; transition: transform .18s ease; }
.perk:hover { transform: translateY(-6px) rotate(-1deg); }
.perk__fam { background: var(--fam); color: #fff; font: var(--dw) 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px 7px; border-bottom: 3px solid var(--ink); }
.perk__body { padding: 14px 14px 0; display: grid; gap: 8px; justify-items: start; flex: 1; }
.perk__body svg { width: 56px; height: 56px; }
.perk h3 { font-size: 24px; }
.perk p { font-size: 15.5px; line-height: 1.4; color: #4d3542; }
.perk__price { display: flex; align-items: center; gap: 6px; margin: 12px 14px 4px; font: var(--dw) 26px/1 var(--display); }
.perk__price svg { width: 30px; height: 30px; }
.mov { --fam: var(--mov); }
.agr { --fam: var(--agr); }
.pro { --fam: var(--pro); }
.rare { margin-top: 22px; display: grid; gap: 12px; }
.rare__label { display: flex; align-items: center; gap: 10px; font: var(--dw) 18px/1 var(--display); color: #fff3dc; text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 4px 0 var(--ink); }
.rare ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rare li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f4e3be; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 rgba(14, 6, 12, .45); color: var(--ink); }
.rare__label .chip { text-shadow: none; }
.rare li svg { width: 38px; height: 38px; }
.rare li b { display: block; font: var(--dw) 18px/1 var(--display); }
.rare li span { display: block; font-size: 14px; line-height: 1.25; color: #5a3f4c; margin-top: 3px; }

/* ---------- minigames ---------- */

.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 28px); margin: 0; padding: 0; list-style: none; }
.game { position: relative; padding: 9px 9px 18px; display: flex; flex-direction: column; transition: transform .2s ease; }
.game:nth-child(odd) { transform: rotate(-.7deg); }
.game:nth-child(even) { transform: rotate(.6deg); }
.game:hover { transform: translateY(-8px) rotate(-1.2deg); }
.game__pic { position: relative; }
.game__pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 3px solid var(--ink); border-radius: 13px; }
.game .chip { position: absolute; top: 8px; right: 8px; font-size: 14px; padding: 5px 9px 6px; }
.game h3 {
  position: relative; z-index: 1; align-self: flex-start; margin: -22px 0 0 10px;
  font-size: 23px; padding: 7px 13px 9px; transform: rotate(-2deg);
}
.game p { margin: 12px 8px 0; font-size: 16px; line-height: 1.45; color: #f9e8cc; }

/* ---------- teams: split or betray ---------- */

.teams { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.teams__text { display: grid; gap: 22px; }
.teams__modes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.teams__modes li { display: flex; gap: 14px; align-items: flex-start; }
.teams__modes .chip { flex: none; margin-top: 2px; }
.teams__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.teams__pics .photo { padding: 7px; border-radius: 18px; }
.teams__pics .photo img { border-radius: 10px; }
.teams__pics .photo:first-child { transform: rotate(-1.5deg); }
.teams__pics .photo:last-child { transform: rotate(1.2deg); }

.pot { padding: 0 0 22px; overflow: hidden; transform: rotate(.6deg); }
.pot__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--plum); color: #f6e3c3; padding: 12px 18px 11px; border-bottom: 4px solid var(--ink);
  font: var(--dw) 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.pot__coins { display: inline-flex; align-items: center; gap: 6px; font-size: 28px; letter-spacing: 0; color: var(--gold); text-shadow: 0 3px 0 var(--ink); }
.pot__coins svg { width: 32px; height: 32px; }
.pot__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 46px 18px 8px; }
.pot__vs { font: var(--dw) 26px/1 var(--display); color: var(--soft); }
.seat { display: grid; justify-items: center; gap: 10px; text-align: center; }
.seat__name { font: var(--dw) 22px/1 var(--display); }
.seat__pick {
  min-width: 112px; padding: 8px 12px 9px; border: 3px solid var(--ink); border-radius: 12px;
  font: var(--dw) 18px/1 var(--display); background: #e9dcc4; color: var(--soft);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s ease;
}
.seat__pick.is-split { background: #9fd36d; color: var(--ink); transform: rotate(-3deg) scale(1.06); }
.seat__pick.is-betray { background: #d63e2c; color: #fff; text-shadow: 0 2px 0 var(--ink); transform: rotate(3deg) scale(1.06); }
.medal.is-b img:first-of-type { opacity: 0; }
.medal.is-b img + img { opacity: 1; }
.pot__btns { display: flex; justify-content: center; gap: 14px; padding: 18px 18px 0; flex-wrap: wrap; }
.pot__btns .btn { min-width: 150px; }
.pot__btns .btn--betray { background: #d63e2c; color: #fff; text-shadow: 0 2px 0 var(--ink); box-shadow: inset 0 -7px 0 #a3291b, 0 6px 0 var(--ink); }
.pot__btns .btn--betray:hover { box-shadow: inset 0 -7px 0 #a3291b, 0 8px 0 var(--ink); }
.pot__btns .btn--betray:active { box-shadow: inset 0 -4px 0 #a3291b, 0 1px 0 var(--ink); }
.pot__btns .btn[disabled] { opacity: .45; cursor: default; transform: none; }
.pot__result { min-height: 3.1em; margin: 16px 22px 0; text-align: center; font-weight: 700; color: #4d3542; }
.pot__again { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--plum); font: var(--dw) 17px/1 var(--display); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pot__again[hidden] { display: none; }

/* ---------- boards ---------- */

.boards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.board { display: grid; gap: 22px; }
.board:nth-child(1) .photo { transform: rotate(-1deg); }
.board:nth-child(2) .photo { transform: rotate(1deg); }
.board__name { position: absolute; left: 22px; bottom: -22px; font-size: 26px; padding: 8px 16px 10px; transform: rotate(-2deg); }
.board p { padding: 18px 6px 0; color: var(--muted); }

/* ---------- figures ---------- */

.cast { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 12px; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.cast li { display: grid; justify-items: center; gap: 14px; }
.cast .medal { width: 150px; height: 132px; cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.cast li:hover .medal, .cast li:focus-within .medal { transform: translateY(-6px) rotate(-4deg); }
.cast li:hover .medal img:first-of-type, .cast li:focus-within .medal img:first-of-type { opacity: 0; }
.cast li:hover .medal img + img, .cast li:focus-within .medal img + img { opacity: 1; }
.cast button { all: unset; display: grid; justify-items: center; gap: 14px; cursor: pointer; border-radius: 12px; }
.cast button:focus-visible { outline: 4px solid var(--gold-l); outline-offset: 6px; }
.cast__name { font: var(--dw) 19px/1 var(--display); color: #fff3dc; text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 4px 0 var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ticks li { display: flex; gap: 14px; align-items: center; padding: 16px 18px 20px; }
.ticks li:nth-child(1) { transform: rotate(-1deg); }
.ticks li:nth-child(3) { transform: rotate(.8deg); }
.ticks p { color: #4d3542; font-weight: 700; font-size: 17px; line-height: 1.35; }
.ticks svg { width: 46px; height: 46px; flex: none; }

/* ---------- online + questions ---------- */

.online { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(80px, 10vw, 130px); }
.online__text { display: grid; gap: 22px; }
.room { padding: 0 0 22px; overflow: hidden; transform: rotate(-.8deg); }
.room__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--plum); color: #f6e3c3; padding: 12px 18px 11px; border-bottom: 4px solid var(--ink); font: var(--dw) 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.room__code { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 18px 6px; }
.room__code b { font: var(--dw) 46px/1 var(--display); letter-spacing: .12em; padding: 10px 18px 12px; background: #fff8ea; border: 4px solid var(--ink); border-radius: 14px; box-shadow: inset 0 -6px 0 var(--cream-d); }
.room__code span { display: grid; place-items: center; width: 54px; height: 54px; border: 4px solid var(--ink); border-radius: 14px; background: var(--gold); box-shadow: inset 0 -5px 0 var(--gold-d), 0 4px 0 var(--ink); }
.room__code span svg { width: 26px; height: 26px; color: var(--ink); }
.room__seats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 26px 14px 0; padding: 0; }
.room__seats li { display: grid; justify-items: center; gap: 8px; font: var(--dw) 18px/1 var(--display); text-align: center; }
.room__seats .medal { width: 92px; height: 80px; }
.room__seats .medal--bot .hx.in { display: grid; place-items: center; }
.room__seats .medal--bot svg { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); color: #e7f1df; }
.room__seats small { font: 700 13px/1 var(--body); color: var(--soft); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.faq li { padding: 20px 22px 24px; }
.faq li:nth-child(3n+1) { transform: rotate(-.6deg); }
.faq li:nth-child(3n+2) { transform: rotate(.5deg); }
.faq h3 { font-size: 24px; margin-bottom: 8px; }
.faq p { color: #4d3542; }

/* ---------- launch news ---------- */

.news { position: relative; padding: clamp(28px, 4vw, 52px); padding-right: clamp(220px, 26vw, 340px); margin-top: 40px; }
.news__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 620px; }
.news .title { font-size: clamp(36px, 4.6vw, 56px); }
.news p { color: #fbead0; }
.form { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-top: 4px; }
.form label { flex-basis: 100%; font: var(--dw) 19px/1 var(--display); color: #fff3dc; text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 4px 0 var(--ink); }
.form input {
  flex: 1 1 260px; min-width: 0; min-height: 60px; padding: 12px 16px;
  font: 700 19px/1.2 var(--body); color: var(--ink); background: #fff8ea;
  border: 4px solid var(--ink); border-radius: 14px; box-shadow: inset 0 4px 0 rgba(36, 19, 31, .12);
}
.form input::placeholder { color: #8f7684; font-weight: 400; }
.form input[aria-invalid="true"] { border-color: var(--stamp); }
.form__msg { flex-basis: 100%; min-height: 1.5em; font-weight: 700; color: var(--gold-l); }
.news .platform { text-shadow: none; }
.news__fig { position: absolute; right: clamp(24px, 5vw, 80px); bottom: -4px; height: calc(100% + 70px); max-height: 470px; width: auto; filter: drop-shadow(0 10px 0 rgba(14, 6, 12, .45)); transform: rotate(4deg); transform-origin: 50% 100%; }
.swipe { display: none; }

/* ---------- footer ---------- */

.footer { background: var(--night-d); padding: 56px 0 40px; color: var(--muted); }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 40px; align-items: center; }
.footer__logo img { width: 170px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.footer__links a { font: var(--dw) 18px/1 var(--display); color: #f1dcbb; text-decoration: none; }
.footer__links a:hover { color: var(--gold); }
.footer__legal { font-size: 15px; text-align: right; }
.footer__legal a { color: #f1dcbb; }

/* ---------- motion ---------- */

@keyframes drop {
  0% { opacity: 0; transform: translateY(-60px) rotate(-9deg) scale(.92); }
  60% { opacity: 1; transform: translateY(8px) rotate(-2deg) scale(1.02); }
  80% { transform: translateY(-3px) rotate(-3.4deg); }
  100% { opacity: 1; transform: rotate(-3deg); }
}
@keyframes pop { 0% { opacity: 0; transform: translateY(18px) scale(.94); } 70% { opacity: 1; transform: translateY(-3px) scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes land {
  0% { opacity: 0; translate: 0 34px; scale: .96; }
  70% { opacity: 1; translate: 0 -4px; scale: 1.01; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: settle 2.2s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__logo { animation: drop .9s cubic-bezier(.3, .8, .4, 1) .15s both; }
  .hero__tag { animation: pop .5s ease-out .75s both; }
  .hero__cta { animation: pop .5s ease-out 1.05s both; }
  .js [data-land] { opacity: 0; }
  .js [data-land].is-in { animation: land .6s cubic-bezier(.3, .8, .4, 1) var(--d, 0s) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .perk, .game, .cast .medal, .seat__pick { transition: none; }
}
/* the tag plaque keeps its tilt after the pop animation */
.hero__tag { rotate: 1.5deg; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav__links a { font-size: 17px; padding: 8px 8px 10px; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .cast { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .shop__text { max-width: 640px; }
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero__bg img { object-position: 50% 30%; }
}
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav { justify-content: space-between; }
}
@media (max-width: 900px) {
  .spite__grid { grid-template-columns: 1fr; gap: 72px; max-width: 560px; margin-inline: auto; }
  .spite__card:nth-child(n) { transform: rotate(-.8deg); }
  .spite__card:nth-child(2) { transform: rotate(.8deg); }
  .trail { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .trail::before { display: none; }
  .turn, .teams, .online { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .turn .order, .pot, .room { max-width: 520px; width: 100%; justify-self: center; }
  .boards { grid-template-columns: 1fr; gap: 64px; }
  .rare ul { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__legal { text-align: center; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .nav { height: 62px; top: 8px; width: calc(100% - 16px); padding: 0 8px 0 12px; border-radius: 16px; }
  .nav__logo img { height: 38px; }
  .hero { min-height: max(600px, 100svh); }
  .hero__bg img { object-position: 50% 35%; }
  .hero::before { background: linear-gradient(180deg, rgba(23, 11, 20, .55) 0%, rgba(23, 11, 20, 0) 34%, rgba(23, 11, 20, 0) 60%, rgba(23, 11, 20, .78) 86%, var(--night) 100%); }
  .hero__in { padding: 92px 0 40px; align-items: center; text-align: center; min-height: max(600px, 100svh); }
  .hero__logo { width: min(92vw, 440px); max-width: none; }
  .hero__tag { margin-left: 0; font-size: 19px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
  .perks { grid-template-columns: 1fr; }
  .perk { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; }
  .perk__fam { grid-column: 1 / -1; }
  .perk__body { grid-template-columns: auto 1fr; column-gap: 12px; padding-bottom: 12px; }
  .perk__body svg { grid-row: span 2; width: 50px; height: 50px; }
  .perk__price { grid-column: 1 / -1; margin-top: 0; }
  .shop__tray { padding: 18px 14px 20px; }
  .games {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 320px);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 14px 16px 26px; scrollbar-width: none;
  }
  .games::-webkit-scrollbar { display: none; }
  .game { scroll-snap-align: start; }
  .swipe { display: block; text-align: center; font: var(--dw) 17px/1 var(--display); color: var(--muted); margin-top: 4px; }
  .cast .medal { width: 100px; height: 88px; }
  .cast { gap: 48px 6px; }
  .cast__name { font-size: 16px; }
  .trail { grid-template-columns: 1fr; gap: 26px; }
  .trail li { grid-template-columns: 76px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 6px; justify-items: start; text-align: left; }
  .trail__dot { grid-row: span 2; width: 76px; height: 76px; }
  .trail__dot svg { width: 36px; height: 36px; }
  .trail__dot::after { width: 30px; height: 30px; font-size: 17px; top: -8px; right: -8px; }
  .trail p { max-width: none; }
  .pot__pair { padding-inline: 8px; gap: 4px; }
  .pot .medal { width: 104px; height: 92px; }
  .seat__pick { min-width: 96px; font-size: 16px; }
  .pot__btns .btn { min-width: 0; flex: 1 1 120px; }
  .room__code b { font-size: 34px; padding: 8px 12px 10px; }
  .room__seats .medal { width: 70px; height: 61px; }
  .room__seats li { font-size: 15px; }
  .news { padding: 128px 20px 28px; margin-top: 70px; }
  .news__fig { height: 200px; right: 14px; top: -72px; bottom: auto; }
  .teams__pics { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav .btn--sm { font-size: 16px; padding: 8px 11px 11px; }
  .nav__logo img { height: 34px; }
  .room__seats { gap: 2px; margin-inline: 8px; }
  .room__seats .medal { width: 58px; height: 51px; }
  .room__seats li { font-size: 14px; }
  .trail li { grid-template-columns: 64px 1fr; column-gap: 14px; }
  .trail__dot { width: 64px; height: 64px; }
  .title { font-size: 34px; }
  .room__code b { font-size: 28px; letter-spacing: .08em; }
  .room__code span { width: 46px; height: 46px; }
}

/* ---------- languages ---------- */

.lang { position: relative; flex: none; }
.lang summary {
  list-style: none; display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 12px;
  border: 3px solid var(--ink); border-radius: 13px; background: rgba(36, 19, 31, .38); cursor: pointer;
  font: var(--dw) 17px/1 var(--display); color: #fff3dc;
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 0 3px 0 var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 21px; height: 21px; filter: drop-shadow(0 2px 0 var(--ink)); }
.lang summary:hover { background: rgba(36, 19, 31, .55); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; min-width: 250px; max-height: min(70vh, 560px); overflow: auto;
  display: grid; gap: 2px; margin: 0; padding: 8px; list-style: none;
  background: var(--cream); border: 4px solid var(--ink); border-radius: 16px; box-shadow: var(--card-shadow), 0 18px 40px rgba(10, 4, 10, .5);
}
.lang a { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 700 17px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.lang a small { font-weight: 700; font-size: 12px; color: var(--soft); letter-spacing: .06em; }
.lang a:hover { background: var(--cream-d); }
.lang a[aria-current="page"] { background: var(--gold); }
.footer__langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 4px 0 0; padding: 18px 0 0; list-style: none; border-top: 2px solid rgba(214, 191, 158, .15); }
.footer__langs a { color: var(--muted); font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; }
.footer__langs a:hover, .footer__langs a[aria-current="page"] { color: var(--gold); }

/* faces for scripts the game fonts do not cover */
html:lang(ru) { --display: "Nunito", system-ui, sans-serif; --body: "Nunito", system-ui, sans-serif; --dw: 900; }
html:lang(ja) { --display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif; --body: "M PLUS Rounded 1c", "Hiragino Sans", "Yu Gothic", sans-serif; --dw: 800; }
html:lang(ko) { --display: "Jua", "Noto Sans KR", sans-serif; --body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --dw: 400; }
html:lang(zh-Hans) { --display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --dw: 900; }
html:lang(ja), html:lang(zh-Hans) { line-break: strict; }
html:lang(ko) { word-break: keep-all; }
html:lang(ja) .title, html:lang(ko) .title, html:lang(zh-Hans) .title { letter-spacing: .02em; line-height: 1.2; }
html:lang(de) p, html:lang(fr) p, html:lang(pl) p, html:lang(ru) p, html:lang(tr) p, html:lang(it) p, html:lang(es) p, html:lang(pt-BR) p { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
@media (max-width: 700px) {
  .btn { white-space: normal; text-align: center; }
  .lang summary { padding: 0 9px; height: 42px; }
  .lang summary span { display: none; }
}

/* nav button: short label on phones */
.cta-s { display: none; }
html:lang(ja) { word-break: auto-phrase; }
.order li { min-width: 0; }
.order .st { white-space: nowrap; }
@media (max-width: 700px) {
  .nav { gap: 10px; }
}
@media (max-width: 560px) {
  .nav .cta-l { display: none; }
  .nav .cta-s { display: inline; }
}
@media (max-width: 1200px) {
  .nav { gap: 14px; }
  .nav__links a { font-size: 17px; padding: 8px 8px 10px; }
}
@media (max-width: 420px) {
  .pot__btns .btn { flex: 1 1 auto; min-width: max-content; font-size: 18px; padding-inline: 12px; }
  .order li { font-size: 18px; gap: 8px; }
}
@media (max-width: 380px) {
  .cast .medal { width: 86px; height: 76px; }
  .order ol { padding-inline: 8px; }
  .order li { font-size: 17px; gap: 6px; padding-inline: 6px; }
  .order .st { font-size: 13px; padding: 5px 8px 6px; }
}
.room__head span { flex: none; white-space: nowrap; }
@media (max-width: 1020px) {
  .nav .lang { margin-left: auto; }
}
