:root {
  --deep: oklch(0.23 0.04 210);
  --sea: oklch(0.32 0.05 215);
  --surf: oklch(0.4 0.07 215);
  --bio: oklch(0.83 0.17 162);
  --glow: oklch(0.95 0.09 160);
  --gold: oklch(0.78 0.17 62);
  --amber: oklch(0.86 0.16 85);
  --coral: oklch(0.69 0.2 15);
  --foam: oklch(0.98 0.02 170);
  --ink: oklch(0.18 0.03 215);
  --card-face: oklch(0.98 0.01 90);
  --card-red: oklch(0.55 0.21 25);
  --f80: oklch(0.98 0.02 170 / 80%);
  --f75: oklch(0.98 0.02 170 / 75%);
  --f70: oklch(0.98 0.02 170 / 70%);
  --f60: oklch(0.98 0.02 170 / 60%);
  --f55: oklch(0.98 0.02 170 / 55%);
  --f50: oklch(0.98 0.02 170 / 50%);
  --line: oklch(0.83 0.17 162 / 18%);
  --line-2: oklch(0.83 0.17 162 / 25%);
  --display: "Bungee", system-ui, sans-serif;
  --body: "Fredoka", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--deep);
  color: var(--foam);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: oklch(0.83 0.17 162 / 40%); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, p, ul { margin: 0; }
.hidden { display: none !important; }
.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; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--bio); }
.t-glow { color: var(--glow); }
.t-amber { color: var(--amber); }
.t-coral { color: var(--coral); }
.t-bio { color: var(--bio); }
:focus-visible { outline: 2px solid var(--bio); outline-offset: 2px; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px,-18px); } }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes shine { 0% { transform: translateX(-130%); } 55%,100% { transform: translateX(320%); } }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.16); opacity: 0.85; } }
@keyframes reel { 0% { transform: translateY(-30%); filter: blur(2px); } 100% { transform: translateY(30%); filter: blur(2px); } }
.bob { animation: bob 6s ease-in-out infinite; }
.rise { animation: rise 0.6s var(--ease) both; }
.drift { animation: drift 20s ease-in-out infinite; }
.reveal { animation: reveal 0.85s var(--ease) both; }
.breathe { animation: breathe 5s ease-in-out infinite; }
.reel-spin { animation: reel 0.12s linear infinite; }
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, oklch(1 0 0 / 55%), transparent);
  transform: translateX(-130%); animation: shine 3.6s ease-in-out infinite; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 24px; font-size: 14px; font-weight: 700;
  color: var(--ink); background: var(--bio); box-shadow: inset 0 0 0 1px oklch(0.18 0.03 215 / 10%);
  transition: background-color .15s, opacity .15s;
}
.btn:hover { background: var(--glow); }
.btn:disabled { cursor: not-allowed; opacity: 0.4; }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--amber); }
.btn-coral { background: var(--coral); }
.btn-coral:hover { background: oklch(0.69 0.2 15 / 80%); }
.btn-ghost { background: var(--sea); color: var(--glow); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.btn-ghost:hover { background: var(--surf); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-wide { padding-left: 48px; padding-right: 48px; }
.btn-block { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid oklch(0.83 0.17 162 / 15%); background: oklch(0.23 0.04 210 / 95%); }
.header-inner { display: flex; height: 68px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bio); color: var(--ink); font-family: var(--display); font-size: 15px; }
.brand-name { display: none; font-family: var(--display); font-size: 16px; letter-spacing: -0.01em; }
.main-nav { display: none; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; color: var(--f70); }
.main-nav a:hover, .mobile-nav a:hover, .main-nav a[aria-current], .mobile-nav a[aria-current] { color: var(--bio); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.tp-pill { display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--surf); padding: 8px 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.tp-coin { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-size: 9px; }
.tp-val { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--glow); }
.tp-unit { font-family: var(--mono); font-size: 10px; color: oklch(0.83 0.17 162 / 80%); }
.free-tp { border-radius: 999px; background: var(--gold); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.free-tp:hover { background: var(--amber); }
.mobile-nav { display: flex; gap: 20px; overflow-x: auto; border-top: 1px solid oklch(0.83 0.17 162 / 10%); padding: 8px 24px; font-size: 13px; color: var(--f70); }
@media (min-width: 640px) { .brand-name { display: inline; } }
@media (min-width: 768px) { .main-nav { display: flex; } .mobile-nav { display: none; } }
@media (max-width: 420px) { .header-inner { padding: 0 16px; } .tp-pill { padding: 6px 10px; } .free-tp { padding: 8px 12px; } }

.overlay { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; background: oklch(0.18 0.03 215 / 80%); z-index: 100; }
.overlay.age { background: oklch(0.18 0.03 215 / 95%); z-index: 200; }
.dialog { position: relative; width: 100%; max-width: 448px; overflow: hidden; border-radius: 28px; background: var(--surf); padding: 32px; box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 30%); }
.dialog-glow { position: absolute; bottom: -64px; right: -40px; width: 224px; height: 224px; border-radius: 50%; background: oklch(0.83 0.17 162 / 20%); filter: blur(48px); pointer-events: none; }
.dialog-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--deep); color: var(--f70); box-shadow: inset 0 0 0 1px var(--line-2); z-index: 1; }
.dialog-close:hover { color: var(--bio); }
.dialog > div { position: relative; }
.badge { display: inline-block; border-radius: 999px; background: var(--amber); padding: 4px 12px; font-family: var(--display); font-size: 14px; color: var(--ink); }
.dialog h2 { margin-top: 16px; font-family: var(--display); font-size: 24px; line-height: 1.15; color: var(--glow); text-wrap: balance; }
.dialog p { margin-top: 12px; font-size: 14px; color: var(--f75); }
.dialog .fine { margin-top: 16px; font-size: 11px; line-height: 1.6; color: var(--f50); }
.stack-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pill-input { border: 0; border-radius: 999px; background: var(--deep); padding: 12px 16px; font-family: var(--mono); font-size: 13px; color: var(--foam); box-shadow: inset 0 0 0 1px var(--line-2); min-width: 0; }
.pill-input::placeholder { color: oklch(0.98 0.02 170 / 40%); }
.pill-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--bio); }
.age-dialog { text-align: center; }
.age-badge { margin: 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-size: 18px; }
.age-dialog h2 { font-size: 22px; }
.age-dialog .btn-ghost { background: var(--deep); color: var(--f80); }

.fun-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: 24px; background: var(--gold); padding: 20px 24px; color: var(--ink); }
.fun-banner .fb-head { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.fun-banner .fb-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--display); font-size: 18px; }
.fun-banner .fb-title { font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.fun-banner p { font-size: 14px; font-weight: 500; line-height: 1.4; color: oklch(0.18 0.03 215 / 85%); }
@media (min-width: 768px) { .fun-banner { flex-direction: row; align-items: center; } }

.hero { position: relative; overflow: hidden; }
.hero-word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-word span { white-space: nowrap; user-select: none; font-family: var(--display); font-size: 19vw; line-height: 1; color: oklch(0.4 0.07 215 / 40%); }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.blob-a { top: -80px; left: 8%; width: 288px; height: 288px; background: oklch(0.83 0.17 162 / 25%); }
.blob-b { bottom: 0; right: 6%; width: 384px; height: 384px; background: oklch(0.78 0.17 62 / 15%); }
.hero-grid { position: relative; display: grid; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.chip { display: inline-block; border-radius: 999px; background: oklch(0.83 0.17 162 / 10%); padding: 6px 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--bio); box-shadow: inset 0 0 0 1px var(--line-2); }
.hero h1 { margin-top: 20px; font-family: var(--display); font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 0.95; letter-spacing: -0.01em; color: var(--glow); text-wrap: balance; font-weight: 400; }
.hero h1 span { display: block; color: var(--amber); }
.hero .lede { margin-top: 20px; max-width: 46ch; font-size: 15px; line-height: 1.65; color: var(--f70); text-wrap: pretty; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stat-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--f55); }
.stat-row i { font-style: normal; color: oklch(0.83 0.17 162 / 50%); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.float-tag { position: absolute; border-radius: 16px; padding: 12px 16px; }
.float-tag small { display: block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; }
.float-tag strong { display: block; font-family: var(--display); font-weight: 400; line-height: 1; }
.float-a { right: -16px; top: -16px; background: var(--amber); color: var(--ink); rotate: 3deg; }
.float-a strong { font-size: 22px; }
.float-b { left: -20px; bottom: -20px; background: var(--surf); color: var(--glow); rotate: -2deg; box-shadow: inset 0 0 0 1px var(--line-2); }
.float-b strong { font-size: 18px; color: var(--bio); }
@media (max-width: 640px) { .float-a { right: -6px; } .float-b { left: -6px; } }

.section { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 96px; }
.section-head { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; color: var(--glow); }
.game-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
.game-card { display: block; overflow: hidden; border-radius: 22px; background: var(--sea); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s; }
.game-card:hover { background: var(--surf); }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-card .gc-body { padding: 20px; }
.game-card .gc-top { display: flex; align-items: center; justify-content: space-between; }
.game-card h3 { font-family: var(--display); font-weight: 400; font-size: 19px; }
.game-card .gc-tag { font-family: var(--mono); font-size: 10px; opacity: 0.7; }
.game-card p { margin-top: 4px; font-size: 12px; color: var(--f60); }
.game-card .gc-btn { margin-top: 16px; display: block; border-radius: 999px; padding: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.gc-bio h3, .gc-bio .gc-tag { color: var(--glow); } .gc-bio .gc-tag { color: var(--bio); } .gc-bio .gc-btn { background: var(--bio); } .gc-bio:hover .gc-btn { background: var(--glow); }
.gc-gold h3 { color: var(--amber); } .gc-gold .gc-tag { color: var(--gold); } .gc-gold .gc-btn { background: var(--gold); } .gc-gold:hover .gc-btn { background: var(--amber); }
.gc-coral h3, .gc-coral .gc-tag { color: var(--coral); } .gc-coral .gc-btn { background: var(--coral); }
.gc-gold { box-shadow: inset 0 0 0 1px oklch(0.78 0.17 62 / 25%); }
.gc-coral { box-shadow: inset 0 0 0 1px oklch(0.69 0.2 15 / 25%); }

.tile-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { border-radius: 22px; background: var(--sea); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--amber); }
.tile p { margin-top: 8px; font-size: 14px; color: var(--f70); }

.news { position: relative; display: grid; align-items: center; gap: 32px; overflow: hidden; border-radius: 28px; background: var(--surf); padding: 32px; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (min-width: 768px) { .news { grid-template-columns: 1.3fr 1fr; padding: 40px; } }
.news-glow { position: absolute; bottom: -64px; right: -40px; width: 256px; height: 256px; border-radius: 50%; background: oklch(0.83 0.17 162 / 20%); filter: blur(48px); }
.news > div { position: relative; }
.news h2 { margin-top: 12px; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1; color: var(--glow); text-wrap: balance; }
.news p { margin-top: 12px; max-width: 44ch; font-size: 14px; color: var(--f70); }
.news .fine { font-size: 11px; color: var(--f50); }
.inline-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.inline-form .pill-input { flex: 1; }
@media (min-width: 640px) { .inline-form { flex-direction: row; } }
.form-msg { margin-top: 24px; font-family: var(--display); font-size: 16px; color: var(--amber); }
.form-msg a { text-decoration: underline; }
.news-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.news-tag { position: absolute; left: -12px; top: -12px; border-radius: 12px; background: var(--ink); padding: 8px 12px; box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 30%); }
.news-tag small { display: block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; color: oklch(0.83 0.17 162 / 70%); }
.news-tag strong { display: block; font-family: var(--display); font-weight: 400; font-size: 13px; color: var(--amber); }

.site-footer { border-top: 1px solid oklch(0.83 0.17 162 / 15%); }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 13px; }
.footer-brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 14px; }
.footer-brand small { display: block; font-family: var(--mono); font-size: 11px; color: var(--f50); }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 12px; font-weight: 500; color: var(--f70); }
.footer-nav a:hover { color: var(--bio); }
.age-chip { border-radius: 999px; background: var(--amber); padding: 2px 8px; font-family: var(--display); font-size: 11px; color: var(--ink); }
.footer-legal { padding-bottom: 32px; }
.footer-legal p { max-width: 90ch; font-size: 11px; line-height: 1.65; color: var(--f50); }
.footer-legal p + p { margin-top: 12px; }
.footer-legal a { text-decoration: underline; }
.footer-legal a:hover { color: var(--bio); }

.page { padding-top: 40px; padding-bottom: 40px; }
.page h1 { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.01em; }
.page-intro { margin-top: 12px; max-width: 70ch; font-size: 15px; color: var(--f70); }
.table-wrap { position: relative; margin-top: 32px; overflow: hidden; border-radius: 28px; background: var(--sea); box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 20%); }
.table-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.table-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, var(--deep) 0%, transparent 100%); opacity: 0.7; }
.table-shade::after { content: ""; position: absolute; inset: 0; background: oklch(0.23 0.04 210 / 35%); }
.table-body { position: relative; padding: 24px; }
@media (min-width: 768px) { .table-body { padding: 40px; } }
.after-table { margin-top: 32px; }
.game-copy { margin-top: 40px; display: grid; gap: 20px; }
@media (min-width: 768px) { .game-copy { grid-template-columns: repeat(2, 1fr); } }
.game-copy ul { padding-left: 20px; }
.game-copy li + li { margin-top: 4px; }

.col-center { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.result { min-height: 28px; font-family: var(--display); font-size: 18px; color: var(--f70); text-align: center; }
.result.win { color: var(--bio); }
.result.lose { color: var(--coral); }
.stake { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stake > span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--f60); }
.stake button { border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; background: var(--deep); color: var(--glow); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .15s; }
.stake button:hover { background: var(--surf); }
.stake button[aria-pressed="true"] { background: var(--amber); color: var(--ink); box-shadow: none; }
.stake button:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-radius: 24px; background: var(--deep); padding: 16px; box-shadow: inset 0 0 0 2px oklch(0.86 0.16 85 / 50%); }
.cell { display: grid; place-items: center; width: 84px; height: 84px; overflow: hidden; border-radius: 16px; background: var(--surf); font-size: 42px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .15s; }
.cell.hit { background: oklch(0.86 0.16 85 / 30%); box-shadow: inset 0 0 0 4px var(--amber); }
@media (min-width: 768px) { .reels { gap: 16px; padding: 24px; } .cell { width: 112px; height: 112px; font-size: 60px; } }
.paytable-grid { display: grid; width: 100%; max-width: 512px; grid-template-columns: repeat(3, 1fr); gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--f70); }
.paytable-grid div { border-radius: 12px; background: var(--deep); padding: 8px 12px; text-align: center; box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 15%); }
.paytable-grid b { color: var(--amber); font-weight: 400; }
.paytable-grid p { grid-column: span 3; text-align: center; color: var(--f50); }

.hand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hand-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--f60); }
.hand-label b { color: var(--amber); font-weight: 400; }
.cards { display: flex; min-height: 128px; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 12px; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 88px; height: 128px; border-radius: 12px; background: var(--card-face); padding: 8px; font-family: var(--display); color: var(--ink); box-shadow: inset 0 0 0 1px oklch(0.18 0.03 215 / 10%); transition: transform .15s; animation: rise 0.6s var(--ease) both; }
.pcard.red { color: var(--card-red); }
.pcard .r { font-size: 18px; line-height: 1; text-align: left; }
.pcard .s { font-size: 30px; line-height: 1; text-align: center; }
.pcard .r2 { rotate: 180deg; }
.pcard.back { display: grid; place-items: center; background: var(--surf); box-shadow: inset 0 0 0 2px oklch(0.83 0.17 162 / 40%); }
.pcard.back span { font-size: 24px; color: oklch(0.83 0.17 162 / 60%); }
button.pcard:hover { transform: translateY(-4px); }
.pcard.held { transform: translateY(-12px); box-shadow: 0 0 0 4px var(--amber); }
.pcard .held-tag { position: absolute; bottom: -12px; left: 50%; translate: -50% 0; border-radius: 999px; background: var(--amber); padding: 0 8px; font-family: var(--mono); font-size: 10px; color: var(--ink); }
@media (max-width: 480px) { .table-body { padding: 20px 12px; } .cards { gap: 6px; } .pcard { width: 52px; height: 78px; padding: 4px; border-radius: 9px; } .pcard .r { font-size: 13px; } .pcard .s { font-size: 20px; } }

.poker-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .poker-grid { grid-template-columns: 1fr 260px; } }
.paytable { border-radius: 16px; background: var(--deep); padding: 16px; box-shadow: inset 0 0 0 1px oklch(0.78 0.17 62 / 25%); align-self: start; }
.paytable h2 { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.paytable div { display: flex; justify-content: space-between; border-radius: 8px; padding: 4px 8px; font-family: var(--mono); font-size: 12px; color: var(--f75); }
.paytable div.on { background: var(--amber); color: var(--ink); }

.roulette-grid { display: grid; align-items: start; gap: 40px; }
@media (min-width: 1024px) { .roulette-grid { grid-template-columns: 360px 1fr; } }
.wheel-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wheel-box { position: relative; width: 300px; height: 300px; }
.wheel-pointer { position: absolute; left: 50%; top: -6px; z-index: 2; width: 0; height: 0; translate: -50% 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid var(--amber); }
.wheel { position: relative; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 8px oklch(0.78 0.17 62 / 70%); }
.wheel .num { position: absolute; left: 50%; top: 50%; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--foam); transform-origin: 0 0; }
.wheel-hub { position: absolute; inset: 22%; display: grid; place-items: center; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px oklch(0.78 0.17 62 / 60%); }
.wheel-hub span { font-family: var(--display); font-size: 30px; color: var(--amber); }
.history { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.sw { display: grid; place-items: center; border-radius: 50%; font-family: var(--mono); font-weight: 700; }
.history .sw { width: 28px; height: 28px; font-size: 11px; }
.sw-red { background: var(--card-red); color: var(--foam); }
.sw-black { background: var(--ink); color: var(--foam); }
.sw-green { background: var(--bio); color: var(--ink); }
.bet-panel { display: flex; flex-direction: column; gap: 24px; }
.bet-label { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--f60); }
.outside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .outside { grid-template-columns: repeat(6, 1fr); } }
.outside button { border-radius: 12px; padding: 10px 0; font-size: 13px; font-weight: 700; background: var(--deep); color: var(--glow); box-shadow: inset 0 0 0 1px var(--line-2); }
.outside button:hover { background: var(--surf); }
.outside button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }
.numbers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
@media (min-width: 640px) { .numbers { grid-template-columns: repeat(13, 1fr); } }
.numbers button { aspect-ratio: 1; border-radius: 8px; font-size: 12px; box-shadow: inset 0 0 0 1px oklch(0.98 0.02 170 / 10%); }
.numbers button:hover { opacity: 0.8; }
.numbers button[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--amber); position: relative; z-index: 1; }
.bet-panel button:disabled { cursor: not-allowed; opacity: 0.6; }

.legal { max-width: 860px; margin: 0 auto; padding: 48px 24px; }
.legal h1 { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; color: var(--glow); }
.legal-intro { margin-top: 16px; font-size: 15px; color: var(--f75); }
.legal-body { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.panel { border-radius: 22px; background: var(--sea); padding: 24px; box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 20%); }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--amber); }
.panel-body { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--f80); }
.panel-body > * + * { margin-top: 12px; }
.panel-body ul { padding-left: 20px; }
.panel-body li + li { margin-top: 4px; }
.panel-body a { text-decoration: underline; }
.panel-body a:hover { color: var(--bio); }
.panel-body strong { color: var(--foam); }
.data-table { overflow-x: auto; }
.data-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.data-table th, .data-table td { padding: 8px 16px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.help-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
.help-grid > div { border-radius: 12px; background: var(--deep); padding: 12px; box-shadow: inset 0 0 0 1px oklch(0.83 0.17 162 / 15%); }
.help-grid .hn { font-size: 13px; color: var(--f70); }
.panel-body .help-grid a.tel { display: inline-block; margin-top: 0; text-decoration: none; font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--bio); }
.panel-body .help-grid a.tel:hover { color: var(--glow); }
.small-note { font-size: 12px; color: var(--f55); }
.res-list > div + div { margin-top: 8px; }
.panel-body .res-list a { font-weight: 600; color: var(--bio); }
.panel-body .res-list span { color: var(--f70); }

.notfound { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 48px 16px; }
.notfound div { max-width: 448px; text-align: center; }
.notfound .big { font-family: var(--display); font-size: 72px; line-height: 1; color: var(--bio); }
.notfound h1 { margin-top: 16px; font-size: 22px; font-weight: 600; }
.notfound p { margin-top: 8px; font-size: 14px; color: var(--f60); }
.notfound .btn-row { margin-top: 24px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { margin-top: 8px; font-weight: 600; color: var(--foam); }
.contact-form label span { font-weight: 400; color: var(--f50); }
.contact-form .field { width: 100%; border: 0; border-radius: 14px; background: var(--deep); padding: 12px 16px; font: inherit; font-size: 14px; color: var(--foam); box-shadow: inset 0 0 0 1px var(--line-2); }
.contact-form textarea.field { resize: vertical; min-height: 140px; }
.contact-form .field:focus { outline: none; box-shadow: inset 0 0 0 1px var(--bio); }
.contact-form .field::placeholder { color: oklch(0.98 0.02 170 / 40%); }
.contact-form .btn { margin-top: 16px; align-self: flex-start; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--amber); font-weight: 600; }
