/* =========================================================
   VALVERKET — styles.css
   Static one-page casino product site. No build step.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0c10;
  --bg-2: #0d1016;
  --surface: #12151c;
  --surface-2: #181c25;
  --surface-3: #202532;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  --text: #f3f1ec;
  --muted: #a3a8b4;
  --faint: #767c8a;

  --brass: #d9b36a;
  --brass-2: #b8904a;
  --brass-ink: #1a140a;
  --brass-soft: rgba(217, 179, 106, 0.13);
  --steel: #8fb6d4;
  --steel-soft: rgba(143, 182, 212, 0.12);
  --ok: #86cfa9;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(84px, 10vw, 144px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-deep: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--brass); color: var(--brass-ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.text-link {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--text); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 56ch;
}

.fineprint {
  color: var(--faint);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-h);
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brass);
  color: var(--brass-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: #e6c27c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px rgba(217, 179, 106, 0.55);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: rgba(217, 179, 106, 0.6); background: var(--brass-soft); }

.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.btn-lg { --btn-h: 54px; padding: 0 28px; font-size: 1.025rem; }
.btn-sm { --btn-h: 40px; padding: 0 16px; font-size: 0.925rem; }
.btn-block { width: 100%; }

.age-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px; height: 34px;
  padding: 0 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.age-badge--lg { min-width: 52px; height: 52px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(10, 12, 16, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; color: var(--brass); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 72;
}

.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--brass);
}

.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 18px; }
.nav-toggle-bar:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(217, 179, 106, 0.12), transparent 70%),
    radial-gradient(45% 50% at 95% 90%, rgba(143, 182, 212, 0.09), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero-copy { max-width: 620px; }

.hero-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.hero-line { display: block; }

.hero-lead {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.075rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 50ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--faint);
  font-size: 0.925rem;
}
.hero-note .age-badge { color: var(--muted); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.dial {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  animation: dial-turn 120s linear infinite;
}
.dial-ring { fill: none; }
.dial-ring--ticks {
  stroke: rgba(217, 179, 106, 0.4);
  stroke-width: 10;
  stroke-dasharray: 1.2 8.75;
}
.dial-ring--major {
  stroke: rgba(217, 179, 106, 0.75);
  stroke-width: 18;
  stroke-dasharray: 2 97.5;
}
.dial-ring--inner {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}
@keyframes dial-turn { to { transform: rotate(360deg); } }

.ui-window {
  position: absolute;
  left: 13%; right: 13%; top: 16%;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(32, 37, 50, 0.92), rgba(18, 21, 28, 0.96));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ui-dots { display: flex; gap: 5px; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.ui-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.ui-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--steel), #4d6d86);
}

.ui-balance {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 2px;
}
.ui-label { color: var(--faint); font-size: 0.75rem; line-height: 1.3; }
.ui-amount {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.ui-chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--brass);
  color: var(--brass-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.ui-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--faint);
}
.ui-tabs span { flex: 1; text-align: center; padding: 5px 0; border-radius: var(--radius-pill); }
.ui-tabs .is-active { background: var(--surface-3); color: var(--text); }

.ui-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}
.ui-tile span {
  position: absolute;
  left: 8px; bottom: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.float-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(24, 28, 37, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: float 7s ease-in-out infinite;
}
.float-value { font-weight: 600; font-size: 0.9rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.float-value small { color: var(--faint); font-weight: 500; font-size: 0.75rem; }

.float-card--session { left: 0; top: 7%; width: 42%; max-width: 190px; }
.float-card--session .float-value { margin: 2px 0 8px; }
.progress, .meter {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress i, .meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--steel), var(--brass));
}

.float-card--payment {
  right: 0; bottom: 18%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: -2.5s;
}
.check {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(134, 207, 169, 0.14);
  color: var(--ok);
  flex-shrink: 0;
}
.check svg { width: 18px; height: 18px; }

.float-card--game {
  left: 4%; bottom: 3%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: -5s;
}
.float-game-art { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Art (CSS-only game visuals) ---------- */
.art { background-color: #151821; }

.art-1 {
  background:
    radial-gradient(circle at 50% 62%, #f5d894 0 11%, #d9b36a 12%, transparent 13%),
    repeating-radial-gradient(circle at 50% 62%, rgba(217, 179, 106, 0.32) 0 1px, transparent 1.5px 16px),
    linear-gradient(165deg, #1b2240 0%, #0c0f1a 75%);
}
.art-2 {
  background:
    radial-gradient(ellipse 75% 45% at 50% 105%, transparent 0 62%, rgba(217, 179, 106, 0.7) 62.5% 63.5%, transparent 64%),
    radial-gradient(ellipse 55% 30% at 50% 105%, transparent 0 60%, rgba(255, 255, 255, 0.18) 61% 62%, transparent 63%),
    radial-gradient(ellipse at 50% 110%, #22634b 0%, #123429 55%, #0a1814 100%);
}
.art-3 {
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 196, 120, 0.55) 0 5%, transparent 12%),
    radial-gradient(circle at 70% 22%, rgba(255, 150, 140, 0.4) 0 4%, transparent 11%),
    radial-gradient(circle at 82% 60%, rgba(255, 210, 150, 0.35) 0 6%, transparent 14%),
    radial-gradient(circle at 35% 75%, rgba(230, 140, 110, 0.3) 0 7%, transparent 16%),
    linear-gradient(160deg, #3a1a24 0%, #1a0e14 70%);
}
.art-4 {
  background:
    linear-gradient(115deg, transparent 20%, rgba(110, 230, 190, 0.45) 38%, transparent 55%),
    linear-gradient(100deg, transparent 35%, rgba(120, 150, 255, 0.35) 55%, transparent 72%),
    radial-gradient(circle at 80% 18%, #fff 0 0.6%, transparent 1%),
    radial-gradient(circle at 20% 12%, #fff 0 0.5%, transparent 1%),
    radial-gradient(circle at 60% 8%, #fff 0 0.4%, transparent 0.9%),
    linear-gradient(180deg, #0b1424 0%, #0f2a2e 100%);
}
.art-5 {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 170, 90, 0.45), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2b3038 0%, #121419 80%);
}
.art-6 {
  background:
    radial-gradient(circle at 50% 55%, #0f1116 0 12%, var(--brass) 12.5% 14%, transparent 14.5%),
    radial-gradient(circle at 50% 55%, transparent 0 40%, rgba(217, 179, 106, 0.8) 40.5% 42%, #14161c 42.5%),
    repeating-conic-gradient(from 0deg at 50% 55%, #a3323a 0 10deg, #16181e 10deg 20deg);
}
.art-7 {
  background:
    linear-gradient(12deg, transparent 38%, rgba(255, 255, 255, 0.85) 38.5% 60%, transparent 60.5%) 58% 60% / 34% 60% no-repeat,
    linear-gradient(-8deg, transparent 38%, rgba(255, 255, 255, 0.55) 38.5% 60%, transparent 60.5%) 40% 58% / 34% 60% no-repeat,
    linear-gradient(0deg, rgba(143, 182, 212, 0.18) 1px, transparent 1px) 0 0 / 100% 18px,
    linear-gradient(170deg, #17324a 0%, #0b1622 80%);
}
.art-8 {
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(8, 6, 16, 0.75) 75%),
    conic-gradient(from 22deg at 50% 50%, #3a2a5c, #8a6ac4, #2a1f45, #b596e6, #3a2a5c, #6d52a3, #2a1f45, #9f82d8, #3a2a5c);
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.975rem;
  text-align: left;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-copy { display: grid; gap: 22px; }
.about-copy > p:last-child { color: var(--muted); max-width: 58ch; }

.spec-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
}
.spec-group {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.spec-group:first-child { padding-top: 0; }
.spec-heading {
  color: var(--brass);
  font-size: 0.925rem;
  font-weight: 500;
  padding-top: 2px;
}
.spec-list { display: grid; gap: 6px; font-size: 1.05rem; }
.spec-note { margin-top: 20px; color: var(--faint); font-size: 0.85rem; }

/* ---------- Casino ---------- */
.casino { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.filter-btn[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease);
}
.game-card[hidden] { display: none; }
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 179, 106, 0.4);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}
.game-art {
  aspect-ratio: 4 / 3.4;
  transition: transform 0.6s var(--ease);
}
.game-card:hover .game-art { transform: scale(1.05); }
.game-meta {
  position: relative;
  padding: 16px 18px 18px;
  background: var(--surface);
}
.game-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.game-cat { color: var(--faint); font-size: 0.9rem; margin-top: 2px; }
.game-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 16, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
}
.game-badge--new { background: var(--brass); color: var(--brass-ink); border-color: transparent; }

.casino .fineprint { margin-top: 24px; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--bg);
  transition: background-color 0.3s var(--ease);
}
.feature:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--brass-soft);
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.feature:hover .feature-icon { transform: translateY(-3px); }
.feature h3 { font-size: 1.15rem; font-weight: 600; }
.feature p { color: var(--muted); max-width: 36ch; }

/* ---------- Payments ---------- */
.payments { background: var(--bg-2); border-block: 1px solid var(--line); }
.payments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.payments-copy { display: grid; gap: 22px; }

.check-list { display: grid; gap: 14px; margin-top: 6px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23d9b36a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--brass-soft);
}
.check-list strong { color: var(--text); font-weight: 600; }

.pay-mock {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
}
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pay-title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.pay-step { color: var(--faint); font-size: 0.85rem; }

.pay-fieldset { display: grid; gap: 10px; }
.pay-legend { color: var(--muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 10px; padding: 0; }

.pay-option { position: relative; display: block; cursor: pointer; }
.pay-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pay-option-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s, background-color 0.2s;
}
.pay-option-body::after {
  content: "";
  margin-left: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  transition: border 0.2s;
}
.pay-option:hover .pay-option-body { border-color: var(--line-strong); }
.pay-option input:checked + .pay-option-body {
  border-color: rgba(217, 179, 106, 0.7);
  background: var(--brass-soft);
}
.pay-option input:checked + .pay-option-body::after { border: 5px solid var(--brass); }
.pay-option input:focus-visible + .pay-option-body { outline: 2px solid var(--brass); outline-offset: 2px; }
.pay-option-text { display: grid; line-height: 1.3; }
.pay-option-text strong { font-weight: 600; }
.pay-option-text small { color: var(--faint); font-size: 0.82rem; }

.pay-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background-color: var(--surface-3);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  flex-shrink: 0;
}
.pay-icon--bank { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f1ec' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10 12 4l9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E"); }
.pay-icon--transfer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f1ec' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14 4l4 4-4 4M20 16H6M10 12l-4 4 4 4'/%3E%3C/svg%3E"); }
.pay-icon--card { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f1ec' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }

.pay-amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.amount-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.amount-chip {
  min-height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.amount-chip:hover { color: var(--text); border-color: var(--line-strong); }
.amount-chip[aria-pressed="true"] { color: var(--text); border-color: rgba(217, 179, 106, 0.7); background: var(--brass-soft); }
.pay-foot { text-align: center; color: var(--faint); font-size: 0.85rem; margin-top: -8px; }

/* ---------- Responsible gaming ---------- */
.rg-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(143, 182, 212, 0.1), transparent 60%),
    linear-gradient(180deg, #121821, #0e1219);
  border: 1px solid rgba(143, 182, 212, 0.2);
}
.rg-copy { display: grid; gap: 20px; }
.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--steel);
  font-weight: 600;
  font-size: 1rem;
}
.rg-list { display: grid; gap: 10px; padding-left: 0; }
.rg-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}
.rg-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.72em;
  width: 8px; height: 1.5px;
  background: var(--steel);
}
.rg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.rg-help { color: var(--muted); font-size: 0.95rem; max-width: 56ch; }
.rg-help a, .footer-rg-help a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.rg-help a:hover, .footer-rg-help a:hover { color: var(--text); }

.controls-mock {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-xl);
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid var(--line-strong);
}
.controls-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.controls-title { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.controls-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--steel-soft);
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 600;
}
.controls-list { display: grid; gap: 4px; }
.control-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.control-name { font-weight: 500; }
.control-value { color: var(--muted); font-size: 0.925rem; font-variant-numeric: tabular-nums; }
.control-row .meter { grid-column: 1 / -1; }
.control-row .meter i { background: var(--steel); }
.control-row--toggle { grid-template-columns: 1fr auto auto; }
.toggle {
  width: 40px; height: 24px;
  border-radius: 12px;
  background: var(--surface-3);
  position: relative;
}
.toggle i {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.2s;
}
.toggle.is-on { background: var(--steel); }
.toggle.is-on i { transform: translateX(16px); background: #0e1219; }
.controls-btn { pointer-events: none; }
.controls-note { color: var(--faint); font-size: 0.83rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.section-head--side { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font-size: inherit; font-weight: inherit; }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-btn:hover { color: var(--brass); }
.faq-icon {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background-color 0.2s, border-color 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s;
}
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-panel-inner p { color: var(--muted); padding: 0 56px 26px 0; max-width: 64ch; }
.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0s;
}

/* ---------- Final CTA ---------- */
.final-cta { padding-top: 0; }
.cta-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 64px);
  text-align: center;
  border-radius: calc(var(--radius-xl) + 8px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 90% at 50% 100%, rgba(217, 179, 106, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.cta-dial {
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: min(760px, 140%);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.cta-lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(56px, 7vw, 88px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 32ch; font-size: 0.975rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-heading { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brass); }

.footer-rg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-rg-badge > span:nth-child(2) { color: var(--faint); }
.footer-rg-help { color: var(--muted); font-size: 0.925rem; max-width: 62ch; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  color: var(--faint);
  font-size: 0.85rem;
}
.footer-legal p:first-child { max-width: 70ch; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 20px;
  width: min(680px, calc(100% - 32px));
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 16px 16px 22px;
  border-radius: var(--radius-lg);
  background: rgba(24, 28, 37, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  animation: cookie-in 0.45s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-leaving { animation: cookie-out 0.3s var(--ease) both; }
.cookie-text { color: var(--muted); font-size: 0.925rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 16px); } }
@keyframes cookie-out { to { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero load sequence */
.js .hero-copy > *,
.js .hero-visual {
  animation: hero-in 0.9s var(--ease) both;
}
.js .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.js .hero-visual { animation-delay: 0.2s; animation-duration: 1.2s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }

/* =========================================================
   Responsive
   ========================================================= */

/* Large desktop */
@media (min-width: 1440px) {
  :root { --container: 1300px; }
}

/* Tablet & below: collapse navigation */
@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { margin-left: 0; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 24px var(--gutter) 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    background: rgba(10, 12, 16, 0.98);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 18px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text);
  }
  .nav-link:hover { background: none; color: var(--brass); }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--brass); }
  .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-mobile-actions .btn { --btn-h: 52px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 520px; }

  .trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-item:nth-child(4) { border-left: 0; }
  .trust-item:nth-child(n + 4) { border-top: 1px solid var(--line); }

  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid,
  .payments-grid,
  .rg-panel { grid-template-columns: 1fr; }
  .spec-card { max-width: 640px; }
  .pay-mock, .controls-mock { max-width: 560px; width: 100%; }

  .faq-grid { grid-template-columns: 1fr; }
  .section-head--side { position: static; }

  .footer-top { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }

  .header-inner { gap: 12px; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 26px; height: 26px; }
  .header-actions .btn { --btn-h: 40px; padding: 0 14px; font-size: 0.9rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .nav-toggle-bar { left: 12px; right: 12px; }
  .nav-toggle-bar:nth-child(1) { top: 16px; }
  .nav-toggle-bar:nth-child(2) { top: 24px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 20px; }

  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual { max-width: 440px; aspect-ratio: auto; padding: 58px 0 64px; }
  .dial { inset: auto; left: 50%; top: 50%; width: 118%; height: auto; transform: translate(-50%, -50%); animation: none; }
  .ui-window { position: relative; left: auto; right: auto; top: auto; margin-inline: 7%; padding: 12px; }
  .float-card--session { top: 0; left: 0; }
  .float-card--payment { bottom: 34px; right: 0; }
  .float-card--game { bottom: 0; left: 0; }
  .float-card { padding: 9px 11px; }
  .float-card--session { width: 46%; }
  .float-value { font-size: 0.8rem; }
  .ui-label { font-size: 0.68rem; }

  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-item { justify-content: flex-start; padding: 18px 12px; font-size: 0.925rem; }
  .trust-item:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n + 2) { border-top: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-item:last-child { grid-column: 1 / -1; border-left: 0; }

  .spec-group { grid-template-columns: 1fr; gap: 8px; }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-meta { padding: 12px 12px 14px; }
  .game-title { font-size: 1.02rem; }
  .game-cat { font-size: 0.82rem; }
  .game-badge { top: 8px; left: 8px; font-size: 0.72rem; padding: 4px 8px; }

  .feature-grid { grid-template-columns: 1fr; }

  .amount-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .rg-panel { padding: 24px 18px; border-radius: var(--radius-xl); }
  .rg-actions .btn { flex: 1 1 100%; --btn-h: 52px; }

  .faq-panel-inner p { padding-right: 0; }
  .faq-btn { padding: 20px 0; }

  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-col a { display: inline-block; padding-block: 3px; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    bottom: 12px;
    padding: 18px;
  }
  .cookie-actions .btn { flex: 1; --btn-h: 46px; }
}

@media (max-width: 359px) {
  .header-actions { display: none; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-item:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
  .nav-toggle { margin-left: auto; }
  .game-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .dial { animation: none; }
}
