/* ==========================================================================
   man_chicken — obsidian + warm amber, editorial contrast, 3-font system
   ========================================================================== */
:root {
  --bg: #09090d;
  --bg-2: #101017;
  --surface: #14141d;
  --surface-2: #1b1b26;
  --surface-3: #242433;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --highlight: rgba(255, 255, 255, 0.06);
  --rule: var(--line);
  --rule-2: var(--line-2);
  --text: #f6f4ef;
  --muted: #a6a4b0;
  --dim: #716f7d;

  --yolk: #ffb020;
  --yolk-hi: #ffc95c;
  --yolk-lo: #e0900a;
  --yolk-edge: #a65a00;
  --yolk-glow: rgba(255, 176, 32, 0.16);
  --comb: #ff4d5a;
  --comb-edge: #9e1f33;
  --mint: #34d399;
  --mint-edge: #1b7a58;
  --lilac: #a78bfa;
  --lilac-edge: #6d4aff;
  --pearl: #e7e5e4;
  --pearl-edge: #78716c;
  --gold: #f5b83a;
  --gold-hi: #ffd87a;
  --silver: #cbd5e1;
  --silver-hi: #f1f5f9;
  --bronze: #d98a5b;
  --bronze-hi: #f3b892;
  --ink: #0c0a09;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --f-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --f: var(--f-body);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-out: var(--ease);
  --gutter: clamp(18px, 4vw, 36px);
  --maxw: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: 90px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1000px 560px at 78% -8%, rgba(255, 176, 32, 0.085), transparent 62%),
    radial-gradient(760px 440px at 10% 8%, rgba(167, 139, 250, 0.055), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 15.5px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
::selection { background: var(--yolk); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yolk); outline-offset: 3px; }
.ambient { display: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.18s var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: 0.4s var(--ease) both fade; }
@keyframes vt-out { to { opacity: 0; } }

/* ---------- layout & type ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(64px, 8vw, 108px); }
.page { padding-top: clamp(28px, 5vw, 52px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 10px 14px; border-radius: var(--r-sm); background: var(--yolk); color: var(--ink); font-weight: 700; }
.skip:focus { left: 8px; }
.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; }

.h1 { font: 800 clamp(38px, 5.4vw, 62px)/0.98 var(--f-display); letter-spacing: -0.035em; }
.h2 { font: 700 clamp(24px, 2.8vw, 32px)/1.08 var(--f-display); letter-spacing: -0.025em; }
.h3 { font: 700 18px/1.25 var(--f-display); letter-spacing: -0.01em; }
.lede { max-width: 58ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; }
.muted { color: var(--muted); }
.yolk { color: var(--yolk); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.label, .eyebrow { font: 600 11.5px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.eyebrow { color: var(--yolk); }
.gold-text { color: var(--yolk); }

.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.shead__copy { display: grid; gap: 6px; }
.shead p { color: var(--muted); font-size: 14.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13.5px; text-decoration: none; transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface-3);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 14.5px/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease), box-shadow 0.35s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.9); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--yolk { --btn-bg: var(--yolk); --btn-fg: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px -12px rgba(255, 176, 32, 0.6); }
.btn--yolk:hover { --btn-bg: var(--yolk-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 28px -12px rgba(255, 176, 32, 0.75); }
.btn--comb { --btn-bg: var(--comb); --btn-fg: #fff; }
.btn--kick { --btn-bg: #53fc18; --btn-fg: #0b0e0f; }
.btn--twitch { --btn-bg: #9146ff; --btn-fg: #fff; }
.btn--youtube { --btn-bg: #ff0033; --btn-fg: #fff; }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 12px 22px -14px rgba(0, 0, 0, 0.9); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: var(--r); }
.btn--block { width: 100%; }

/* code ticket: crisp pill with mono code & copy action */
.codechip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--yolk);
  font: 700 13px/1 var(--f-mono);
  letter-spacing: 0.05em;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease);
}
.codechip:hover { background: var(--surface-2); border-color: rgba(255, 176, 32, 0.4); }
.codechip:active { transform: scale(0.97); transition-duration: 0.1s; }
.codechip__label { color: var(--dim); font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.25s; }
.codechip__code { display: flex; align-items: center; padding-right: 2px; }
.codechip__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(255, 176, 32, 0.14); color: var(--yolk); transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.45s var(--ease-spring); }
.codechip__ico svg { width: 14px; height: 14px; }
.codechip.is-copied { border-color: rgba(52, 211, 153, 0.5); }
.codechip.is-copied .codechip__label { color: var(--mint); }
.codechip.is-copied .codechip__ico { background: var(--mint); color: var(--ink); transform: rotate(-8deg) scale(1.06); }

/* ---------- chip logo ---------- */
.mark { position: relative; display: block; flex: none; width: 36px; aspect-ratio: 1; }
.mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark__chip { transition: transform 1.1s var(--ease); }
.mark__face--photo { inset: 11.7%; width: 76.6%; height: 76.6%; border-radius: 50%; object-fit: cover; }
a:hover .mark__chip, .mark:hover .mark__chip { transform: rotate(90deg); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; view-transition-name: hdr; transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-stuck { background: rgba(9, 9, 13, 0.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.hdr.is-open { background: var(--bg); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.logo__word { font: 800 17px/1 var(--f-display); letter-spacing: -0.02em; }
.logo__word .us, .us { color: var(--yolk); }
.nav { position: relative; display: flex; gap: 6px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.nav__thumb { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 1px 0 var(--highlight); pointer-events: none; transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.2s var(--ease); }
.nav.is-instant .nav__thumb { transition: none; }
.nav a { position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 13.5px; text-decoration: none; transition: color 0.25s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a[aria-current] { color: var(--text); }
.hdr__end { display: flex; align-items: center; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 77, 90, 0.12); border: 1px solid rgba(255, 77, 90, 0.28); color: #ff8a93; font: 700 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.live__dot, .dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--comb); }
.dot { background: currentColor; }
.live__dot::after, .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.65; } to { transform: scale(3.2); opacity: 0; } }
.burger { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded='true'] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 20px; transform: rotate(-45deg); }
.mnav { display: none; }

/* ---------- footer ---------- */
.ftr { margin-top: clamp(80px, 10vw, 128px); padding: 44px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.ftr__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ftr__brand p { color: var(--dim); font-size: 14px; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__nav a { color: var(--muted); font-weight: 500; font-size: 14px; text-decoration: none; transition: color 0.25s var(--ease); }
.ftr__nav a:hover { color: var(--yolk); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease); }
.social:hover { background: var(--yolk); border-color: var(--yolk); color: var(--ink); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
.ftr__legal { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.55; }
.ftr__legal p + p { margin-top: 6px; }
.ftr__legal a { color: var(--muted); }
.age { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255, 77, 90, 0.6); border-radius: 50%; color: var(--comb); font: 700 12px/1 var(--f-mono); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; color: var(--dim); font-size: 12.5px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 250; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.85); opacity: 0; transform: translate(-50%, 24px) scale(0.96); transition: transform 0.45s var(--ease), opacity 0.3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- shared bits ---------- */
.casino-tag { font: 700 15px/1 var(--f-display); letter-spacing: -0.01em; color: var(--text); }
.casino-tag--lg { font-size: 18px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); font: 600 11px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.status--live { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.25); color: var(--mint); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); }
.pill--demo { color: var(--lilac); border-color: rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.08); }
.pill--live { color: var(--mint); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.pill--live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); text-align: center; background: rgba(255, 255, 255, 0.015); }
.empty h3 { color: var(--text); font: 700 19px/1.2 var(--f-display); }

/* avatar with initials or image */
.av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); color: var(--text); font: 700 12px/1 var(--f-mono); text-transform: uppercase; }
.av--img { display: block; object-fit: cover; }
.av--hue { background: hsl(var(--h) 32% 24%); color: hsl(var(--h) 70% 88%); box-shadow: inset 0 0 0 1px hsl(var(--h) 40% 38% / 0.45); }

/* ---------- motion ---------- */
[data-enter] { animation: enter 0.9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 75ms + 40ms); }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.95s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in, .no-js [data-reveal] { opacity: 1; transform: none; }
[data-stagger]:not(.is-in) > * { opacity: 0; }
[data-stagger].is-in > * { animation: card-in 0.75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.no-js [data-stagger] > * { opacity: 1; }
[data-stagger].is-static > * { animation: none; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes pod-in { from { opacity: 0; transform: translateY(36px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
@keyframes stamp { 40% { transform: scale(0.94); } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hdr__end { margin-left: auto; }
  .burger { display: block; }
  .mnav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px; padding: 8px var(--gutter) 22px; background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 30px 40px -20px rgba(0, 0, 0, 0.85); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.55s var(--ease), visibility 0s linear 0.55s; }
  .mnav.is-open { visibility: visible; clip-path: inset(0 0 -60px 0); transition: clip-path 0.55s var(--ease); }
  .mnav a { padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 22px/1 var(--f-display); text-decoration: none; opacity: 0; transform: translateY(-10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), color 0.25s; }
  .mnav.is-open a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
  .mnav a[aria-current] { color: var(--yolk); }
  .mnav__social { margin-top: 16px; }
}
@media (max-width: 640px) { [data-header-code] { display: none; } }
@media (max-width: 560px) {
  .logo__word { font-size: 15px; }
  .ftr__legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
