/* CroreBet India — reset consumed into app.css. Component rules live in site.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; }

@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fffdf6;
  --ink: #1b1408;
  --ink-soft: #5e5138;
  --gold: #f0b31a;
  --gold-deep: #c48a08;
  --gold-soft: #fff4d0;
  --green: #157a3a;
  --green-press: #0f5c2b;
  --line: #efe2c0;
  --white: #fffcf7;
  --shadow: 0 16px 40px -28px rgba(27, 20, 8, 0.45);
  --wrap: 1180px;
  --header-h: 7.6rem;
  --font-display: Outfit, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { display: block; }
a { color: var(--green-press); }
h1, h2, h3, .logo, .stamp, .btn, .nav a {
  font-family: var(--font-display);
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -0.042em; font-weight: 700; margin: 0 0 0.65rem; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.2vw, 2.05rem); line-height: 1.12; letter-spacing: -0.032em; font-weight: 700; margin: 0 0 0.75rem; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 0; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
#main-content { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: 0.5rem; top: -4rem; background: var(--ink); color: var(--paper);
  padding: 0.6rem 0.8rem; z-index: 20;
}
.skip:focus { top: 0.5rem; }

.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;
}
.focus\:not-sr-only\:focus:focus {
  position: absolute; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal;
}

.mast {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(27, 20, 8, 0.05);
  backdrop-filter: blur(10px);
}
.mast-main {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 0.55rem; min-height: 4.15rem;
}
.logo { flex: 0 0 auto; }
.logo img { height: 40px; width: auto; max-width: 46vw; }
.nav { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0.05rem; flex: 1 1 auto; min-width: 0; }
.nav-item { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.nav a, .nav-toggle {
  display: inline-flex; align-items: center; min-height: 2.35rem; padding: 0 0.3rem;
  text-decoration: none; color: var(--ink); font-weight: 700; background: transparent; border: 0; border-radius: 999px;
  white-space: nowrap; font-size: 0.92rem; transition: background 0.15s ease;
}
.nav a:hover, .nav-toggle:hover { background: var(--gold-soft); }
.nav a[aria-current="page"], .nav-item.is-open > a { background: var(--gold); color: var(--ink); }
.nav-item:has(> a[aria-current="page"]) > .nav-toggle { background: var(--gold); }
.nav-toggle { width: 1.35rem; padding: 0; color: var(--ink); }
.nav-toggle svg { transition: transform 0.16s ease; }
.nav-item.is-open > .nav-toggle svg { transform: rotate(180deg); }
.nav-sub {
  display: none; position: absolute; top: calc(100% + 0.55rem); left: 0; min-width: 232px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.4rem; box-shadow: 0 18px 40px rgba(27, 20, 8, 0.14); z-index: 6;
}
.nav-sub::before {
  content: ""; position: absolute; top: -0.55rem; left: 0; right: 0; height: 0.55rem;
}
.nav-item.is-open .nav-sub { display: grid; gap: 0.12rem; }
.nav-sub a { border-radius: 10px; justify-content: flex-start; min-height: 2.15rem; padding: 0 0.7rem; font-weight: 600; }
.nav-sub a:hover { background: var(--gold-soft); }
.mast-actions { display: flex; gap: 0.35rem; align-items: center; flex: 0 0 auto; }
.mast-actions .btn { min-height: 2.35rem; padding: 0.25rem 0.72rem; font-size: 0.92rem; }
.nav-mobile { display: none; }
.search-deck { padding: 0 0 0.85rem; }
.search-deck form {
  display: flex; align-items: center; gap: 0.5rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.2rem 0.2rem 0.9rem;
}
.search-deck input {
  flex: 1; border: 0; background: transparent; min-height: 2.5rem; color: var(--ink); outline: none;
}
.search-deck button {
  border: 0; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 999px;
  min-height: 2.5rem; padding: 0 1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 2.7rem; padding: 0.35rem 1rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; font-weight: 700; color: var(--ink); background: var(--gold); cursor: pointer;
  white-space: nowrap;
}
.menu-toggle { display: none; }
.btn-fill { background: var(--green); color: #fff; border-color: var(--green); }
.btn-outline { background: transparent; border-color: var(--gold-deep); color: var(--ink); }
.btn-green-outline { background: transparent; border-color: var(--green); color: var(--green-press); }
.btn:hover { box-shadow: 0 0 0 4px rgba(240, 179, 26, 0.28); }
.btn-fill:hover { background: var(--green-press); border-color: var(--green-press); box-shadow: 0 0 0 4px rgba(21, 122, 58, 0.2); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold-deep); outline-offset: 2px;
}

.hero-slab {
  position: relative; isolation: isolate; overflow: hidden; display: block;
  background: #8a5a10; border-radius: 28px; margin: 1rem 0 1.2rem; min-height: 340px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.hero-slab::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(27, 20, 8, 0.64) 0%, rgba(27, 20, 8, 0.5) 44%, rgba(27, 20, 8, 0.12) 66%, transparent 82%);
}
.hero-copy { position: relative; z-index: 2; max-width: 31rem; padding: 1.7rem 1.3rem 1.6rem 1.6rem; color: var(--paper); }
.hero-slab h1 { color: var(--paper); font-size: clamp(2.45rem, 4.8vw, 4.05rem); line-height: 0.96; letter-spacing: -0.048em; margin: 0 0 0.55rem; }
.hero-slab h1::after {
  content: ""; display: block; width: 4.2rem; height: 0.28rem; margin-top: 0.7rem; border-radius: 999px; background: var(--gold);
}
.hero-slab .lede { color: rgba(255, 253, 246, 0.92); max-width: 34rem; }
.hero-slab .kicker {
  color: var(--gold); background: rgba(27, 20, 8, 0.35); border: 1px solid rgba(240, 179, 26, 0.55);
  border-radius: 999px; padding: 0.28rem 0.75rem 0.28rem 0.55rem; letter-spacing: 0.14em; font-size: 0.72rem;
}
.hero-slab .btn-outline { border-color: rgba(255, 253, 246, 0.88); color: var(--paper); }
.hero-slab .crumbs { margin: 0 0 0.75rem; }
.hero-slab .crumbs, .hero-slab .crumbs a { color: rgba(255, 253, 246, 0.82); }
.hero-slab .btn-outline:hover { background: rgba(255, 253, 246, 0.12); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 0.7rem;
}
.sheet > h1::after { background: var(--gold); }
.sheet > h1::after {
  content: ""; display: block; width: 3.2rem; height: 0.22rem; margin-top: 0.55rem; border-radius: 999px;
}
.story > section > h2,
.room-bar h2,
.about-board h2,
.faq > h2,
#notes > h2,
.site-footer .foot-grid h2,
#demo > h2 {
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.h2-icon { width: 2rem; height: 2rem; flex: 0 0 auto; object-fit: contain; margin-top: 0.05rem; }
.site-footer .h2-icon { width: 1.5rem; height: 1.5rem; margin-top: 0; }
.live-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); display: inline-block; }
.lede { font-size: 1.12rem; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.hero-frame { border-radius: 20px; overflow: hidden; background: #e7b318; min-height: 220px; }
.hero-frame img, .page-hero-media { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.page-hero-media { aspect-ratio: 16 / 9; }

.stamp-row, .sport-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.6rem; margin: 0.4rem 0 1.2rem; }
.sport-row { grid-template-columns: repeat(6, 1fr); }
.stamp, .sport-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 5.2rem; background: var(--gold); color: var(--ink); text-decoration: none; border-radius: 16px;
  font-weight: 700; text-align: center; padding: 0.4rem;
}
.sport-tile { background: var(--gold); min-height: 6.4rem; }
.event-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: 0.15rem 0 1.2rem; }
.event-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 13rem; border-radius: 18px; color: var(--paper); text-decoration: none;
}
.event-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; transition: transform 0.4s ease;
}
.event-card:hover .event-bg { transform: scale(1.05); }
.event-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(27, 20, 8, 0.18) 0%, rgba(27, 20, 8, 0.28) 46%, rgba(27, 20, 8, 0.78) 100%);
}
.event-copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.18rem; padding: 0.9rem 0.9rem 0.85rem;
}
.event-copy small { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.event-copy strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1.1; }
.event-copy em { font-style: normal; font-size: 0.88rem; line-height: 1.35; color: rgba(255, 253, 246, 0.92); }
.stamp svg, .sport-tile svg { width: 26px; height: 26px; }
.tile-icon { width: 48px; height: 48px; object-fit: contain; }

.room { margin: 0.4rem 0 1.3rem; }
.room-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.55rem; }
.room-bar h2 { margin: 0; }
.room-bar a { font-weight: 700; text-decoration: none; }
.poster-bay { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.7rem; }
.game-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.game-card__media { position: relative; background: #1b1408; }
.game-card__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center center; }
.game-card__hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.45rem; padding: 0.7rem; background: rgba(27, 20, 8, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.game-card__hover .btn { width: min(100%, 9.2rem); min-height: 2.4rem; }
.game-card:hover .game-card__hover,
.game-card:focus-within .game-card__hover { opacity: 1; pointer-events: auto; }
.cash-mark {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.game-card:hover { box-shadow: inset 0 0 0 2px var(--gold-deep); }
.game-card:hover img { filter: brightness(1.06); }
@media (hover: hover) {
  .game-card__hover .btn-outline { background: var(--white); border-color: var(--white); color: var(--ink); }
}
@media (hover: none) {
  .game-card__hover {
    position: static; opacity: 1; pointer-events: auto; background: transparent; padding: 0.55rem 0.6rem 0;
  }
  .game-card__hover .btn { width: 100%; }
}

.offer-carousel { margin: 0.5rem 0 1.2rem; }
.offer-bar { display: flex; justify-content: flex-end; margin-bottom: 0.4rem; }
.offer-pause {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font: inherit; font-weight: 700; min-height: 2.2rem; padding: 0.2rem 0.8rem; cursor: pointer;
}
.offer-track {
  display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 0.2rem;
}
.offer-track::-webkit-scrollbar { display: none; }
.offer-slab {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 calc((100% - 0.8rem) / 2); scroll-snap-align: start;
  border-radius: 22px; padding: 1.2rem 1.2rem 1rem; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.offer-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
.offer-slab::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--offer-wash) 62%, transparent) 0%,
    color-mix(in srgb, var(--offer-wash) 46%, transparent) 24%,
    color-mix(in srgb, var(--offer-wash) 22%, transparent) 48%,
    color-mix(in srgb, var(--offer-wash) 6%, transparent) 68%,
    transparent 84%
  );
}
.offer-slab > div { position: relative; z-index: 2; }
.offer-slab > div:first-of-type { max-width: min(21rem, 56%); }
.offer-slab h2 { margin: 0 0 0.35rem; }
.offer-gold { --offer-wash: #f0b31a; background: var(--gold); color: var(--ink); }
.offer-green { --offer-wash: #0f5c2b; background: var(--green); color: #fff; }
.offer-ink { --offer-wash: #1b1408; background: var(--ink); color: #fffdf6; }
.offer-green a, .offer-ink a { color: #fff; }
.offer-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.8rem; }
.offer-green .btn-outline, .offer-ink .btn-outline { border-color: #fff; color: #fff; background: transparent; }

.wins {
  margin: 0.35rem 0 1.15rem; padding: 0.9rem 0.85rem 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
}
.wins-head { display: flex; align-items: center; gap: 0.45rem; margin: 0 0.2rem 0.75rem; }
.wins-mark { flex: none; color: var(--ink); }
.wins-head h2 { margin: 0; font-size: 1.45rem; letter-spacing: -0.04em; line-height: 1; }
.wins-pause { margin-left: auto; min-height: 2.1rem; padding: 0 0.7rem; font-size: 0.82rem; }
.wins-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.wins-track { display: flex; gap: 0.7rem; width: max-content; animation: wins-slide 46s linear infinite; }
.wins.is-paused .wins-track,
.wins-viewport:hover .wins-track,
.wins-viewport:focus-within .wins-track { animation-play-state: paused; }
.win-card {
  display: flex; align-items: center; gap: 0.55rem; min-width: 16.2rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem; border-radius: 14px;
  background: var(--paper); color: var(--ink); text-decoration: none;
}
.win-who { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; width: 4.8rem; flex: none; }
.win-avatar {
  width: 1.65rem; height: 1.65rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 0.78rem; text-transform: lowercase;
}
.win-mail { max-width: 4.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.68rem; color: var(--ink-soft); }
.win-card img { width: 3.15rem; height: 3.15rem; object-fit: cover; border-radius: 10px; flex: none; }
.win-meta { display: flex; flex-direction: column; min-width: 0; gap: 0.1rem; }
.win-meta strong { font-size: 0.98rem; letter-spacing: -0.03em; line-height: 1.1; }
.win-meta span { font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 7.4rem; }
@keyframes wins-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape { display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 1.2rem; }
.tape-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-track { display: flex; gap: 0.5rem; width: max-content; animation: tape 36s linear infinite; }
.tape.is-paused .tape-track { animation-play-state: paused; }
.tape a { background: var(--gold-soft); border-radius: 999px; padding: 0.35rem 0.75rem; text-decoration: none; color: var(--ink); font-weight: 700; white-space: nowrap; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.note {
  display: grid; grid-template-columns: 96px 1fr; gap: 0.8rem; background: var(--white);
  border-radius: 18px; padding: 0.8rem; border: 1px solid var(--line);
}
.note:nth-child(odd) { border-left: 6px solid var(--gold); }
.note img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.note-name { font-family: var(--font-display); font-weight: 700; }
.note-city { color: var(--ink-soft); margin-left: 0.4rem; }
.note blockquote { margin: 0.35rem 0 0; }

.toc { margin: 1.4rem 0 1.6rem; background: var(--gold-soft); border-radius: 18px; padding: 0.4rem 0.9rem 0.8rem; }
.toc summary { cursor: pointer; font-weight: 700; min-height: 2.7rem; display: flex; align-items: center; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.5rem; padding: 0.2rem 0.7rem;
  background: var(--white); border-radius: 999px; text-decoration: none; color: var(--ink);
}
.toc a span { font-weight: 700; color: var(--gold-deep); }

.story { display: grid; gap: 1.1rem; }
.seo-fold { margin: 1.15rem 0 0; }
.seo-fold:not([open]) > :not(summary) { display: none; }
.seo-fold > summary {
  display: flex; width: 100%; box-sizing: border-box; align-items: center; justify-content: space-between;
  gap: 0.6rem; min-height: 2.8rem; padding: 0.35rem 1rem;
  border-radius: 14px; background: var(--gold); color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; list-style: none;
}
.seo-fold[open] > summary { border-radius: 14px 14px 0 0; }
.seo-fold > summary::-webkit-details-marker { display: none; }
.seo-fold > summary::after {
  content: ""; width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.12rem);
}
.seo-fold[open] > summary::after { transform: rotate(225deg) translateY(-0.05rem); }
.seo-fold[open] .toc { margin-top: 0.85rem; }
.seo-fold .story { margin-top: 0.85rem; }
.story > .copy-block {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.15rem 1.25rem 1.2rem; box-shadow: inset 0 7px 0 var(--gold);
}
.story > .copy-block:nth-child(even) { box-shadow: inset 6px 0 0 var(--gold); }
.story section h2 { scroll-margin-top: 8.4rem; }
.prose-p { margin: 0 0 0.8rem; color: var(--ink-soft); line-height: 1.65; }
.copy-block .prose-p:last-of-type { margin-bottom: 0.2rem; }
.prose-lead { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.prose-p--open {
  font-size: 1.08rem; padding-bottom: 0.8rem; margin-bottom: 0.85rem;
  border-bottom: 1px dashed var(--gold-deep);
}
.story .bullets { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.story .bullets li {
  position: relative; background: var(--gold-soft); border-radius: 12px;
  padding: 0.6rem 0.8rem 0.6rem 1.9rem;
}
.story .bullets li::before {
  content: ""; position: absolute; left: 0.75rem; top: 0.95rem;
  width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold-deep);
}
.story .table-scroll { border: 1px solid var(--line); border-radius: 14px; }
.story .stamp-card { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; margin-bottom: 0.8rem; }
.split > * { min-width: 0; }
.split-fig { margin: 0; border-radius: 18px; overflow: hidden; background: var(--gold-soft); }
.split-fig img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; aspect-ratio: 16 / 9; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.8rem; }
.stamp-card {
  background: var(--white); border-radius: 16px; padding: 0.85rem 0.9rem 1rem;
  border-top: 6px solid var(--gold); min-width: 0;
}
.stamp-card svg {
  width: 22px; height: 22px; display: block; margin: 0 0 0.5rem;
  padding: 0.45rem; box-sizing: content-box; background: var(--gold); border-radius: 10px;
}
.stamp-card h3 { margin: 0; font-size: 1.02rem; }
.stamp-card p { margin: 0.3rem 0 0; color: var(--ink-soft); }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.step-list li {
  background: var(--white); border-radius: 16px; padding: 0.8rem 0.75rem 0.9rem;
  position: relative; border: 1px dashed var(--gold-deep);
}
.step-list li::before {
  content: attr(data-step); display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700;
  border-radius: 8px; min-width: 2rem; height: 1.6rem; margin-bottom: 0.4rem;
}
.step-list strong { display: block; }
.bullets { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.about-board {
  margin: 1.15rem 0 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 1.15rem 1.15rem 1.25rem; box-shadow: inset 0 5px 0 var(--gold);
}
.about-board h2 { margin: 0 0 0.75rem; }
.about-board .table-scroll { margin: 0; border: 1px solid var(--line); border-radius: 14px; }
.about-board th[scope="row"] { width: 32%; background: var(--gold-soft); font-family: var(--font-display); white-space: nowrap; }
.about-board td.about-offer { color: var(--green-press); font-weight: 700; }
.table-scroll { overflow-x: auto; margin-top: 0.6rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--gold-soft); }
.hop-aside { margin: 0.8rem 0 0; }

.faq details { background: var(--white); border-radius: 14px; margin: 0 0 0.45rem; border-left: 10px dotted var(--gold); }
.faq summary { cursor: pointer; min-height: 2.8rem; padding: 0.55rem 0.8rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0.9rem 0.8rem; }

.close-stub {
  position: relative; isolation: isolate; overflow: hidden; display: block;
  border-radius: 24px; margin: 1.2rem 0 0; min-height: 250px; background: #8a5a10;
}
.close-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.close-stub::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(27, 20, 8, 0.66) 0%, rgba(27, 20, 8, 0.5) 40%, rgba(27, 20, 8, 0.1) 62%, transparent 78%);
}
.close-copy {
  position: relative; z-index: 2; max-width: 30rem;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 1.6rem 1.4rem 1.5rem 1.55rem; gap: 0.65rem; color: var(--paper);
}
.close-copy h2 { margin: 0; color: var(--paper); font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -0.04em; line-height: 1.05; }
.close-copy h2::after {
  content: ""; display: block; width: 3.4rem; height: 0.22rem; margin-top: 0.55rem; border-radius: 999px; background: var(--gold);
}
.close-copy p { margin: 0; color: rgba(255, 253, 246, 0.92); max-width: 28rem; }

.app-band {
  position: relative; isolation: isolate; overflow: hidden; display: block;
  border-radius: 24px; margin: 1.15rem 0; min-height: 280px; background: #8a5a10;
}
.app-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.app-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(27, 20, 8, 0.62) 0%, rgba(27, 20, 8, 0.42) 28%, rgba(27, 20, 8, 0.16) 52%, transparent 74%);
}
.app-copy {
  position: relative; z-index: 2; max-width: 30rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 0.7rem; padding: 1.6rem 1.4rem 1.5rem 1.55rem; color: var(--paper); min-height: 280px;
}
.app-copy h2 {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0;
  color: var(--paper); font-size: clamp(1.85rem, 3vw, 2.55rem); letter-spacing: -0.04em; line-height: 1.05;
}
.app-copy h2::after {
  content: ""; flex-basis: 100%; width: 3.2rem; height: 0.22rem; border-radius: 999px; background: var(--gold);
}
.app-copy p { margin: 0; max-width: 26rem; color: rgba(255, 253, 246, 0.92); }
.app-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.app-btn {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 9.2rem; min-height: 3rem;
  padding: 0.3rem 0.95rem; border-radius: 14px; border: 1px solid rgba(255, 253, 246, 0.72);
  background: rgba(27, 20, 8, 0.45); color: var(--paper); text-decoration: none;
}
.app-btn small { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.app-btn span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.4rem; }
.crumbs a { color: var(--ink-soft); }
.sheet { background: var(--white); border-radius: 24px; padding: 1rem 1rem 0.4rem; margin-top: 1rem; border-top: 8px solid var(--gold); }
.sheet-hero { margin: 0.4rem 0 1rem; border-radius: 18px; overflow: hidden; }

.play-panel { position: relative; border-radius: 22px; overflow: hidden; min-height: 220px; display: grid; place-items: center; }
.game-page-play__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,20,8,0.72), rgba(27,20,8,0.2)); }
.play-panel .play-actions { position: relative; z-index: 1; display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 1rem; }
.play-panel .btn-outline { border-color: rgba(255, 253, 246, 0.88); color: var(--paper); background: transparent; }
#demo .play-panel { margin-top: 0.8rem; min-height: 280px; }

.demo-modal[hidden] { display: none; }
.demo-modal { position: fixed; inset: 0; z-index: 40; background: rgba(27,20,8,0.72); display: grid; place-items: center; padding: 1rem; }
.demo-dialog { width: min(960px, 100%); background: var(--ink); border-radius: 18px; overflow: hidden; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; color: var(--paper); padding: 0.5rem 0.7rem; }
.demo-dialog iframe { width: 100%; height: min(70vh, 640px); border: 0; background: #000; }

.site-footer { background: var(--gold); color: var(--ink); margin-top: 1.5rem; padding: 1.5rem 0 1.2rem; }
.foot-top {
  display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 0.85rem 1.6rem; align-items: start;
  grid-template-areas: "brand side" "cols side";
}
.foot-logo { grid-area: brand; display: inline-flex; justify-self: start; }
.foot-grid { grid-area: cols; }
.foot-side { grid-area: side; align-self: center; }
.foot-logo img { height: 42px; width: auto; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem 1rem; }
.site-footer h2 { font-size: 1rem; margin: 0 0 0.25rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 1.7rem; font-size: 0.95rem; }
.foot-side { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-lang, .foot-support {
  background: var(--white); border-radius: 12px; min-height: 2.75rem;
  display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.45rem 0.3rem 0.75rem; font-weight: 700;
}
.foot-lang { padding-inline: 0.85rem; }
.foot-support { color: var(--ink); }
.foot-support svg { flex: none; }
.foot-support__go {
  margin-left: auto; background: var(--ink); color: var(--paper); border-radius: 9px;
  min-height: 2.1rem; padding: 0 0.75rem; display: inline-flex; align-items: center;
}
.studio-row, .pay-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.15rem; }
.studio-row span {
  background: var(--ink); color: var(--paper); border-radius: 10px; padding: 0.45rem 0.7rem;
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.pay-row span {
  background: var(--white); border-radius: 999px; padding: 0.28rem 0.7rem; font-weight: 700; font-size: 0.82rem;
}
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 1.15rem; padding-top: 0.95rem; border-top: 1px solid rgba(27, 20, 8, 0.16);
}
.fine { margin: 0; font-size: 0.88rem; max-width: 46rem; }
.foot-apps { display: flex; gap: 0.55rem; flex: 1 1 18rem; justify-content: flex-end; }
.site-footer .foot-app {
  background: var(--ink); color: var(--paper); border-radius: 12px; min-height: 3.2rem; min-width: 9.5rem;
  padding: 0.4rem 1.25rem; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; line-height: 1.05; flex: 1 1 9.5rem;
}
.site-footer .foot-app small { display: block; font-weight: 400; font-size: 0.68rem; color: var(--gold-soft); }
.dock {
  display: none; position: sticky; bottom: 0; z-index: 25; background: var(--white);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.dock nav { display: grid; grid-template-columns: repeat(4, 1fr); }
.dock a { text-align: center; text-decoration: none; color: var(--ink); font-weight: 700; min-height: 3rem; display: grid; place-items: center; font-size: 0.85rem; }
.dock a[aria-current="page"] { background: var(--gold); }
.to-top {
  position: fixed; right: 0.8rem; bottom: 4.4rem; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--gold); display: none; place-items: center;
}
.to-top.is-on { display: grid; }

.reveal { animation: rise 0.6s ease both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

@media (min-width: 981px) {
  .mast-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .logo { justify-self: start; }
  .nav { justify-self: center; flex: none; }
  .mast-actions { justify-self: end; }
}
@media (min-width: 1120px) {
  .nav {
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    padding: 0.2rem 0.28rem; gap: 0.08rem;
  }
  .nav a { padding: 0 0.55rem; }
  .nav-item:has(.nav-toggle) > a { padding-right: 0.2rem; border-radius: 999px 0 0 999px; }
  .nav-item:has(.nav-toggle) > .nav-toggle { border-radius: 0 999px 999px 0; }
}

@media (max-width: 980px) {
  .poster-bay { grid-template-columns: repeat(3, 1fr); }
  .stamp-row { grid-template-columns: repeat(4, 1fr); }
  .sport-row { grid-template-columns: repeat(3, 1fr); }
  .event-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list { grid-template-columns: 1fr 1fr; }
  .hero-slab, .split, .close-stub { grid-template-columns: 1fr; }
  .hero-bg { object-position: 82% bottom; }
  .hero-slab::before { display: none; }
  .hero-copy {
    max-width: none; margin: 0.65rem; padding: 1rem 0.95rem 1.05rem; border-radius: 18px;
    background: rgba(27, 20, 8, 0.9);
  }
  .offer-slab { flex-basis: 100%; }
  .foot-top { grid-template-columns: 1fr; grid-template-areas: "brand" "cols" "side"; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .mast-actions .btn-outline { display: none; }
  .nav-mobile {
    display: none; position: fixed; inset: 0; background: rgba(27,20,8,0.45); z-index: 40;
  }
  .nav-mobile.is-open { display: block; }
  .nav-backdrop { position: absolute; inset: 0; border: 0; background: transparent; width: 100%; }
  .nav-mobile .drawer {
    position: relative; z-index: 1;
    background: var(--paper); width: min(400px, 100%); height: 100%; overflow: auto; padding: 1rem 0.85rem 1.4rem;
    border-right: 1px solid var(--line);
  }
  .nav-mobile .nav { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .nav-mobile .nav-item {
    display: grid; grid-template-columns: 1fr auto; background: var(--white);
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  }
  .nav-mobile .nav-item > a { min-height: 2.9rem; padding: 0 0.9rem; border-radius: 0; justify-content: flex-start; }
  .nav-mobile .nav-toggle { width: 2.7rem; min-height: 2.9rem; border-radius: 0; border-left: 1px solid var(--line); }
  .nav-mobile .nav-sub {
    position: static; box-shadow: none; display: none; grid-column: 1 / -1;
    border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--gold-soft); min-width: 0;
  }
  .nav-mobile .nav-sub::before { display: none; }
  .nav-mobile .nav-item.is-open .nav-sub { display: grid; }
}

@media (max-width: 800px) {
  .poster-bay { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 1fr; }
  .event-card { min-height: 11.5rem; }
  .note-grid, .card-grid, .note { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; align-items: stretch; }
  .foot-apps { width: 100%; justify-content: stretch; }
  .note img { width: 100%; height: 180px; }
  .dock { display: block; }
  .stamp, .sport-tile, .btn, .foot-support, .foot-app, .foot-lang { min-height: 2.5rem; }
  .logo img { height: 36px; }
  .mast-main { gap: 0.4rem; min-height: 3.6rem; }
  .drawer .drawer-login { margin-top: 0.8rem; width: 100%; }
  .close-stub::before, .app-band::before { display: none; }
  .close-bg, .app-bg { object-position: 84% bottom; }
  .close-copy, .app-copy {
    max-width: none; margin: 0.65rem; border-radius: 18px; background: rgba(27, 20, 8, 0.9);
  }
  .app-copy { min-height: 0; }
  th, td { padding: 0.45rem 0.5rem; font-size: 0.92rem; hyphens: auto; }
  .to-top { bottom: 4.6rem; }
  .fine { padding-right: 3rem; }
}

@media (max-width: 380px) {
  th, td { font-size: 0.84rem; padding: 0.4rem; }
  .stamp-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  .tape-track, .wins-track { animation: none; }
  .wins-viewport { overflow-x: auto; }
  .offer-track { scroll-behavior: auto; }
  html { scroll-behavior: auto; }
}
