/* Aurum · sistema "Midnight vault" (DESIGN-2). Serif ≥28px, Inter debajo; cobre solo en etiquetas; sin sombras. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500&display=swap');

:root {
  --obsidian: #08080a; --onyx: #040406; --carbon: #121317; --graphite: #1c1d22; --slate: #2e3038; --smoke: #464853;
  --ash: #5e616e; --steel: #777a88; --fog: #9194a1; --mist: #acafb9; --silver: #c7c9d1; --bone: #e2e3e9; --white: #fff;
  --copper: #cc9166; --sage: #8fb59a; --rose: #c9777f;
  --gild: linear-gradient(103deg, rgb(174,147,87), rgb(255,240,204) 40%, rgb(174,147,87) 70%, rgba(189,157,79,0));
  --serif: 'Ivy Presto', 'Playfair Display', 'Libre Caslon Display', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1216px; --r-card: 10px; --r-pill: 9999px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--obsidian); color: var(--bone); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
.muted { color: var(--fog); }
.pos { color: var(--sage); } .neg { color: var(--rose); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: -.02em; color: var(--copper); text-transform: uppercase; }
.eyebrow.dim { color: var(--fog); }

/* ---------- Botones / pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-pill); font: 500 14px/1 var(--sans); white-space: nowrap; transition: opacity .15s, background .15s; }
.btn-primary { background: var(--white); color: #000; }
.btn-primary:hover:not(:disabled) { opacity: .88; }
.btn-ghost { border: 1px solid var(--white); color: var(--white); }
.btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--steel); border-radius: var(--r-pill); font: 500 13px/1 var(--sans); color: var(--bone); transition: background .15s, border-color .15s; }
button.pill:hover { border-color: var(--white); }
.pill.on { background: var(--white); color: #000; border-color: var(--white); }
.chip-btn { padding: 6px 10px; border: 1px solid var(--slate); border-radius: var(--r-pill); font: 500 12px/1 var(--sans); color: var(--silver); }
.chip-btn:hover:not(:disabled) { border-color: var(--steel); color: var(--white); }
.icon-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--slate); color: var(--fog); }
.icon-btn:hover { color: var(--white); border-color: var(--steel); }
.tag { display: inline-block; padding: 2px 8px; border: 1px solid var(--slate); border-radius: var(--r-pill); font: 500 11px/1.5 var(--sans); color: var(--fog); }
.tag.ok { border-color: rgba(143,181,154,.5); color: var(--sage); }

/* ---------- Cabecera ---------- */
header.top { position: sticky; top: 0; z-index: 40; background: rgba(8,8,10,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--graphite); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { font: 400 26px/1 var(--serif); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--gild); display: inline-block; }
nav.main { display: flex; gap: 4px; flex: 1; }
nav.main a { padding: 6px 12px; font-size: 14px; color: var(--fog); border-radius: 2px; position: relative; }
nav.main a:hover, nav.main a.on { color: var(--white); }
nav.main a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--white); border-radius: 2px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.balance { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--slate); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; }
.balance .amt { font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }
.userbtn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--slate); border-radius: var(--r-pill); font-size: 13px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--graphite); display: grid; place-items: center; font: 500 12px var(--sans); color: var(--bone); border: 1px solid var(--slate); }
.dropdown { position: absolute; right: 24px; top: 60px; width: 220px; background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--r-card); padding: 6px; z-index: 50; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 9px 12px; font-size: 14px; color: var(--silver); border-radius: 6px; }
.dropdown a:hover, .dropdown button:hover { background: var(--graphite); color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font: 400 clamp(44px, 6.4vw, 88px)/1 var(--serif); letter-spacing: .01em; margin: 18px 0 24px; }
.hero h1 em { font-style: italic; }
.hero p.lead { font-size: 18px; font-weight: 300; line-height: 1.5; color: var(--fog); max-width: 480px; letter-spacing: -.02em; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.chart-card { background: var(--onyx); border: 1px solid var(--graphite); border-radius: var(--r-card); padding: 24px; }
.chart-card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chart-card .big { font: 500 clamp(30px, 7vw, 44px)/1.1 var(--sans); white-space: nowrap; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart-card svg { width: 100%; height: 190px; margin-top: 16px; display: block; }
.chart-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--fog); }
.draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.6s .2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 72px 0 0; }
.stat { border-top: 1px solid var(--graphite); padding-top: 20px; }
.stat b { display: block; font: 400 44px/1.1 var(--serif); letter-spacing: .01em; }
.stat span { font-size: 14px; color: var(--fog); }

/* ---------- Secciones ---------- */
section.sec { padding-top: 120px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head h2 { font: 400 clamp(32px, 4.4vw, 52px)/1.13 var(--serif); letter-spacing: .01em; margin-top: 12px; }
.sec-head p { color: var(--fog); max-width: 460px; margin-top: 10px; font-weight: 300; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { padding: 8px 16px; background: transparent; border: 1px solid var(--slate); border-radius: var(--r-pill); color: var(--white); font: 400 14px var(--sans); width: 200px; }
.search::placeholder { color: var(--steel); }
.search:focus { outline: none; border-color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcard { display: block; background: var(--onyx); border: 1px solid var(--graphite); border-radius: var(--r-card); overflow: hidden; transition: border-color .2s, transform .2s; }
.gcard:hover { border-color: var(--smoke); transform: translateY(-2px); }
.gart { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, var(--carbon), var(--onyx) 70%); border-bottom: 1px solid var(--graphite); overflow: hidden; }
.gart svg { width: 62%; height: 78%; }
.gart .play { position: absolute; inset: auto 14px 14px auto; opacity: 0; transition: opacity .2s; }
.gcard:hover .play { opacity: 1; }
.ginfo { padding: 18px 20px 20px; }
.ginfo .eyebrow { display: block; margin-bottom: 10px; }
.ginfo h3 { font: 500 20px/1.2 var(--sans); letter-spacing: -.03em; color: var(--white); }
.ginfo p { font-size: 14px; color: var(--fog); margin: 6px 0 14px; }
.gmeta { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 0; color: var(--fog); }

/* ---------- Promos / VIP / tablas ---------- */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo { border: 1px solid var(--graphite); border-radius: var(--r-card); padding: 24px; background: var(--onyx); display: flex; flex-direction: column; gap: 12px; }
.promo h3 { font: 400 28px/1.2 var(--serif); letter-spacing: .01em; }
.promo p { font-size: 14px; color: var(--fog); flex: 1; }
.promo small { color: var(--ash); font-size: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: var(--fog); padding: 10px 12px; border-bottom: 1px solid var(--graphite); }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--graphite); color: var(--bone); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.me td { background: var(--carbon); }
.table-wrap { overflow-x: auto; }
.pad { padding: 20px 12px; }
.bar { height: 6px; border-radius: 6px; background: var(--graphite); overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--gild); border-radius: 6px; }

/* ---------- Páginas de contenido ---------- */
.page { padding: 56px 0 0; }
.page h1 { font: 400 clamp(36px, 5vw, 64px)/1.13 var(--serif); letter-spacing: .01em; margin: 12px 0 14px; }
.page .lead { color: var(--fog); font-weight: 300; font-size: 18px; max-width: 620px; letter-spacing: -.02em; }
.panel { background: var(--carbon); border: 1px solid var(--graphite); border-radius: var(--r-card); padding: 24px; }
.panel h3 { font: 500 18px/1.3 var(--sans); letter-spacing: -.03em; margin-bottom: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.stack > * + * { margin-top: 16px; }

/* ---------- Pantalla de juego ---------- */
.gm-head { display: flex; align-items: center; gap: 14px; padding: 32px 0 20px; flex-wrap: wrap; }
.gm-head h1 { font: 400 36px/1.1 var(--serif); letter-spacing: .01em; }
.gm-head .spacer { flex: 1; }
.gm { display: grid; grid-template-columns: 330px 1fr; border: 1px solid var(--graphite); border-radius: var(--r-card); background: var(--onyx); overflow: hidden; }
.gm-side { background: var(--carbon); padding: 20px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--graphite); }
.gm-stage { padding: 24px; min-height: 480px; position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.field label { display: block; font: 500 13px/1 var(--sans); color: var(--fog); margin-bottom: 8px; letter-spacing: -.01em; }
.hint { display: block; margin-top: 6px; color: var(--ash); font-size: 12px; }
.bet-input { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 14px; border: 1px solid var(--slate); border-radius: var(--r-pill); background: var(--obsidian); }
.bet-input:focus-within { border-color: var(--white); }
.bet-input .cur { color: var(--fog); font-size: 14px; }
.bet-input input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: 500 15px var(--sans); padding: 8px 0; -moz-appearance: textfield; }
.bet-input input:focus { outline: none; }
.bet-input input::-webkit-outer-spin-button, .bet-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.inp { width: 100%; padding: 10px 16px; border: 1px solid var(--slate); border-radius: var(--r-pill); background: var(--obsidian); color: var(--white); font: 400 15px var(--sans); }
.inp:focus { outline: none; border-color: var(--white); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border: 1px solid var(--slate); border-radius: var(--r-pill); background: var(--obsidian); }
.seg button { padding: 8px 0; border-radius: var(--r-pill); font: 500 13px var(--sans); color: var(--fog); }
.seg button.on { background: var(--graphite); color: var(--white); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--graphite); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 0; cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 0; }
.kv { display: flex; justify-content: space-between; font-size: 13px; color: var(--fog); }
.kv b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.result-line { min-height: 24px; text-align: center; font: 500 15px var(--sans); }
.big-num { font: 400 clamp(56px, 9vw, 88px)/1 var(--serif); letter-spacing: .01em; text-align: center; font-variant-numeric: tabular-nums; }
.under-stage { margin-top: 24px; }
.under-stage h3 { font: 500 16px var(--sans); margin-bottom: 8px; letter-spacing: -.02em; }

/* ---------- Modales / toasts ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { width: 100%; max-width: 460px; background: var(--carbon); border: 1px solid var(--slate); border-radius: var(--r-card); }
.modal.wide { max-width: 620px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.modal-head h3 { font-size: 28px; line-height: 1.2; }
.modal-body { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.warn-box { padding: 12px 14px; border: 1px solid var(--slate); border-radius: 8px; font-size: 13px; color: var(--mist); background: var(--obsidian); }
.warn-box b { color: var(--copper); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mist); }
.check input { margin-top: 3px; accent-color: #fff; }
.code { font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; padding: 10px 12px; background: var(--obsidian); border: 1px solid var(--graphite); border-radius: 8px; color: var(--silver); }
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--carbon); border: 1px solid var(--slate); border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; animation: in .25s ease-out; }
.toast.out { opacity: 0; transition: opacity .4s; }
.toast.warn { border-color: var(--copper); } .toast.bad { border-color: var(--rose); } .toast.win { border-color: var(--sage); color: var(--sage); }
@keyframes in { from { transform: translateY(10px); opacity: 0; } }

/* ---------- Footer ---------- */
footer.foot { margin-top: 160px; border-top: 1px solid var(--graphite); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot h4 { font: 500 13px var(--sans); color: var(--fog); margin-bottom: 14px; }
.foot li { list-style: none; margin-bottom: 9px; font-size: 14px; color: var(--silver); }
.foot ul { padding: 0; margin: 0; }
.foot li a:hover { color: var(--white); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--graphite); font-size: 12px; line-height: 1.6; color: var(--ash); }
.legal b { color: var(--fog); font-weight: 500; }

/* ---------- Juego: Dados ---------- */
.dice-track { position: relative; height: 56px; margin: 40px 6px 8px; }
.dice-bar { position: absolute; inset: 22px 0 auto 0; height: 12px; border-radius: 12px; background: var(--graphite); overflow: hidden; }
.dice-bar i { position: absolute; top: 0; bottom: 0; background: var(--sage); opacity: .85; }
.dice-bar i.lose { background: var(--rose); opacity: .55; }
.dice-range { position: absolute; left: -11px; right: -11px; top: 16px; width: calc(100% + 22px); background: transparent; }
.dice-range::-webkit-slider-runnable-track { background: transparent; }
.dice-marker { position: absolute; top: -6px; width: 0; transition: left .5s cubic-bezier(.2,.8,.2,1), opacity .2s; opacity: 0; }
.dice-marker.show { opacity: 1; }
.dice-marker span { position: absolute; left: -20px; top: 0; width: 40px; padding: 4px 0; text-align: center; border-radius: 6px; font: 600 12px var(--sans); background: var(--white); color: #000; }
.dice-marker span::after { content: ''; position: absolute; left: 50%; top: 100%; border: 5px solid transparent; border-top-color: var(--white); transform: translateX(-50%); }
.dice-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ash); margin: 0 4px; }
.dice-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.dice-stats .field { margin: 0; }
.ro { padding: 10px 16px; border: 1px solid var(--slate); border-radius: var(--r-pill); font-weight: 500; font-variant-numeric: tabular-nums; background: var(--obsidian); }

/* ---------- Crash ---------- */
.crash-wrap { position: relative; height: 380px; }
.crash-wrap canvas { width: 100%; height: 100%; display: block; }
.crash-mult { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.crash-mult .big-num.crashed { color: var(--rose); }
.crash-mult .big-num.cashed { color: var(--sage); }
.crash-mult small { color: var(--fog); font-size: 14px; margin-top: 4px; display: block; }
.crash-hist { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; margin-bottom: 8px; }
.crash-hist .pill { padding: 4px 10px; font-size: 12px; }
.crash-hist .pill.hi { color: var(--sage); border-color: rgba(143,181,154,.5); }

/* ---------- Minas ---------- */
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 460px; margin: 0 auto; width: 100%; }
.tile { aspect-ratio: 1; border-radius: 12px; background: var(--graphite); border: 1px solid var(--slate); display: grid; place-items: center; transition: transform .12s, background .2s, border-color .2s; }
.tile:hover:not(:disabled):not(.open) { background: var(--slate); transform: translateY(-2px); }
.tile svg { width: 46%; height: 46%; }
.tile.gem { background: var(--carbon); border-color: rgba(143,181,154,.5); }
.tile.mine { background: var(--carbon); border-color: var(--rose); }
.tile.ghost { opacity: .45; }
.tile:disabled { cursor: default; }
.tile.pop { animation: pop .28s ease-out; }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* ---------- Ruleta ---------- */
.roul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; }
.roul .rboard { width: 100%; }
.roul .rhist { justify-content: center; }
.wheel-box { position: relative; width: 220px; height: 220px; }
.wheel-box::before { content: ''; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); border: 8px solid transparent; border-top: 12px solid var(--white); z-index: 2; }
.wheel { width: 100%; height: 100%; transition: transform 4.2s cubic-bezier(.12,.6,.1,1); }
.rboard { overflow-x: auto; }
.rtable { display: grid; grid-template-columns: 44px repeat(12, minmax(34px, 1fr)) 52px; grid-template-rows: repeat(3, 40px) 34px 34px; gap: 3px; min-width: 560px; }
.rc { position: relative; display: grid; place-items: center; font: 500 13px var(--sans); border-radius: 6px; border: 1px solid var(--slate); background: var(--graphite); color: var(--bone); }
.rc:hover:not(:disabled) { border-color: var(--white); }
.rc.red { background: #3a1d22; border-color: #5a2a31; }
.rc.black { background: #0d0d10; }
.rc.green { background: #1d3226; border-color: #2f5440; }
.rc.hit { outline: 2px solid var(--white); }
.rc .stk { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--white); color: #000; font: 600 10px/18px var(--sans); text-align: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chipsel { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--steel); font: 600 12px var(--sans); }
.chipsel.on { background: var(--white); color: #000; border-color: var(--white); }
.rhist { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.rhist span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--sans); border: 1px solid var(--slate); }
.rhist .red { background: #3a1d22; } .rhist .green { background: #1d3226; } .rhist .black { background: #0d0d10; }

/* ---------- Tragaperras ---------- */
.slot-frame { max-width: 440px; margin: 0 auto; width: 100%; padding: 14px; border: 1px solid var(--slate); border-radius: 16px; background: var(--obsidian); }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reel { background: var(--carbon); border: 1px solid var(--graphite); border-radius: 10px; display: grid; grid-template-rows: repeat(3, 1fr); overflow: hidden; }
.cell { height: 92px; display: grid; place-items: center; font: 400 54px/1 var(--serif); border-bottom: 1px solid var(--graphite); transition: background .2s; }
.cell:last-child { border-bottom: 0; }
.cell.win { background: rgba(255,240,204,.07); }
.cell.spin { filter: blur(2px); opacity: .7; }
.s0 { color: var(--silver); } .s1 { color: var(--mist); } .s2 { color: var(--rose); } .s3 { color: var(--rose); } .s4 { color: var(--bone); } .s5 { color: #e5c981; } .s6 { color: var(--white); font-weight: 500; }
.paytable { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 18px; text-align: center; font-size: 12px; color: var(--fog); }
.paytable b { display: block; font: 400 28px/1.1 var(--serif); }

/* ---------- Blackjack ---------- */
.felt { display: flex; flex-direction: column; gap: 28px; }
.hand-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--fog); margin-bottom: 8px; }
.hand-label b { color: var(--white); font-weight: 500; }
.cards { display: flex; gap: 8px; min-height: 108px; flex-wrap: wrap; }
.card { width: 76px; height: 108px; border-radius: 8px; background: var(--bone); color: #111; padding: 8px 9px; display: flex; flex-direction: column; justify-content: space-between; font: 500 20px/1 var(--serif); animation: deal .3s ease-out; }
.card .sm { font-size: 24px; align-self: flex-end; line-height: 1; }
.card.red { color: #a8323d; }
.card.back { background: repeating-linear-gradient(45deg, var(--graphite) 0 6px, var(--carbon) 6px 12px); border: 1px solid var(--slate); }
@keyframes deal { from { transform: translateY(-14px) scale(.96); opacity: 0; } }
.bj-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  nav.main { display: none; }
  nav.main.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--obsidian); padding: 8px 24px 16px; border-bottom: 1px solid var(--graphite); }
  .menu-btn { display: inline-block; margin-left: auto; }
  .top-in { gap: 12px; }
  .hero { padding-top: 48px; } .hero-in { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid, .promos { grid-template-columns: repeat(2, 1fr); }
  .gm { grid-template-columns: 1fr; } .gm-side { border-right: 0; border-bottom: 1px solid var(--graphite); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  section.sec { padding-top: 88px; }
}
@media (max-width: 600px) {
  .wrap, .top-in { padding: 0 16px; }
  .grid, .promos { grid-template-columns: 1fr; }
  .stat b { font-size: 32px; }
  .userbtn .nm { display: none; }
  .dice-stats { grid-template-columns: 1fr; }
  .gm-stage { padding: 16px; }
  .cell { height: 76px; font-size: 44px; }
  .search { width: 100%; }
  .top-actions .btn-ghost:first-child:nth-last-child(2) { display: none; }
  .logo { font-size: 22px; }
  .balance { padding-left: 12px; gap: 6px; }
  .dropdown { right: 16px; }
  .crash-wrap { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } .draw { stroke-dashoffset: 0; } }
