/* Sushi Casino test site. Look follows the dark "fintech" reference layout:
   graphite ground, raised cards with hairline borders, emerald action colour,
   gold and sky accents, Space Grotesk heads over Plus Jakarta Sans. */

@font-face { font-family: "Space Grotesk"; src: url("./fonts/space-grotesk.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("./fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --ground: #090c12;
  --card: #111722;
  --raised: #161e2e;
  --line: #222d42;
  --line-soft: rgb(34 45 66 / 0.7);
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --go: #10b981;
  --go-hover: #059669;
  --go-text: #6ee7b7;
  --gold: #f59e0b;
  --sky: #38bdf8;
  --white: #fff;

  --font-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --pad: 32px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --topbar-h: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
::selection { background: rgb(16 185 129 / 0.3); color: #a7f3d0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; color: var(--white); overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; border-radius: var(--r-sm); background: var(--go); color: var(--ground); font-weight: 700; }
.skip:focus-visible { top: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--lg { width: 20px; height: 20px; }
.is-gold { color: var(--gold); }
.is-sky { color: var(--sky); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--r); font: 700 0.9375rem/1.2 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.1s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--go { background: var(--go); color: var(--ground); box-shadow: 0 10px 24px -8px rgb(16 185 129 / 0.45); }
.btn--go:hover { background: var(--go-hover); }
.btn--ghost { background: var(--card); border-color: var(--line); color: var(--text); font-weight: 600; }
.btn--ghost:hover { background: var(--raised); border-color: #475569; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* small coloured label above a head, as in the reference */
.kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--go); margin-bottom: 6px; }
.kicker--sky { color: var(--sky); }
.kicker--gold { color: var(--gold); }

/* header */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(34 45 66 / 0.8); background: rgb(9 12 18 / 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--topbar-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; padding: 2px; border-radius: var(--r); background: linear-gradient(135deg, var(--go), #047857); box-shadow: 0 8px 20px -6px rgb(16 185 129 / 0.35); }
.brand__mark span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; background: var(--ground); color: var(--go); font: 700 0.9375rem/1 var(--font-head); letter-spacing: -0.04em; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.25rem/1 var(--font-head); letter-spacing: -0.02em; color: var(--white); white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--go); }
.brand__sub { margin-top: 4px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.topbar__nav { display: flex; gap: 28px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); }
.topbar__nav a:hover { color: var(--white); }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.drawer { display: none; position: relative; }
.drawer__toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--text-2); cursor: pointer; list-style: none; }
.drawer__toggle::-webkit-details-marker { display: none; }
.drawer__panel { position: absolute; right: 0; top: calc(100% + 12px); display: grid; gap: 6px; width: min(18rem, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgb(17 23 34 / 0.97); box-shadow: 0 24px 48px -12px rgb(0 0 0 / 0.6); }
.drawer__panel a:not(.btn) { padding: 12px; border-radius: var(--r); font-weight: 500; color: var(--text-2); }
.drawer__panel a:not(.btn):hover { background: var(--raised); }
.drawer__panel .btn { margin-top: 6px; }

/* hero */
.intro { position: relative; border-bottom: 1px solid rgb(34 45 66 / 0.6);
  background-image:
    radial-gradient(circle at 15% 10%, rgb(16 185 129 / 0.08), transparent 38%),
    radial-gradient(circle at 85% 15%, rgb(56 189 248 / 0.07), transparent 38%),
    linear-gradient(to right, rgb(34 45 66 / 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(34 45 66 / 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding-block: 80px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 14px; border: 1px solid rgb(16 185 129 / 0.3); border-radius: 999px; background: rgb(16 185 129 / 0.1); color: var(--go-text); font-size: 0.875rem; font-weight: 500; }
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--go); }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--go); animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
.intro h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.08; margin-bottom: 20px; }
.tint { background: linear-gradient(90deg, var(--go), #6ee7b7, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__lead { max-width: 42rem; margin-bottom: 32px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding-top: 24px; border-top: 1px solid rgb(34 45 66 / 0.8); }
.metrics div { display: flex; flex-direction: column-reverse; }
.metrics dt { margin-top: 2px; font-size: 0.875rem; color: var(--muted); }
.metrics dd { margin: 0; font: 700 1.5rem/1.2 var(--font-head); color: var(--white); }
.metrics dd.is-gold { color: var(--gold); }
.metrics dd.is-sky { color: var(--sky); }

.offer { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgb(17 23 34 / 0.95); box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6); }
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--go), var(--sky), var(--gold)); }
.offer__title { font-size: 1.5rem; line-height: 1.25; }
.offer__banner { display: block; margin-block: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); }
.offer__banner img { width: 100%; aspect-ratio: 1110 / 360; object-fit: cover; transition: transform 0.4s var(--ease); }
.offer__banner:hover img { transform: scale(1.03); }
.offer__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px dashed rgb(245 158 11 / 0.45); border-radius: var(--r); background: rgb(245 158 11 / 0.06); }
.offer__label { display: block; font-size: 0.75rem; color: var(--muted); }
.offer__code strong { font: 700 1.5rem/1.2 var(--font-head); letter-spacing: 0.04em; color: var(--gold); }
.offer__status { min-height: 1.5em; margin-block: 6px 10px; font-size: 0.8125rem; color: var(--go-text); }
.offer__note { margin-top: 12px; font-size: 0.75rem; text-align: center; color: var(--faint); }
html:not(.js) [data-copy] { display: none; }

/* sections */
.block { padding-block: 64px; scroll-margin-top: 80px; }
.block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 32px; }
.panel--flush { padding: 0; overflow: hidden; box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3); }

/* game tabs and tiles */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text-2); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.pills button:hover { background: var(--raised); color: var(--white); }
.pills button[aria-selected="true"] { border-color: var(--go); background: var(--go); color: var(--ground); box-shadow: 0 6px 16px -6px rgb(16 185 129 / 0.4); }
html:not(.js) .pills { display: none; }
html:not(.js) .lobby[hidden] { display: block !important; }
.lobby__nojs { margin: 32px 0 16px; font-size: 1.25rem; }
.js .lobby__nojs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.tile:hover { border-color: rgb(16 185 129 / 0.6); transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 263 / 156; object-fit: cover; }
.tile__name { padding: 14px 16px 0; font: 700 1rem/1.3 var(--font-head); color: var(--white); }
.tile__by { padding: 2px 16px 16px; font-size: 0.8125rem; color: var(--muted); }

/* facts table */
.specs { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9375rem; }
.specs thead tr { background: rgb(22 30 46 / 0.9); border-bottom: 1px solid var(--line); }
.specs thead th { padding: 16px 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.specs tbody tr { border-top: 1px solid var(--line-soft); transition: background-color 0.2s var(--ease); }
.specs tbody tr:first-child { border-top: 0; }
.specs tbody tr:hover { background: rgb(22 30 46 / 0.5); }
.specs tbody th, .specs td { padding: 16px 20px; vertical-align: top; }
.specs tbody th { width: 40%; font-weight: 500; color: var(--muted); }
.specs td { font-weight: 600; color: var(--white); }
.chip { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--white); color: var(--ground); font: 700 0.8125rem/1.2 var(--font-head); letter-spacing: 0.04em; }

/* guide: numbered timeline beside the table of contents */
.guide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.guide__steps h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.guide__intro { margin-block: 12px 28px; color: var(--muted); }
.timeline { display: grid; gap: 24px; margin-left: 14px; border-left: 1px solid var(--line); counter-reset: step; }
.timeline li { position: relative; padding-left: 28px; counter-increment: step; }
.timeline li::before { content: counter(step); position: absolute; left: -14px; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgb(16 185 129 / 0.5); border-radius: 50%; background: var(--raised); color: var(--go); font: 700 0.875rem/1 var(--font-head); }
.timeline li:first-child::before { border-color: var(--go); background: var(--go); color: var(--ground); box-shadow: 0 4px 12px -2px rgb(16 185 129 / 0.35); }
.timeline h3 { font-size: 1rem; line-height: 28px; }
.timeline p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.65; color: var(--muted); }
.guide__outro { margin-block: 28px 24px; color: var(--text-2); }
.guide__side { display: grid; gap: 16px; position: sticky; top: calc(var(--topbar-h) + 24px); }
.toc__title { margin-bottom: 16px; font-size: 1.25rem; }
.toc ol { display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: var(--text-2); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--go); font: 700 0.875rem/1.6 var(--font-head); }
.toc a:hover { background: var(--raised); color: var(--white); }
.updated { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--line); border-left: 3px solid var(--sky); border-radius: var(--r); background: var(--card); color: var(--muted); font-size: 0.875rem; }
.updated time { color: var(--white); font-weight: 600; }

/* studio and payment logos */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logo-card { display: flex; flex-direction: column; height: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color 0.2s var(--ease); }
.logo-card:hover { border-color: rgb(56 189 248 / 0.5); }
.logo-card img { width: 100%; aspect-ratio: 526 / 312; object-fit: cover; border-radius: 10px; }
.logo-card span { padding: 10px 6px 4px; font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }

/* footer */
.site-foot { margin-top: 32px; border-top: 1px solid var(--line); background: rgb(17 23 34 / 0.7); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-block: 48px 40px; border-bottom: 1px solid rgb(34 45 66 / 0.8); }
.seals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.seals a { display: grid; place-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #e2e8f0; transition: border-color 0.2s var(--ease); }
.seals a:hover { border-color: var(--go); }
.seals img { width: auto; height: 32px; }
.site-foot__links ul { display: grid; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.site-foot__links a:hover { color: var(--go); }
.site-foot__safe { display: flex; gap: 12px; align-items: flex-start; }
.age { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font: 700 0.75rem/1 var(--font-head); }
.site-foot__safe p { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.site-foot__legal { padding-block: 24px; font-size: 0.75rem; color: var(--faint); text-align: center; }

/* plain pages: 404 and the protected area */
.notice { display: grid; align-content: center; justify-items: start; gap: 20px; min-height: 100dvh; padding-block: 64px; }
.notice h1 { font-size: clamp(3rem, 2rem + 6vw, 6rem); line-height: 1; }
.notice p { max-width: 36rem; color: var(--text-2); font-size: 1.0625rem; }

@media (max-width: 80rem) {
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 64rem) {
  :root { --topbar-h: 64px; }
  .topbar__nav { display: none; }
  .drawer { display: block; }
  .intro__grid, .guide { grid-template-columns: minmax(0, 1fr); }
  .intro__grid { padding-block: 48px; }
  .guide__side { position: static; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  :root { --pad: 16px; }
  .brand__sub, .topbar__login { display: none; }
  .block { padding-block: 48px; }
  .panel { padding: 24px 20px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile__name { padding: 10px 12px 0; font-size: 0.875rem; }
  .tile__by { padding: 2px 12px 12px; font-size: 0.75rem; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .intro__actions .btn { width: 100%; }
  .metrics { gap: 12px; }
  .metrics dd { font-size: 1.125rem; }
  .specs tbody th, .specs td { display: block; width: auto; padding: 4px 16px; }
  .specs tbody th { padding-top: 14px; font-size: 0.8125rem; }
  .specs td { padding-bottom: 14px; }
  .specs thead { display: none; }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
