/*
  Pun-G marketing site — production stylesheet for the design handoff
  ("Handoff: Pun-G — Marketing website (landing page)").

  This is the handoff's design rebuilt as plain CSS: same tokens, same type
  ramp, same shadows and lips. Two deliberate differences from the reference
  file, both because that file was a canvas and this is a page:
    - the sections are real markup, not generated by an inline script;
    - the canvas chrome (.lbl / .frame absolute positioning) is gone.

  Breakpoint: a CONTAINER query at 720px on .site, as the handoff specifies, so
  the whole page reflows inside any width it is embedded in. Container queries
  need Chrome 105 / Safari 16 / Firefox 110 — all 2022-23. Older browsers get
  the desktop layout, which is readable but wide; if that ever matters, the
  @container block below is the only thing that has to be mirrored to @media.
*/

:root {
  /* Ground */
  --bg1: #5a1a60;
  --bg2: #2b0a33;
  /* Gold ramp: fills, lips, shadows */
  --g1: #fff3c4;
  --g2: #ffd24a;
  --g3: #f5a623;
  --g4: #a95d0c;
  --g5: #6b2408;
  /* Accents */
  --red2: #ec2743;
  --org1: #ffc27a;
  --org2: #ff8a1f;
  --org3: #b8530a;
  --vio1: #c9a4ff;
  --vio2: #7b4ae0;
  --vio3: #42208c;
  --cream: #fff8e7;
  /* Panel ramp */
  --panel1: #5f1b66;
  --panel2: #3b1043;
  --lip: #240b2b;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--cream);
  background: var(--bg2);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--g2); text-decoration: none; }
a:hover { color: var(--cream); }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--g2); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 20px; top: 12px; z-index: 99;
  background: var(--g2); color: #5b2100;
  font-weight: 900; padding: 10px 16px; border-radius: 12px;
}

/* ---------------------------------------------------------------- ground */

/* The plum radial ground plus the two-layer dot noise from the handoff. The
   texture is a fixed backdrop rather than a ::after on a positioned frame, so
   it covers the page at any length without scrolling out from under it. */
.site {
  container-type: inline-size;
  position: relative;
  background: radial-gradient(ellipse 100% 900px at 50% 0, var(--bg1), var(--bg2) 78%);
}
.site::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) .5px, transparent .5px),
    radial-gradient(rgba(0, 0, 0, .3) .5px, transparent .5px);
  background-size: 3px 3px, 4px 4px;
  background-position: 0 0, 1px 2px;
}
.site > * { position: relative; z-index: 1; }

.w { max-width: 1240px; margin: 0 auto; padding: 0 64px; }
.sec { padding: 110px 0; }
.sec + .sec { padding-top: 40px; }

/* ------------------------------------------------------- chunky headlines */

/* Gold bevelled display type: a stroked base in g5 with two hard drop-shadow
   lips, and the gradient fill painted on top by ::after. The pseudo repeats the
   text, so it carries an empty alt (`/ ''`) to keep screen readers from reading
   every headline twice. */
.chunky {
  position: relative;
  display: inline-block;
  /* max-content keeps a headline on one line while it fits, and max-width
     hands it back to normal wrapping when it does not. The ::after fill layer
     is pinned to 100% of the same box so both layers break identically. */
  width: max-content;
  max-width: 100%;
  isolation: isolate;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: .98;
  color: var(--g5);
  -webkit-text-stroke: .07em var(--g5);
  filter: drop-shadow(0 2px 0 var(--g4)) drop-shadow(0 4px 0 var(--g5)) drop-shadow(0 7px 10px rgba(0, 0, 0, .55));
}
.chunky::after {
  content: attr(data-t);
  content: attr(data-t) / '';
  position: absolute; left: 0; top: 0; width: 100%; z-index: 1;
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 42%, var(--g3) 56%, #ffe27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Second-line variant: white fill, amber lips. */
.chunky.wh { color: #fff; -webkit-text-stroke-color: #fff; filter: drop-shadow(0 2px 0 #c98b12) drop-shadow(0 4px 0 #8d5a06) drop-shadow(0 7px 10px rgba(0, 0, 0, .5)); }
.chunky.wh::after { background: linear-gradient(180deg, #fff, #ffe9a8 60%, #ffcf5c); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3 { margin: 0; }

/* Grid items default to min-width:auto, which lets a max-content headline widen
   its own track instead of wrapping. Every layout grid on the page opts out. */
.hA > *, .hB > *, .hC > *, .bkx > *, .lbw > *, .modes > *, .tiers > *, .rules > * { min-width: 0; }

.h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.h1 .chunky { font-size: 92px; }

.sh2 { display: flex; flex-direction: column; gap: 14px; margin: 0 0 48px; }
.sh2 .chunky { font-size: 56px; }
.sh2 p { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.55; color: rgba(255, 248, 231, .68); max-width: 36em; text-wrap: pretty; }

.lead { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.55; color: rgba(255, 248, 231, .78); max-width: 30em; text-wrap: pretty; }

.kick {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  background: rgba(12, 4, 16, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 900; font-size: 11px; letter-spacing: .14em; color: var(--g2);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- buttons */

.gbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 14px; letter-spacing: .02em;
  color: #fff; border-radius: 14px; padding: 11px 18px 13px;
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .35);
  transition: transform .12s, filter .12s;
}
.gbtn::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 4px; height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.gbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.gbtn.gold {
  background: linear-gradient(180deg, var(--g2), var(--g3));
  box-shadow: 0 4px 0 var(--g4), 0 8px 16px rgba(0, 0, 0, .4);
  color: #5b2100; text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}
.gbtn.gold:hover { color: #5b2100; }
.gbtn.big { font-size: 16px; padding: 14px 24px 16px; }
@media (prefers-reduced-motion: reduce) { .gbtn:hover, .sb:hover { transform: none; } }

/* Store buttons. Sized per the handoff; the official store badge artwork
   replaces the glyph+label contents at launch (see web/README.md), which is why
   the box, not the artwork, carries the styling. */
.store { display: flex; gap: 12px; flex-wrap: wrap; }
.sb {
  display: flex; align-items: center; gap: 11px;
  height: 58px; padding: 0 20px 0 16px;
  border-radius: 14px; background: #14050f;
  border: 1.5px solid rgba(255, 248, 231, .26);
  color: #fff; box-shadow: 0 4px 0 #07020a;
  transition: transform .12s, border-color .12s;
}
.sb:hover { color: #fff; border-color: var(--g2); transform: translateY(-2px); }
.sb svg { width: 22px; height: 22px; flex-shrink: 0; }
.sb span { display: flex; flex-direction: column; gap: 2px; }
.sb small { font-weight: 700; font-size: 10px; letter-spacing: .06em; opacity: .7; }
.sb b { font-weight: 900; font-size: 18px; line-height: 1; }

/* A store with no URL yet is not a link — it says so and stops being clickable
   rather than pretending to go somewhere. */
.sb[aria-disabled='true'] { opacity: .55; cursor: default; pointer-events: none; box-shadow: none; }

/* ------------------------------------------------------------ playing cards */

/* Every card sizes from one custom property: --w. Rank, medallion and the
   "0 PTS" pill are all proportions of it, exactly as the design generator
   computed them. */
.pc {
  --w: 150px;
  position: relative; flex-shrink: 0;
  width: var(--w); height: calc(var(--w) * 1.4);
  border-radius: 14px; padding: 4px;
  background: linear-gradient(180deg, var(--g1), var(--g3));
  box-shadow: 0 4px 0 var(--g4), 0 14px 26px rgba(0, 0, 0, .5);
}
.pc .in {
  position: relative; height: 100%;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #fffdf6, #ffeed2);
}
.pc .in::before {
  content: ''; position: absolute; left: 50%; top: 52%;
  width: 150%; height: 120%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, var(--sc1) 0%, transparent 68%);
  opacity: .5;
}
.pc .in::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.pc .rk {
  position: absolute; top: .2em; left: .3em; z-index: 3;
  font-family: 'Baloo 2', cursive; font-weight: 800; line-height: .9;
  font-size: calc(var(--w) * .22);
  color: var(--sc2); text-shadow: 0 1.5px 0 #fff, 0 2.5px 0 var(--sc3);
}
.pc .rk.b { top: auto; left: auto; bottom: .2em; right: .3em; transform: rotate(180deg); }
.pc .med {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 2;
  font-size: calc(var(--w) * .5); line-height: 1; color: var(--sc2);
  filter: drop-shadow(0 2px 0 var(--sc3)) drop-shadow(0 5px 6px rgba(0, 0, 0, .28));
}
/* Suit tints */
.sp { --sc1: #8ea0c8; --sc2: #2c3a5c; --sc3: #8fa2c4; }
.sc { --sc1: #8fc8a8; --sc2: #1d5c3a; --sc3: #8fcaa9; }
.sh { --sc1: #ff9fb0; --sc2: #d61f43; --sc3: #ffa8b8; }
.sd { --sc1: #ffc088; --sc2: #e0670c; --sc3: #ffc48f; }

/* Black Kings: plum face, gold everything, outer glow. */
.pc.bk { background: linear-gradient(180deg, #fff6cf, #f0a91c); box-shadow: 0 4px 0 #8d5a06, 0 16px 32px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 210, 74, .28); }
.pc.bk .in { background: linear-gradient(180deg, #3a1240, #1e0824); box-shadow: inset 0 0 0 1px rgba(255, 214, 90, .5); }
.pc.bk .in::before { background: radial-gradient(ellipse at center, rgba(255, 210, 74, .5), transparent 66%); opacity: 1; }
.pc.bk .in::after { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.pc.bk .rk { color: #ffe27a; text-shadow: 0 1.5px 0 #8d5a06, 0 3px 0 #5c3a04; }
.pc.bk .med { top: 41%; color: var(--g2); filter: drop-shadow(0 2px 0 #8d5a06) drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.zb {
  position: absolute; z-index: 5; left: 50%; top: 66%; transform: translateX(-50%);
  background: linear-gradient(180deg, #ffe27a, var(--g3));
  color: var(--g5); font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: calc(var(--w) * .1); line-height: 1;
  border-radius: 999px; box-shadow: 0 2px 0 #8d5a06;
  padding: .25em .7em .3em; white-space: nowrap;
}

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

.nav { display: flex; align-items: center; gap: 34px; height: 88px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 38px; height: 26px; filter: drop-shadow(0 2px 0 var(--g5)); }
.logo .chunky { font-size: 34px; }
.nav .lk { display: flex; gap: 28px; margin-left: auto; font-weight: 800; font-size: 14px; }
.nav .lk a { color: rgba(255, 248, 231, .72); }
.nav .lk a:hover { color: var(--g2); }

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

.hA { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 660px; padding-bottom: 60px; }
.hA .tx { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.fan { position: relative; height: 460px; }
.fan .pc { position: absolute; left: 50%; bottom: 40px; margin-left: calc(var(--w) / -2); transform-origin: 50% 120%; }
.eq {
  position: absolute; z-index: 6; left: 50%; top: 14px; translate: -50% 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 11px; border-radius: 14px;
  background: linear-gradient(180deg, #3d0f45, #280a2f);
  border: 1.5px solid rgba(255, 210, 74, .4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 22px;
  color: var(--cream); white-space: nowrap;
}
.eq em { font-style: normal; color: var(--g2); }

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

.hB { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: 30px 0 90px; }
.hB .h1 { align-items: center; }
.hB .lead { margin-inline: auto; }
.felt {
  position: relative; width: min(760px, 100%); height: 280px; margin-top: 10px;
  border-radius: 50% / 50%;
  background: radial-gradient(ellipse at 50% 40%, #2fa85a, #0c5228 78%);
  box-shadow: inset 0 0 0 6px var(--g3), inset 0 0 0 9px var(--g4), inset 0 10px 30px rgba(0, 0, 0, .4), 0 0 60px rgba(255, 210, 74, .2), 0 24px 50px rgba(0, 0, 0, .5);
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.felt .op { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 52px; color: #fff; text-shadow: 0 3px 0 #0c5228, 0 6px 12px rgba(0, 0, 0, .4); }

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

.hC { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; min-height: 680px; padding-bottom: 50px; }
.hC .tx { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 3px; }
.facts b { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 30px; line-height: 1; color: var(--g2); }
.facts span { font-weight: 800; font-size: 11px; letter-spacing: .12em; color: rgba(255, 248, 231, .5); }
.phone { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; }
.phone .ph {
  position: relative; z-index: 2; width: 292px; height: 600px;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(180deg, #3a1240, #14050f);
  box-shadow: 0 0 0 2px rgba(255, 210, 74, .45), 0 30px 60px rgba(0, 0, 0, .6);
}
.phone .ph img, .phone .ph .shot { width: 100%; height: 100%; border-radius: 34px; object-fit: cover; }
/* Empty state for the screenshot slot — hero C cannot ship until a real
   390×844 capture replaces it. */
.phone .shot {
  display: grid; place-items: center; text-align: center; padding: 20px;
  border: 2px dashed rgba(255, 248, 231, .25);
  font-weight: 800; font-size: 13px; color: rgba(255, 248, 231, .45);
}
.phone .pc { position: absolute; z-index: 1; }

/* -------------------------------------------------------- black kings */

.bkx { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.bkx .pair { position: relative; width: 360px; height: 320px; }
.bkx .pair .pc { position: absolute; top: 10px; }
.bkx .sh2 { margin: 0; }
.bkx .kick { align-self: flex-start; }

.vals { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(14, 1fr); gap: 10px; }
.vals .v { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vals .v .pc {
  width: 100%; max-width: 62px; height: auto; aspect-ratio: 5 / 7;
  padding: 2.5px; border-radius: 9px;
  box-shadow: 0 3px 0 var(--g4), 0 6px 12px rgba(0, 0, 0, .4);
}
.vals .v .pc.bk { box-shadow: 0 3px 0 #8d5a06, 0 6px 12px rgba(0, 0, 0, .4), 0 0 24px rgba(255, 210, 74, .35); }
.vals .v .pc .in { border-radius: 6px; }
.vals .v .pc .rk { font-size: 13.5px; }
.vals .v .pc .med { font-size: 31px; }
.vals .v b { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 22px; line-height: 1; color: var(--cream); }
.vals .v.z b { color: var(--g2); }

/* ------------------------------------------------------------------ rules */

.rules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.rule {
  position: relative; border-radius: 20px; padding: 24px 20px 26px;
  background: linear-gradient(180deg, var(--panel1), var(--panel2));
  box-shadow: 0 5px 0 var(--lip), inset 0 1px 0 rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 12px;
}
.rule .n {
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 22px;
  color: #7a3d05; background: linear-gradient(180deg, var(--g1), var(--g3));
  box-shadow: 0 3px 0 var(--g4), inset 0 2px 0 rgba(255, 255, 255, .6);
}
.rule h3 { margin: 6px 0 0; font-weight: 900; font-size: 18px; line-height: 1.2; color: var(--cream); }
.rule p { margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.55; color: rgba(255, 248, 231, .66); text-wrap: pretty; }

/* ------------------------------------------------------------------ modes */

.modes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.mt { position: relative; border-radius: 24px; padding: 3px; overflow: hidden; }
.mt .b {
  border-radius: 21px; padding: 26px 26px 24px; height: 100%;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.mt .b::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent);
  pointer-events: none;
}
.mt .k { font-weight: 900; font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, .82); }
.mt .num { align-self: flex-start; font-size: 92px; }
.mt .d { font-weight: 800; font-size: 15px; color: #fff; }
.mt.o { background: linear-gradient(180deg, var(--org1), var(--org3)); box-shadow: 0 6px 0 #7a3405, 0 14px 28px rgba(0, 0, 0, .4); }
.mt.o .b { background: linear-gradient(180deg, #ffa347, var(--org2) 60%, #e2700f); }
.mt.v { background: linear-gradient(180deg, var(--vio1), var(--vio3)); box-shadow: 0 6px 0 #2a1360, 0 14px 28px rgba(0, 0, 0, .4); }
.mt.v .b { background: linear-gradient(180deg, #9a6cf0, var(--vio2) 60%, #5b30c0); }

.pace {
  border-radius: 24px; padding: 22px;
  background: linear-gradient(180deg, var(--panel1), var(--panel2));
  box-shadow: 0 6px 0 var(--lip);
  display: flex; flex-direction: column; gap: 12px;
}
.pace .k { font-weight: 900; font-size: 12px; letter-spacing: .16em; color: rgba(255, 248, 231, .5); }
.pace .r {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border-radius: 16px; background: rgba(12, 4, 16, .4);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5);
}
.pace .r .ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #7a3d05; background: linear-gradient(180deg, #ffe89a, var(--g3));
}
.pace .r b { display: block; font-weight: 900; font-size: 16px; color: var(--cream); }
.pace .r span span { font-weight: 700; font-size: 13px; color: rgba(255, 248, 231, .55); }

.tiers { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tr { border-radius: 22px; padding: 2px; }
.tr .b {
  border-radius: 20px; padding: 22px 18px; height: 100%;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, var(--panel1), #330d3b);
}
.tr .em {
  width: 58px; height: 58px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 28px;
}
.tr .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tr .t i { font-style: normal; font-weight: 900; font-size: 12px; letter-spacing: .14em; }
.tr .t b { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 28px; line-height: 1; color: var(--cream); }
.tr .t b em { font-style: normal; font-size: 16px; color: var(--g2); }
.tr .t span { font-weight: 700; font-size: 12px; color: rgba(255, 248, 231, .5); white-space: nowrap; }
.tr.bro { background: linear-gradient(180deg, #e6a469, #8a4a1c); }
.tr.bro .em { background: linear-gradient(180deg, #f0b47e, #8a4a1c); color: #5f3010; box-shadow: 0 3px 0 #5f3010; }
.tr.bro i { color: #f0b47e; }
.tr.sil { background: linear-gradient(180deg, #e8f0f8, #7d8fa3); }
.tr.sil .em { background: linear-gradient(180deg, #fbfdff, #8c9db0); color: #4c5b6b; box-shadow: 0 3px 0 #5b6b7c; }
.tr.sil i { color: #dbe7f3; }
.tr.gld { background: linear-gradient(180deg, #ffe89a, #a95d0c); }
.tr.gld .em { background: linear-gradient(180deg, var(--g1), var(--g3)); color: #7a3d05; box-shadow: 0 3px 0 var(--g4); }
.tr.gld i { color: var(--g2); }
.tr.dia { background: linear-gradient(180deg, #a8f0ff, #1d7fa8); }
.tr.dia .em { background: linear-gradient(180deg, #d8fbff, #2ca6d6); color: #0c5570; box-shadow: 0 3px 0 #10627f; }
.tr.dia i { color: #9fecff; }
.tr.plt { background: linear-gradient(180deg, #f2f7ff, #8fa6c4); }
.tr.plt .em { background: linear-gradient(180deg, #ffffff, #a9bedb); color: #405268; box-shadow: 0 3px 0 #6c7f99; }
.tr.plt i { color: #eaf2ff; }
.tr.mst { background: linear-gradient(180deg, #d9b8ff, #5b2fa8); }
.tr.mst .em { background: linear-gradient(180deg, #ecdcff, #7b4ae0); color: #301663; box-shadow: 0 3px 0 #42208c; }
.tr.mst i { color: #d3b4ff; }
.tr.lgd { background: linear-gradient(180deg, #ffd9a8, #a01020); }
.tr.lgd .em { background: linear-gradient(180deg, #fff0c8, #ec2743); color: #5a0612; box-shadow: 0 3px 0 #780a18; }
.tr.lgd i { color: #ffd98f; }

/* ------------------------------------------------------------ leaderboard */

.lbw { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: center; }
.lbw .tx { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lbw .tx .sh2 { margin: 0; }
.board {
  border-radius: 26px; padding: 3px;
  background: linear-gradient(180deg, #ffe89a, #a95d0c);
  box-shadow: 0 6px 0 var(--g5), 0 20px 40px rgba(0, 0, 0, .45);
}
.board .b { border-radius: 23px; background: linear-gradient(180deg, #4d1252, var(--bg2)); padding: 10px; }
.board .hd, .row { display: grid; grid-template-columns: 44px 1fr 90px 110px; gap: 14px; align-items: center; }
.board .hd { padding: 12px 16px 10px; font-weight: 900; font-size: 10.5px; letter-spacing: .14em; color: rgba(255, 248, 231, .42); }
.board .hd span:last-child { text-align: right; }
.row { padding: 12px 16px; border-radius: 16px; }
.row + .row { margin-top: 4px; }
.row:nth-child(odd) { background: rgba(12, 4, 16, .28); }
.row .pos {
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 18px;
  color: rgba(255, 248, 231, .6); background: rgba(12, 4, 16, .4);
}
.row.p1 .pos { background: linear-gradient(180deg, var(--g1), var(--g3)); color: #7a3d05; box-shadow: 0 3px 0 var(--g4); }
.row.p2 .pos { background: linear-gradient(180deg, #fbfdff, #8c9db0); color: #4c5b6b; box-shadow: 0 3px 0 #5b6b7c; }
.row.p3 .pos { background: linear-gradient(180deg, #f0b47e, #8a4a1c); color: #5f3010; box-shadow: 0 3px 0 #5f3010; }
.row .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row .av {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #fff;
  box-shadow: 0 0 0 2.5px rgba(255, 210, 74, .6);
}
.row .nm { font-weight: 900; font-size: 16px; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .wn { font-weight: 900; font-size: 16px; color: var(--cream); }
.row .cn { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 20px; color: var(--g2); text-align: right; }

/* Shown until the weekly leaderboard endpoint exists. No invented players: an
   empty board is honest, a fake top five is not. */
.board .empty {
  padding: 28px 18px 30px; text-align: center;
  font-weight: 700; font-size: 14.5px; line-height: 1.55; color: rgba(255, 248, 231, .6);
}
.board .empty b { display: block; font-weight: 900; font-size: 16px; color: var(--cream); margin-bottom: 6px; }

/* ----------------------------------------------------------- cta + footer */

.cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: 100px 0 110px; }
.cta .chunky { font-size: 84px; }
.cta .lead { margin-inline: auto; }

.foot { display: flex; align-items: center; gap: 30px; padding: 28px 0 34px; border-top: 1px solid rgba(255, 248, 231, .12); font-weight: 700; font-size: 13px; color: rgba(255, 248, 231, .45); }
.foot .logo .chunky { font-size: 24px; }
.foot .logo svg { width: 28px; height: 19px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.foot nav a { color: rgba(255, 248, 231, .6); }
.foot nav a:hover { color: var(--g2); }
.foot .social { margin-left: 0; gap: 16px; }
.foot .social a { display: inline-flex; padding: 4px; }
.foot .social svg { width: 20px; height: 20px; display: block; }
.compliance {
  padding: 0 0 36px; margin: 0;
  font-weight: 700; font-size: 12.5px; line-height: 1.6; color: rgba(255, 248, 231, .38);
  max-width: 70ch;
}

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

/* All three heroes ship in the page; data-hero on .site picks the live one, so
   swapping A → B → C is a one-attribute change while the choice is open. */
.site[data-hero='a'] .hB, .site[data-hero='a'] .hC,
.site[data-hero='b'] .hA, .site[data-hero='b'] .hC,
.site[data-hero='c'] .hA, .site[data-hero='c'] .hB { display: none; }

/* ----------------------------------------------------------------- mobile */

@container (max-width: 720px) {
  .w { padding: 0 20px; }
  .nav { height: 68px; gap: 12px; }
  .nav .lk { display: none; }
  .nav .gbtn { margin-left: auto; padding: 9px 14px 11px; font-size: 13px; }
  .logo .chunky { font-size: 28px; }
  .logo svg { width: 32px; height: 22px; }
  .h1 .chunky { font-size: 52px; }
  .lead { font-size: 16px; }
  .sb { height: 52px; padding: 0 14px 0 12px; flex: 1; min-width: 0; }
  .sb b { font-size: 15px; }
  .sb small { font-size: 9px; }
  .store { flex-wrap: nowrap; width: 100%; gap: 10px; }

  .hA { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding: 10px 0 50px; }
  .hA .fan { order: -1; height: 300px; }
  .fan .pc { scale: .62; bottom: 26px; }
  .kick { height: auto; white-space: normal; padding: 6px 12px; line-height: 1.5; }
  .eq { font-size: 17px; padding: 8px 12px 9px; }

  .hB { padding: 18px 0 60px; gap: 20px; }
  .felt { height: 190px; gap: 10px; }
  .felt .pc { scale: .62; margin: -40px -18px; }
  .felt .op { font-size: 34px; }

  .hC { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding: 10px 0 60px; }
  .phone { height: 470px; }
  .phone .ph { width: 228px; height: 470px; border-radius: 36px; padding: 8px; }
  .phone .ph img, .phone .ph .shot { border-radius: 28px; }
  .phone .pc { scale: .6; }
  .phone .pc:nth-of-type(1) { translate: -160px -30px !important; }
  .phone .pc:nth-of-type(2) { translate: 20px -170px !important; }
  .facts { gap: 20px; }
  .facts b { font-size: 24px; }

  .sec { padding: 64px 0; }
  .sh2 { margin-bottom: 30px; gap: 10px; }
  .sh2 .chunky { font-size: 36px; }
  .sh2 p { font-size: 15.5px; }

  .bkx { grid-template-columns: 1fr; gap: 20px; }
  .bkx .pair { width: 100%; height: 250px; }
  .bkx .pair .pc { scale: .72; }
  .bkx .pair .pc:first-child { left: calc(50% - 150px) !important; }
  .bkx .pair .pc:last-child { left: calc(50% - 30px) !important; }
  .vals { grid-template-columns: repeat(7, 1fr); gap: 8px 6px; margin-top: 36px; }
  .vals .v { gap: 7px; }
  .vals .v b { font-size: 17px; }

  .rules { grid-template-columns: 1fr; gap: 12px; }
  .rule { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 8px; padding: 18px; }
  .rule h3 { margin: 0; font-size: 17px; }
  .rule p { flex-basis: 100%; }

  .modes { grid-template-columns: 1fr; gap: 14px; }
  .tiers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tr .b { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .tr .em { width: 46px; height: 46px; font-size: 22px; }
  .tr .t b { font-size: 24px; }
  .mt .num { font-size: 72px; }

  .lbw { grid-template-columns: 1fr; gap: 28px; }
  .board .hd, .row { grid-template-columns: 36px 1fr 64px; gap: 10px; padding: 10px; }
  .board .hd span:nth-child(3), .row .wn { display: none; }
  .board .hd span:last-child { font-size: 9.5px; white-space: nowrap; }
  .row .pos { width: 32px; height: 32px; font-size: 16px; }
  .row .av { width: 34px; height: 34px; font-size: 13px; }
  .row .nm { font-size: 14.5px; }
  .row .cn { font-size: 17px; }

  .cta { padding: 64px 0 70px; gap: 20px; }
  .cta .chunky { font-size: 46px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot nav { margin-left: 0; }
}
