/* =====================================================================
   LB365ASIA PLAY GUIDE — design system
   Layout concept: a rulebook printed on a black VIP table. Left-aligned
   editorial columns, champagne-gold "table print" rules taken from the
   LB365asia crown, ivory card stock for the few objects that stand out
   (cards, pay tables). Single dark world by choice: black and gold.
   ===================================================================== */
:root {
  color-scheme: dark;
  /* colour */
  --felt: #0b0a09;          /* page ground: warm black */
  --felt-deep: #050404;     /* bands, footer */
  --felt-raise: #17140f;    /* raised surfaces */
  --felt-line: #2d271e;     /* hairlines */
  --ivory: #f4ede1;         /* card stock + primary text */
  --ivory-dim: #bfb6a7;     /* secondary text, warm grey */
  --ivory-faint: #8c8374;   /* captions */
  --brass: #c9a96e;         /* logo gold: table print, CTAs */
  --brass-hi: #f6dfae;      /* logo gold highlight */
  --silver: #b3bac0;        /* logo silver */
  --brass-lo: #a2865a;
  --cinnabar: #d8433b;      /* red suits, live dot */
  --card-ink: #1b1b17;      /* ink printed on ivory card */
  /* type */
  --f-display: "Bodoni Moda", "Noto Serif Display", "Didot", Georgia, serif;
  --f-body: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --lh-body: 1.7;
  /* scale (1.25 minor third-ish, fluid) */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --t-3xl: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  /* space */
  --max: 1200px;
  --radius-card: 10px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}
html.l-vi { --f-display: "Noto Serif Display", Georgia, serif; }
html.l-zh { --f-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --lh-body: 1.85; }
html.l-th { --f-display: "Noto Serif Thai", "Bodoni Moda", serif; --f-body: "IBM Plex Sans Thai", "Leelawadee UI", "Tahoma", sans-serif; --lh-body: 1.85; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--felt);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* felt texture: fine noise + vignette, painted once on the page */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(120% 80% at 70% -10%, rgba(201, 169, 110, .10), transparent 60%),
    radial-gradient(90% 70% at -10% 110%, rgba(5, 4, 4, .9), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.85 0 0 0 0 0.75 0 0 0 0 0.55 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--felt-deep); }

img, svg { max-width: 100%; }
a { color: var(--brass-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass); color: var(--card-ink); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
html.l-zh h1, html.l-zh h2, html.l-zh h3, html.l-th h1, html.l-th h2, html.l-th h3 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
p { margin: 0; }
.prose p + p { margin-top: 1em; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brass); color: var(--card-ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  font: 600 var(--t-sm)/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
}
.btn-gold, .btn-gold:hover, .btn-gold:focus, .btn-gold:visited {
  color: var(--card-ink);
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 30px -10px rgba(201, 169, 110, .7);
}
.btn-gold::after { /* sheen that sweeps across, like light on a brass rail */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: sheen 4.5s 1.5s infinite;
}
.btn-gold:hover { color: var(--card-ink); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 16px 36px -10px rgba(201, 169, 110, .85); }
.btn-line { color: var(--ivory); border-color: rgba(243, 238, 223, .35); background: rgba(243, 238, 223, .03); }
.btn-line:hover { color: var(--ivory); border-color: var(--brass); background: rgba(201, 169, 110, .08); }
.btn-sm { min-height: 40px; padding: 0 1.15em; font-size: var(--t-xs); }
.btn svg { width: 18px; height: 18px; flex: none; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(5, 4, 4, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(201, 169, 110, .18);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); flex: none; }
.logo img { display: block; height: 46px; width: auto; }
.logo-stack img { display: block; width: 168px; height: auto; }
.logo:hover { color: var(--ivory); }
.logo img { transition: filter .3s; }
.logo:hover img { filter: brightness(1.12); }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a.top, .nav button.top {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: var(--ivory-dim); text-decoration: none; font: 500 var(--t-sm)/1.2 var(--f-body);
  background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.nav a.top:hover, .nav button.top:hover, .nav .has-dd:focus-within > .top { color: var(--ivory); background: rgba(243, 238, 223, .06); }
.nav a.top[aria-current="page"], .nav .top.is-current { color: var(--brass-hi); }
.nav .caret { width: 10px; height: 10px; transition: transform .25s; }
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 380px; padding: 10px;
  background: var(--felt-deep); border: 1px solid rgba(201, 169, 110, .25); border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s, transform .22s var(--ease-out), visibility .22s;
}
.dd::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* hover bridge */
.has-dd:hover .dd, .has-dd.open .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover .caret, .has-dd.open .caret { transform: rotate(180deg); }
.dd a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ivory); }
.dd a:hover, .dd a[aria-current="page"] { background: rgba(201, 169, 110, .1); color: var(--ivory); }
.dd .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--felt-raise); border: 1px solid var(--felt-line); color: var(--brass); }
.dd .ico svg { width: 22px; height: 22px; }
.dd b { display: block; font-weight: 600; font-size: var(--t-sm); }
.dd span.d { display: block; font-size: var(--t-xs); color: var(--ivory-faint); line-height: 1.45; }
.dd .all { display: block; text-align: center; padding: 10px; font-size: var(--t-xs); color: var(--brass); border-top: 1px solid var(--felt-line); margin-top: 6px; border-radius: 0; }

.head-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px;
  background: rgba(243, 238, 223, .05); border: 1px solid rgba(243, 238, 223, .16); color: var(--ivory);
  font: 600 var(--t-xs)/1 var(--f-body); cursor: pointer;
}
.lang-btn:hover { border-color: var(--brass); }
.lang-btn svg { width: 16px; height: 16px; color: var(--brass); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; list-style: none; margin: 0; padding: 8px;
  background: var(--felt-deep); border: 1px solid rgba(201, 169, 110, .25); border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease-out); z-index: 5;
}
.lang.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ivory); text-decoration: none; font-size: var(--t-sm); }
.lang-list a:hover { background: rgba(201, 169, 110, .1); color: var(--ivory); }
.lang-list a[aria-current="true"] { color: var(--brass-hi); }
.lang-list a span { color: var(--ivory-faint); font-size: var(--t-xs); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 238, 223, .16); background: none; color: var(--ivory); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: grid; }
  .head-actions .btn-signup { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49; margin: 0;
    background: var(--felt-deep); overflow-y: auto;
    padding: 16px max(20px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease-out); visibility: hidden;
  }
  .nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--felt-line); }
  .nav a.top, .nav button.top { width: 100%; justify-content: space-between; padding: 18px 4px; font-family: var(--f-display); font-size: 1.5rem; border-radius: 0; color: var(--ivory); }
  .nav a.top:hover, .nav button.top:hover { background: none; }
  .dd { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; padding: 0 0 12px; display: none; }
  .has-dd.open .dd { display: block; transform: none; }
  .has-dd:hover .dd { transform: none; }
  .dd::before { display: none; }
  .nav .mobile-cta { display: flex; margin-top: 24px; }
  .nav .mobile-cta .btn { width: 100%; }
}
.nav .mobile-cta { display: none; }
@media (max-width: 420px) { .site-header .logo img { height: 32px; } .site-header .wrap { gap: 12px; } }

/* ---------- progress bar (guide pages) ---------- */
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 2px; width: 100%; z-index: 61; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: var(--t-xs); color: var(--ivory-faint); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--felt-line); }
.crumbs a { color: var(--ivory-dim); text-decoration: none; }
.crumbs a:hover { color: var(--brass-hi); }

/* ---------- HOME HERO: the table ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1.02; }
html.l-zh .hero h1, html.l-th .hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: 1.2; }
html.l-vi .hero h1, html.l-ms .hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.6rem); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass-hi); }
.hero .lead { margin-top: 24px; max-width: 34em; font-size: var(--t-lg); color: var(--ivory-dim); line-height: 1.6; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid rgba(216, 67, 59, .4); background: rgba(216, 67, 59, .08); font-size: var(--t-xs); color: var(--ivory); margin-bottom: 22px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cinnabar); box-shadow: 0 0 0 0 rgba(216, 67, 59, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(216, 67, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 67, 59, 0); } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--felt-line); font-size: var(--t-sm); color: var(--ivory-dim); }
.hero-facts b { color: var(--ivory); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; margin-right: 6px; }

/* felt table with printed arc + dealt cards */
.table-visual { position: relative; aspect-ratio: 1 / .86; max-width: 100%; }
.table-felt {
  position: absolute; inset: 6% 0 0; border-radius: 50% 50% 18px 18px / 62% 62% 18px 18px;
  background: radial-gradient(ellipse at 50% 15%, #2a251d 0%, #15120e 45%, #080707 100%);
  box-shadow: inset 0 0 0 10px #1c1813, inset 0 0 0 12px var(--brass-lo), inset 0 30px 80px rgba(0, 0, 0, .35), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.table-print { position: absolute; inset: 6% 0 0; width: 100%; height: 94%; }
.table-print text { fill: var(--brass-hi); font-family: "Bodoni Moda", Georgia, serif; letter-spacing: .18em; }
.table-print .box { fill: none; stroke: rgba(241, 208, 138, .55); stroke-width: 1.2; }
.table-print .lbl { font-size: 15px; letter-spacing: .2em; fill: rgba(241, 208, 138, .85); }
.pcard {
  --r: 0deg;
  position: absolute; width: 17%; aspect-ratio: 5 / 7; border-radius: 7px; perspective: 800px;
}
.pcard .in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s; animation: flip .7s var(--ease-out) both; }
.pcard .face, .pcard .back { position: absolute; inset: 0; border-radius: 7px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .7); }
.pcard .face { overflow: hidden; background: var(--ivory); color: var(--card-ink); transform: rotateY(0deg); display: flex; flex-direction: column; justify-content: space-between; padding: 7% 9%; font-family: "Bodoni Moda", Georgia, serif; font-weight: 700; line-height: 1; }
.pcard .face.red { color: #b3241c; }
.pcard .face .r { font-size: clamp(11px, 1.7vw, 22px); }
.pcard .face .s { align-self: center; font-size: clamp(22px, 4vw, 46px); }
.pcard .face .r2 { align-self: flex-end; transform: rotate(180deg); font-size: clamp(11px, 1.7vw, 22px); }
.pcard .back { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #14110d 0 6px, #3a3022 6px 12px); border: 4px solid var(--ivory); }
.deal { animation: deal .9s var(--ease-out) both; }
@keyframes deal { from { transform: translate(var(--fx, 160%), var(--fy, -160%)) rotate(-30deg); opacity: 0; } to { transform: translate(0, 0) rotate(var(--r)); opacity: 1; } }
@keyframes flip { from { transform: rotateY(180deg); } to { transform: rotateY(0); } }
.chips { position: absolute; display: flex; gap: 0; }
.chip { width: clamp(34px, 5vw, 54px); aspect-ratio: 1; border-radius: 50%; position: relative; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .6); animation: chipdrop .7s var(--ease-out) both; }
.chip::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(var(--c2) 0 15deg, transparent 15deg 45deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.chip::after { content: attr(data-v); position: absolute; inset: 22%; border-radius: 50%; display: grid; place-items: center; background: var(--c1); border: 1px dashed rgba(255, 255, 255, .5); color: #fff; font: 700 clamp(9px, 1.1vw, 12px)/1 var(--f-body); }
.chip { background: var(--c1); }
@keyframes chipdrop { from { transform: translateY(-40px) scale(1.2); opacity: 0; } to { transform: none; opacity: 1; } }
.result-tag { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--felt-deep); border: 1px solid var(--brass); font-size: var(--t-xs); color: var(--brass-hi); letter-spacing: .06em; animation: fadeup .6s 2.6s var(--ease-out) both; }
@keyframes fadeup { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.float-y { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid rgba(201, 169, 110, .22); background: var(--felt-deep); overflow: hidden; padding-block: 16px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: var(--t-lg); color: var(--ivory-dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "♦"; color: var(--brass); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ivory-dim); max-width: 36em; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.rule-title { display: flex; align-items: center; gap: 16px; color: var(--brass); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html.l-zh .rule-title, html.l-th .rule-title { letter-spacing: .06em; }
.rule-title::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: currentColor; opacity: .6; }

/* game guide placards */
.placards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .placards { grid-template-columns: 1fr; } }
.placard {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; min-height: 100%;
  border-radius: var(--radius-card); text-decoration: none; color: var(--ivory);
  background: linear-gradient(180deg, var(--felt-raise), rgba(23, 20, 15, .4));
  border: 1px solid var(--felt-line); overflow: hidden; transition: transform .35s var(--ease-out), border-color .35s;
}
.placard:hover { color: var(--ivory); transform: translateY(-6px); border-color: rgba(201, 169, 110, .6); }
.placard .suit { position: absolute; right: -12px; top: -30px; font-family: "Bodoni Moda", Georgia, serif; font-size: 170px; line-height: 1; color: rgba(243, 238, 223, .05); transition: color .4s, transform .6s var(--ease-out); }
.placard:hover .suit { color: rgba(201, 169, 110, .14); transform: rotate(-8deg) scale(1.05); }
.placard .ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--brass); border: 1px solid rgba(201, 169, 110, .4); }
.placard .ico svg { width: 28px; height: 28px; }
.placard h3 { font-size: 1.75rem; }
.placard p { color: var(--ivory-dim); font-size: var(--t-sm); }
.placard ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.placard li { font-size: var(--t-xs); padding: 4px 10px; border-radius: 999px; background: rgba(243, 238, 223, .06); color: var(--ivory-dim); }
.placard .go { margin-top: auto; padding-top: 12px; color: var(--brass-hi); font-weight: 600; font-size: var(--t-sm); display: inline-flex; gap: 8px; align-items: center; }
.placard .go svg { width: 16px; height: 16px; transition: transform .3s; }
.placard:hover .go svg { transform: translateX(4px); }

/* real sequence: learn → practise → play */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--felt-line); }
.steps-row li { list-style: none; padding: 28px 28px 8px 0; position: relative; }
.steps-row li + li { padding-left: 28px; border-left: 1px solid var(--felt-line); }
.steps-row li::before { counter-increment: s; content: counter(s); display: block; font-family: "Bodoni Moda", Georgia, serif; font-size: 3.5rem; line-height: 1; color: var(--brass); margin-bottom: 14px; font-style: italic; }
.steps-row h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps-row p { color: var(--ivory-dim); font-size: var(--t-sm); }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } .steps-row li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--felt-line); } }

.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.why > div { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.why .ico { width: 44px; height: 44px; color: var(--brass); }
.why h3 { font-size: 1.3rem; margin-bottom: 6px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.why p { color: var(--ivory-dim); font-size: var(--t-sm); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* odds teaser (home) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 18px; padding: clamp(36px, 6vw, 72px); background: radial-gradient(120% 140% at 100% 0%, #2b2419, var(--felt-raise) 50%, var(--felt-deep)); border: 1px solid rgba(201, 169, 110, .35); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: var(--t-2xl); }
.cta-band p { color: var(--ivory-dim); margin-top: 12px; max-width: 34em; }
.cta-band .bg-wheel { position: absolute; right: -120px; bottom: -160px; width: 420px; opacity: .14; pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- INNER PAGE HERO ---------- */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--felt-line); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.page-hero .wrap.solo { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { margin-top: 22px; }
.page-hero .lead { margin-top: 20px; font-size: var(--t-lg); color: var(--ivory-dim); max-width: 36em; line-height: 1.6; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: var(--t-xs); color: var(--ivory-faint); }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .meta svg { width: 14px; height: 14px; color: var(--brass); }
.hero-art { display: grid; place-items: center; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 340px; margin-inline: auto; width: 100%; } }

/* roulette wheel */
.wheel { width: 100%; max-width: 380px; aspect-ratio: 1; position: relative; }
.wheel svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.wheel-rot { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.ball-rot { transform-origin: 200px 200px; animation: ballspin 9s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ballspin { 0% { transform: rotate(0deg); } 70% { transform: rotate(-1060deg); } 100% { transform: rotate(-1080deg); } }

/* slot reels */
.reels { display: flex; gap: 10px; padding: 18px; border-radius: 20px; background: linear-gradient(180deg, #5a3a17, #2c1c0b); box-shadow: inset 0 0 0 2px var(--brass), 0 30px 60px -20px rgba(0, 0, 0, .8); width: 100%; max-width: 360px; }
.reel { flex: 1; height: 210px; overflow: hidden; border-radius: 10px; background: var(--ivory); position: relative; box-shadow: inset 0 14px 18px -10px rgba(0, 0, 0, .5), inset 0 -14px 18px -10px rgba(0, 0, 0, .5); }
.reel::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(216, 67, 59, .55); }
.strip { display: flex; flex-direction: column; animation: reel 7s cubic-bezier(.45, .05, .2, 1) infinite; }
.reel:nth-child(2) .strip { animation-delay: .25s; }
.reel:nth-child(3) .strip { animation-delay: .5s; }
.strip span { height: 70px; display: grid; place-items: center; font: 700 34px/1 "Bodoni Moda", Georgia, serif; color: var(--card-ink); flex: none; }
.strip span.r { color: #b3241c; }
.strip span.g { color: #8a6418; }
@keyframes reel { 0%, 12% { transform: translateY(0); } 40%, 55% { transform: translateY(-630px); } 85%, 100% { transform: translateY(-1260px); } }

/* odds board */
.oddsboard { width: 100%; max-width: 380px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(201, 169, 110, .35); background: var(--felt-deep); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; }
.oddsboard header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--felt-raise); font-size: var(--t-xs); color: var(--ivory-dim); }
.oddsboard .row { display: grid; grid-template-columns: 1fr auto; padding: 14px 18px; border-top: 1px solid var(--felt-line); align-items: center; }
.oddsboard .row span { color: var(--ivory-dim); font-size: var(--t-sm); }
.oddsboard .row b { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.5rem; color: var(--ivory); transition: color .3s; }
.oddsboard .row b.flash { color: var(--brass-hi); }
.oddsboard footer { padding: 12px 18px; font-size: var(--t-xs); color: var(--ivory-faint); border-top: 1px solid var(--felt-line); }

/* card fan (guide hub) */
.fan { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1 / .85; }
.fan .pcard { width: 34%; left: 33%; top: 12%; transform-origin: 50% 120%; animation: fanout 1.2s var(--ease-out) both; }
.fan .pcard .in { animation: none; }
@keyframes fanout { from { transform: rotate(0); } to { transform: rotate(var(--r)); } }

/* ---------- GUIDE LAYOUT ---------- */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); }
.toc { position: sticky; top: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; }
.toc h2 { font-family: var(--f-body); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--felt-line); }
.toc ol a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ivory-faint); text-decoration: none; font-size: var(--t-sm); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc ol a:hover { color: var(--ivory); }
.toc ol a.active { color: var(--brass-hi); border-left-color: var(--brass); }
.toc .toc-cta { margin-top: 24px; padding: 20px; border-radius: 12px; background: var(--felt-raise); border: 1px solid var(--felt-line); font-size: var(--t-sm); color: var(--ivory-dim); }
.toc .toc-cta .btn { width: 100%; margin-top: 12px; }
@media (max-width: 960px) {
  .guide { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc ol a { border: 1px solid var(--felt-line); border-radius: 999px; padding: 6px 14px; margin: 0; }
  .toc ol a.active { border-color: var(--brass); }
  .toc .toc-cta { display: none; }
}
.article { min-width: 0; max-width: 780px; }
.article > .intro { font-size: var(--t-lg); color: var(--ivory-dim); line-height: 1.65; }
.gsec { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--felt-line); }
.gsec:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.gsec-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 24px; }
.gsec-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--brass); background: radial-gradient(circle at 30% 25%, var(--felt-raise), var(--felt-deep)); border: 1px solid rgba(201, 169, 110, .45); box-shadow: 0 0 0 6px rgba(201, 169, 110, .06); }
.gsec-ico svg { width: 30px; height: 30px; }
.gsec h2 { font-size: var(--t-2xl); }
.gsec .sub { color: var(--brass); font-size: var(--t-sm); margin-top: 6px; }
.gsec h3 { font-size: 1.35rem; margin: 36px 0 14px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; color: var(--ivory); }
.gsec p { color: var(--ivory-dim); }
.gsec p + p { margin-top: 1em; }
.gsec p strong, .gsec li strong { color: var(--ivory); font-weight: 600; }

ol.howto { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; gap: 12px; }
ol.howto li { counter-increment: h; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; color: var(--ivory-dim); }
ol.howto li::before { content: counter(h); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass-hi); font: 600 var(--t-xs)/1 var(--f-body); margin-top: 2px; }

ul.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.tips li { position: relative; padding-left: 26px; color: var(--ivory-dim); }
ul.tips li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
ul.tips.bad li::before { background: var(--cinnabar); }

/* pay table: printed ivory card, the one bright object in the section */
.paytable { margin-top: 8px; overflow-x: auto; border-radius: 12px; background: var(--ivory); color: var(--card-ink); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }
.paytable table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); font-variant-numeric: tabular-nums; min-width: 460px; }
.paytable caption { text-align: left; padding: 16px 20px 4px; font: 600 var(--t-xs)/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #6b5422; }
.paytable th, .paytable td { text-align: left; padding: 12px 20px; border-bottom: 1px solid rgba(27, 27, 23, .1); vertical-align: top; line-height: 1.5; }
.paytable th { font-weight: 700; font-size: var(--t-xs); color: #4b4a40; }
.paytable tr:last-child td { border-bottom: 0; }
.paytable td:first-child { font-weight: 600; }
.paytable td.pay { font-family: "Bodoni Moda", Georgia, serif; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.paytable .foot { padding: 10px 20px 14px; font-size: var(--t-xs); color: #6b6a5e; border-top: 1px solid rgba(27, 27, 23, .1); }

.note { margin-top: 24px; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(201, 169, 110, .35); background: rgba(201, 169, 110, .06); color: var(--ivory-dim); font-size: var(--t-sm); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.note svg { width: 20px; height: 20px; color: var(--brass); margin-top: 3px; }
.example { margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--felt-deep); border-left: 3px solid var(--brass); font-size: var(--t-sm); color: var(--ivory-dim); font-variant-numeric: tabular-nums; }
.example b { color: var(--ivory); display: block; margin-bottom: 6px; }

.inline-cta { margin-top: 40px; padding: 24px 28px; border-radius: 14px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; background: linear-gradient(100deg, rgba(201, 169, 110, .14), rgba(201, 169, 110, .02)); border: 1px solid rgba(201, 169, 110, .35); }
.inline-cta p { color: var(--ivory); font-family: var(--f-display); font-size: 1.3rem; max-width: 26em; }

/* glossary */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.glossary div { padding: 16px 0; border-bottom: 1px solid var(--felt-line); }
.glossary dt { font-weight: 600; color: var(--ivory); }
.glossary dd { margin: 4px 0 0; color: var(--ivory-dim); font-size: var(--t-sm); }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr; } }

/* odds converter tool */
.converter { margin-top: 20px; padding: 24px; border-radius: 14px; background: var(--felt-deep); border: 1px solid rgba(201, 169, 110, .35); }
.converter .inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.converter label { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--ivory-dim); }
.converter input { height: 48px; border-radius: 10px; border: 1px solid var(--felt-line); background: var(--felt); color: var(--ivory); padding: 0 14px; font: 600 1.1rem/1 var(--f-body); font-variant-numeric: tabular-nums; width: 100%; }
.converter input:focus { outline: 2px solid var(--brass); border-color: transparent; }
.converter .out { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.converter .out div { padding: 14px 12px; border-radius: 10px; background: var(--felt-raise); text-align: left; }
.converter .out span { display: block; font-size: var(--t-xs); color: var(--ivory-faint); }
.converter .out b { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.converter .out div.win { background: rgba(201, 169, 110, .16); }
.converter .out div.win b { color: var(--brass-hi); }
@media (max-width: 640px) { .converter .out { grid-template-columns: repeat(2, minmax(0, 1fr)); } .converter .out div.win { grid-column: 1 / -1; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--felt-line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; color: var(--ivory); }
html.l-zh .faq summary, html.l-th .faq summary { font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass); display: grid; place-items: center; font: 400 1.2rem/1 var(--f-body); transition: transform .3s var(--ease-out), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brass); color: var(--card-ink); }
.faq summary:hover { color: var(--brass-hi); }
.faq .ans { padding: 0 48px 26px 0; color: var(--ivory-dim); }
.faq details[open] .ans { animation: fadein .4s var(--ease-out); }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: var(--t-xl); color: var(--brass-hi); margin-bottom: 8px; }

/* RG */
.rg-check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rg-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 10px; background: var(--felt-raise); color: var(--ivory-dim); font-size: var(--t-sm); }
.rg-check li::before { content: ""; width: 18px; height: 18px; border: 1.5px solid var(--brass); border-radius: 4px; margin-top: 3px; }
@media (max-width: 700px) { .rg-check { grid-template-columns: 1fr; } }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tools-grid div { padding: 22px; border-radius: 12px; border: 1px solid var(--felt-line); }
.tools-grid b { display: block; color: var(--ivory); margin-bottom: 6px; }
.tools-grid p { font-size: var(--t-sm); }
@media (max-width: 700px) { .tools-grid { grid-template-columns: 1fr; } }
.age-badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--cinnabar); color: var(--ivory); font: 700 1.3rem/1 var(--f-body); flex: none; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; }
.about-grid h2 { font-size: var(--t-xl); margin-bottom: 14px; }
.about-grid p { color: var(--ivory-dim); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--felt-line); margin-top: 24px; }
.values div { padding: 28px 24px 0 0; }
.values div + div { padding-left: 24px; border-left: 1px solid var(--felt-line); }
.values b { display: block; font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 8px; color: var(--brass-hi); }
.values p { font-size: var(--t-sm); color: var(--ivory-dim); }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; } .values div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values div + div { padding-left: 0; border-left: 0; } }

/* ---------- FOOTER ---------- */
.site-footer { margin-top: clamp(64px, 8vw, 120px); background: var(--felt-deep); border-top: 1px solid rgba(201, 169, 110, .25); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.logos-band { padding-block: 40px; border-bottom: 1px solid var(--felt-line); }
.logos-band h2 { font-family: var(--f-body); font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); text-align: center; margin-bottom: 22px; }
html.l-zh .logos-band h2, html.l-th .logos-band h2 { letter-spacing: .06em; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0 auto; padding: 0; max-width: 1140px; }
.logos li { width: 132px; height: 66px; }
.logos a, .logos .slot, .logos .logo-item { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; }
.logos .logo-item { background: rgba(244, 237, 225, .03); border: 1px solid var(--felt-line); transition: border-color .3s, transform .3s var(--ease-out); padding: 8px 10px; overflow: hidden; }
.logos .logo-item:hover { border-color: rgba(201, 169, 110, .5); transform: translateY(-2px); }
.logos img { display: block; max-width: 108px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 520px) { .logos li { width: calc(33.33% - 8px); height: 58px; } .logos img { max-width: 92%; max-height: 36px; } }
.logos .slot { border: 1px dashed rgba(201, 169, 110, .4); color: var(--ivory-faint); font-size: .7rem; letter-spacing: .06em; background: linear-gradient(110deg, transparent 40%, rgba(201, 169, 110, .07) 50%, transparent 60%) 0 0 / 250% 100%; animation: slotshine 5s linear infinite; }
@keyframes slotshine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.logos.small { max-width: 880px; }
.logos.small li { width: 132px; height: 62px; }
.logos.small img { max-height: 40px; }

.help { padding-block: 40px; border-bottom: 1px solid var(--felt-line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: center; }
.help h2 { font-size: var(--t-xl); }
.help p { color: var(--ivory-dim); font-size: var(--t-sm); margin-top: 8px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.phone { padding: 16px 18px; border-radius: 12px; background: var(--felt-raise); border: 1px solid var(--felt-line); display: grid; gap: 8px; }
.phone small { color: var(--ivory-faint); font-size: var(--t-xs); }
.phone a.num { color: var(--ivory); font-weight: 700; font-size: 1.1rem; text-decoration: none; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 8px; }
.phone a.num svg { width: 16px; height: 16px; color: var(--brass); }
.phone a.num:hover { color: var(--brass-hi); }
.phone .wa { font-size: var(--t-xs); color: var(--brass-hi); text-decoration: none; }
@media (max-width: 900px) { .help { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .phones { grid-template-columns: 1fr; } }

.foot-main { padding-block: 40px 24px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-main p { color: var(--ivory-faint); font-size: var(--t-sm); margin-top: 14px; max-width: 30em; }
.foot-main h3 { font-family: var(--f-body); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 14px; }
.foot-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-main ul a { color: var(--ivory-dim); text-decoration: none; font-size: var(--t-sm); }
.foot-main ul a:hover { color: var(--brass-hi); }
@media (max-width: 760px) { .foot-main { grid-template-columns: 1fr 1fr; } .foot-main > div:first-child { grid-column: 1 / -1; } }
.legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--felt-line); font-size: var(--t-xs); color: var(--ivory-faint); }
.legal .rg { display: inline-flex; align-items: center; gap: 10px; }
.legal .age-badge { width: 34px; height: 34px; font-size: .75rem; border-width: 1.5px; }

/* ---------- SIGN-UP POP-UP ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: bgin .35s both; }
@keyframes bgin { from { opacity: 0; } }
.modal-card {
  position: relative; width: min(460px, 100%); border-radius: 22px; overflow: hidden; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #2b2419, var(--felt-raise) 45%, var(--felt-deep));
  border: 1px solid rgba(201, 169, 110, .55); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9);
  padding: 44px 32px 30px; animation: cardin .6s var(--ease-out) both;
}
@keyframes cardin { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.modal-card::before { content: ""; position: absolute; inset: 10px; border-radius: 14px; border: 1px solid rgba(241, 208, 138, .22); pointer-events: none; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243, 238, 223, .2); background: rgba(5, 4, 4, .6); color: var(--ivory); cursor: pointer; font-size: 1.2rem; line-height: 1; z-index: 2; }
.modal-x:hover { border-color: var(--brass); }
.modal-logo { display: block; width: 150px; height: auto; margin: 0 auto 16px; }
.modal-chips { display: flex; justify-content: center; margin-bottom: 18px; }
.modal-chips .chip { margin-inline: -6px; animation: chipdrop .6s var(--ease-out) both; }
.modal-chips .chip:nth-child(2) { animation-delay: .12s; transform: translateY(-6px); }
.modal-chips .chip:nth-child(3) { animation-delay: .24s; }
.modal-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(216, 67, 59, .16); border: 1px solid rgba(216, 67, 59, .5); color: var(--ivory); font-size: var(--t-xs); margin-bottom: 14px; }
.modal-card h2 { font-size: clamp(2rem, 1.6rem + 2vw, 2.6rem); }
.modal-card p { color: var(--ivory-dim); margin-top: 12px; }
.modal-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; text-align: left; }
.modal-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--t-sm); color: var(--ivory); }
.modal-card li svg { width: 18px; height: 18px; color: var(--brass); margin-top: 3px; }
.modal-card .btn-gold { width: 100%; min-height: 56px; font-size: 1.05rem; margin-top: 24px; }
.modal-later { margin-top: 12px; background: none; border: 0; color: var(--ivory-faint); font: 500 var(--t-xs)/1 var(--f-body); cursor: pointer; padding: 10px; }
.modal-later:hover { color: var(--ivory); }
.modal-fine { margin-top: 10px; font-size: .72rem; color: var(--ivory-faint); }

/* sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 10px; align-items: center; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(5, 4, 4, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(201, 169, 110, .3); transform: translateY(110%); transition: transform .4s var(--ease-out); }
.sticky-cta.show { transform: none; }
.sticky-cta p { flex: 1; font-size: var(--t-xs); color: var(--ivory-dim); line-height: 1.35; min-width: 0; }
.sticky-cta .btn { flex: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- language gateway (root) ---------- */
.gate { min-height: 100%; display: grid; place-items: center; padding-block: 48px; }
.gate h1 { font-size: var(--t-2xl); text-align: center; }
.gate .sub { text-align: center; color: var(--ivory-dim); margin-top: 10px; }
.gate-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; margin-top: 36px; list-style: none; padding: 0; }
.gate-grid a { display: grid; place-items: center; height: 100%; min-height: 104px; gap: 4px; padding: 26px 18px; border-radius: 14px; text-decoration: none; color: var(--ivory); border: 1px solid var(--felt-line); background: var(--felt-raise); transition: .3s var(--ease-out); text-align: center; }
.gate-grid a:hover, .gate-grid a.suggest { border-color: var(--brass); color: var(--ivory); }
.gate-grid a:hover { transform: translateY(-4px); }
.gate-grid b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; }
.gate-grid span { font-size: var(--t-xs); color: var(--ivory-faint); }
@media (max-width: 820px) { .gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- scroll reveal (progressive; content is visible without it) ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  @keyframes rise { from { opacity: .15; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .table-visual { max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { animation: none !important; }
}
@media (max-width: 520px) { .logos.small li { width: calc(33.33% - 8px); height: 54px; } .logos.small img { max-height: 32px; } }

/* ---------- VIP invitation band (sign-up call to action) ---------- */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.vip-wrap { margin-top: clamp(24px, 4vw, 48px); }
.vip {
  position: relative; border-radius: 26px; padding: 1.5px;
  background: conic-gradient(from var(--spin), #5a4a30, #f6dfae, #a2865a, #2d271e, #c9a96e, #f6dfae, #5a4a30);
  animation: foil 8s linear infinite;
  box-shadow: 0 40px 90px -40px rgba(201, 169, 110, .45);
}
@keyframes foil { to { --spin: 360deg; } }
.vip-in {
  position: relative; overflow: hidden; border-radius: 25px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(201, 169, 110, .22), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(216, 67, 59, .10), transparent 70%),
    linear-gradient(135deg, #17130e, #0a0807 60%);
}
.vip-in::before { /* fine gold pinstripe like a VIP card */
  content: ""; position: absolute; inset: 12px; border-radius: 16px; pointer-events: none;
  border: 1px solid rgba(246, 223, 174, .14);
}
.vip-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(246, 223, 174, .09) 48%, transparent 60%); transform: translateX(-100%); animation: vipshine 7s 1s ease-in-out infinite; }
@keyframes vipshine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.vip-copy { position: relative; z-index: 2; min-width: 0; }
.vip-crown { width: 64px; height: auto; display: block; margin-bottom: 18px; filter: drop-shadow(0 6px 18px rgba(201, 169, 110, .45)); animation: crownbob 4s ease-in-out infinite; }
@keyframes crownbob { 50% { transform: translateY(-5px); } }
.vip-h {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1.05;
  background: linear-gradient(100deg, #a2865a 0%, #f6dfae 30%, #fff4dc 45%, #c9a96e 65%, #f6dfae 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldtext 6s ease-in-out infinite;
}
html.l-zh .vip-h, html.l-th .vip-h { line-height: 1.25; }
@keyframes goldtext { 50% { background-position: 100% 0; } }
.vip-p { margin-top: 16px; color: var(--ivory-dim); font-size: var(--t-lg); max-width: 30em; line-height: 1.6; }
.vip-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vip-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(246, 223, 174, .06); border: 1px solid rgba(201, 169, 110, .28); font-size: var(--t-xs); color: var(--ivory); }
.vip-points svg { width: 15px; height: 15px; color: var(--brass-hi); flex: none; }
.vip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.btn-xl { min-height: 60px; padding: 0 2.2em; font-size: 1.05rem; box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 18px 40px -12px rgba(201, 169, 110, .8); }
.btn-xl::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(246, 223, 174, .5); animation: ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }
.vip-age { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-xs); color: var(--ivory-faint); }
.vip-age .age-badge { width: 32px; height: 32px; font-size: .7rem; border-width: 1.5px; }

.vip-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; justify-self: end; }
.vip-wheel { position: absolute; inset: 4%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }
.vip-wheel svg { width: 100%; height: 100%; }
.vip-card { width: 30%; z-index: 3; animation: cardfloat 6s ease-in-out infinite; }
.vip-card .in { animation: none; }
.vip-card.c1 { left: -6%; bottom: 4%; transform: rotate(var(--r)); }
.vip-card.c2 { left: 16%; bottom: -2%; transform: rotate(var(--r)); animation-delay: -3s; }
@keyframes cardfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.vip-chips { position: absolute; right: 0; top: 2%; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.vip-chips .chip { width: clamp(40px, 5vw, 58px); animation: chipfloat 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes chipfloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(25deg); } }

@media (max-width: 860px) {
  .vip-in { grid-template-columns: 1fr; }
  .vip-art { justify-self: center; max-width: 300px; order: -1; margin-bottom: -8px; }
}
@media (prefers-reduced-motion: reduce) { .vip { animation: none; } }

/* ---------- language page: photo background, content on the dark left ---------- */
.gate-body { min-height: 100vh; min-height: 100svh; background: #080604; overflow-x: hidden; }
.gbg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gbg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; animation: bgzoom 18s ease-in-out infinite alternate; }
@keyframes bgzoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.gbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 4, .9) 0%, rgba(8, 6, 4, .72) 38%, transparent 58%); }
.gate3 { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: max(32px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.g3 { width: min(760px, 50vw); margin-left: clamp(0px, 4vw, 90px); text-align: center; }
.g3-logo { display: block; width: clamp(170px, 14vw, 240px); height: auto; margin: 0 auto; }
.g3 h1 { margin-top: 30px; font-size: var(--t-2xl); text-align: center; }
.g3 .sub { text-align: center; color: var(--ivory-dim); margin-top: 10px; font-size: var(--t-sm); }
.g3 .gate-grid { margin-top: 32px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.g3 .gate-grid a { min-height: 96px; padding: 18px 10px; background: rgba(23, 20, 15, .82); }
.g3 .gate-grid b { font-size: 1.15rem; line-height: 1.25; }
.g3 .gate-grid a[lang="zh-Hans"] b { font-family: "Noto Sans SC", sans-serif; }
.g3 .gate-grid a[lang="th"] b { font-family: "IBM Plex Sans Thai", sans-serif; }
.g3-age { margin-top: 30px !important; font-size: .8rem !important; }
@media (max-width: 1100px) {
  .g3 { width: min(560px, 54vw); }
  .g3 .gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 .gate-grid li:last-child { grid-column: 1 / -1; }
  .g3 .gate-grid a { min-height: 72px; }
}
@media (max-width: 760px) {
  .gbg { bottom: auto; height: 52vh; }
  .gbg img { object-position: 78% 30%; }
  .gbg::after { background: linear-gradient(180deg, rgba(8, 6, 4, .25) 0%, transparent 35%, rgba(8, 6, 4, .7) 75%, #080604 100%); }
  .gate3 { align-items: flex-start; }
  .g3 { width: 100%; margin: 34vh 0 0; }
  .g3-logo { width: 150px; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .8)); }
  .g3 h1 { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .gbg img { animation: none; } }

/* guide card photo */
.placard-img { position: relative; z-index: 1; display: block; margin: 2px -8px 0; aspect-ratio: 2 / 1; max-width: calc(100% + 16px); border-radius: 12px; overflow: hidden; border: 1px solid rgba(201, 169, 110, .3); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .8); }
.placard-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .5s; filter: saturate(.95); }
.placard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 4, .45)); pointer-events: none; }
.placard:hover .placard-img img { transform: scale(1.06); filter: saturate(1.1) brightness(1.05); }
.placard:hover .placard-img { border-color: rgba(246, 223, 174, .6); }

/* home hero: full-width photo, copy on the dark left */
.hero-photo { min-height: min(86vh, 860px); display: flex; align-items: center; isolation: isolate; }
.hero-photo .wrap { display: block; width: 100%; }
.hero-photo .wrap > div { max-width: 640px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(3, 3, 3, .85) 0%, rgba(3, 3, 3, .55) 34%, transparent 58%),
  linear-gradient(180deg, transparent 70%, var(--felt) 100%); }
.hero-photo .hero-facts { border-top-color: rgba(244, 237, 225, .14); }
@media (max-width: 860px) {
  .hero-photo { display: block; min-height: 0; padding-top: 0; }
  .hero-bg { position: relative; inset: auto; height: 56vw; min-height: 240px; margin-bottom: -18vw; }
  .hero-bg img { object-position: 82% 40%; }
  .hero-bg::after { background: linear-gradient(180deg, transparent 40%, var(--felt) 96%); }
  .hero-photo .wrap { position: relative; }
}

/* sign-up band: photo background inside the gold frame */
.vip-in { grid-template-columns: minmax(0, 1fr); min-height: clamp(380px, 34vw, 520px); background: #050407; }
.vip-copy { max-width: 560px; }
.vip-photo { position: absolute; inset: 0; z-index: 0; }
.vip-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; transition: transform 8s ease-out; }
.vip:hover .vip-photo img { transform: scale(1.04); }
.vip-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 4, 7, .92) 0%, rgba(5, 4, 7, .7) 38%, transparent 62%); }
.vip-in::before { z-index: 1; }
.vip-shine { z-index: 1; }
@media (max-width: 860px) {
  .vip-in { padding-top: 0; }
  .vip-photo { position: relative; inset: auto; height: 62vw; margin: 0 calc(-1 * clamp(32px, 5vw, 64px)) -10vw; }
  .vip-photo img { object-position: 78% 50%; }
  .vip-photo::after { background: linear-gradient(180deg, transparent 40%, #050407 96%); }
}

/* guide page heroes with a photo background */
.page-hero-photo { min-height: min(72vh, 680px); border-bottom: 0; }
.page-hero-photo .wrap > div { max-width: 600px; }
.page-hero-photo .lead { max-width: 30em; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.page-hero-photo .hero-bg::after { background:
  linear-gradient(90deg, rgba(3, 3, 3, .9) 0%, rgba(3, 3, 3, .6) 36%, transparent 60%),
  linear-gradient(180deg, transparent 72%, var(--felt) 100%); }
@media (max-width: 860px) {
  .page-hero-photo { padding-top: 0; }
  .page-hero-photo .hero-bg::after { background: linear-gradient(180deg, transparent 40%, var(--felt) 96%); }
}

/* main navigation hover: same gold pill as the Sign Up Now button */
@media (min-width: 1021px) {
  .nav a.top, .nav button.top { border: 1px solid transparent; transition: color .2s, background .25s, box-shadow .25s, transform .25s var(--ease-out); }
  .nav a.top:hover, .nav button.top:hover, .nav .has-dd:hover > .top, .nav .has-dd.open > .top, .nav a.top:focus-visible, .nav button.top:focus-visible {
    color: var(--card-ink);
    background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 26px -10px rgba(201, 169, 110, .75);
    transform: translateY(-1px);
  }
  .nav .has-dd:focus-within > .top:not(:hover) { background: none; color: var(--ivory); box-shadow: none; transform: none; }
}

/* ---------- home: popular games grid ---------- */
.games-sec { padding-top: 0; }
.gtiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gtile { position: relative; display: grid; align-content: start; gap: 8px; height: 100%; padding: 20px 20px 18px; border-radius: 14px; text-decoration: none; color: var(--ivory);
  background: linear-gradient(160deg, rgba(201, 169, 110, .08), rgba(23, 20, 15, .6) 45%); border: 1px solid var(--felt-line);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s, background .3s; overflow: hidden; }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(246, 223, 174, .12) 50%, transparent 65%); transform: translateX(-100%); transition: transform .7s var(--ease-out); pointer-events: none; }
.gtile:hover { color: var(--ivory); transform: translateY(-4px); border-color: rgba(246, 223, 174, .6); box-shadow: 0 20px 40px -20px rgba(201, 169, 110, .45); }
.gtile:hover::after { transform: translateX(100%); }
.gt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.gt-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--brass-hi); border: 1px solid rgba(201, 169, 110, .45); background: rgba(201, 169, 110, .08); }
.gt-ico svg { width: 20px; height: 20px; }
.gt-cat { font-size: .7rem; letter-spacing: .08em; color: var(--ivory-faint); text-transform: uppercase; }
html.l-zh .gt-cat, html.l-th .gt-cat { letter-spacing: .02em; }
.gtile b { font: 600 1.2rem/1.25 var(--f-display); }
.gt-d { font-size: var(--t-xs); color: var(--ivory-dim); line-height: 1.5; padding-right: 26px; }
.gt-go { position: absolute; right: 16px; bottom: 16px; color: var(--brass); transition: transform .3s; }
.gt-go svg { width: 18px; height: 18px; display: block; }
.gtile:hover .gt-go { transform: translateX(4px); color: var(--brass-hi); }
@media (max-width: 1000px) { .gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gtile { padding: 16px 14px; } .gt-d { padding-right: 0; } .gt-go { display: none; } .gt-cat { display: none; } }

/* ---------- home: house-edge chart ---------- */
.edge-sec { background: var(--felt-deep); border-block: 1px solid var(--felt-line); }
.edge-split { align-items: center; }
.edge-p { color: var(--ivory-dim); margin-top: 18px; max-width: 32em; }
.edge-chart { margin: 0; padding: 24px; border-radius: 16px; background: var(--felt-raise); border: 1px solid rgba(201, 169, 110, .25); min-width: 0; }
.edge-chart figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--ivory-faint); margin-bottom: 14px; }
.edge-scale { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.edge-scale i { display: block; width: 60px; height: 1px; background: currentColor; opacity: .5; }
.ebars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eb { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) 84px; align-items: center; gap: 12px; padding: 4px 6px; margin: 0 -6px; border-radius: 8px; transition: background .2s; }
.eb:hover { background: rgba(244, 237, 225, .04); }
.eb-l { font-size: var(--t-xs); color: var(--ivory); line-height: 1.35; }
.eb-track { height: 10px; border-radius: 4px; background: rgba(244, 237, 225, .06); overflow: hidden; }
.eb-bar { display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); transform-origin: 0 50%; animation: ebgrow 1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.eb-hi .eb-bar { background: linear-gradient(90deg, #8a2a22, #d8433b); }
@keyframes ebgrow { from { transform: scaleX(0); } }
.eb-v { font: 600 var(--t-xs)/1.2 var(--f-body); color: var(--ivory-dim); text-align: right; font-variant-numeric: tabular-nums; }
.eb-lo .eb-v { color: var(--brass-hi); }
.edge-note { margin-top: 16px; font-size: .75rem; color: var(--ivory-faint); }
@media (max-width: 700px) {
  .edge-chart { padding: 18px 16px; }
  .eb { grid-template-columns: minmax(0, 1fr) 70px; row-gap: 6px; }
  .eb-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .eb-bar { animation: none; } }

/* home spacing tweaks */
.games-sec { padding-bottom: clamp(32px, 4vw, 56px); }
.why-sec { padding-top: clamp(24px, 3vw, 40px); }
.faq-sec { padding-top: clamp(80px, 9vw, 130px); }

/* mobile menu fix: a backdrop-filter on the header traps the fixed menu panel inside
   the header bar (Safari and Chrome), so phones use a solid header instead */
@media (max-width: 1020px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 4, 4, .97); }
  .nav { height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px)); height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px)); bottom: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .nav-open .sticky-cta { transform: translateY(110%); }
  .nav .mobile-cta { display: flex; margin-top: 28px; }
  .nav .mobile-cta .btn { width: 100%; min-height: 54px; }
}
