/* BVS iGaming — quiet frame, loud work */

:root {
  --bg: #0b0c0e;
  --surface: #131418;
  --surface-2: #1a1c21;
  --line: #25272d;
  --text: #f3f4f6;
  --muted: #8b909a;
  --accent: #d4ff3f;       /* the single bright accent */
  --accent-ink: #0b0c0e;

  --radius: 10px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 16ch; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: #c4c8d0; max-width: 46ch; }
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px;
  background: var(--accent); border-radius: 50%; vertical-align: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: #e1ff70; }
.btn:focus-visible, .ba__range:focus-visible + .ba__handle, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 39, 45, 0.6);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); --logo-sign: var(--accent); }
.brand svg { display: block; height: 26px; width: auto; }
.brand__tag { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }
.brand--sm svg { height: 20px; }

/* Hero */
.hero { padding-top: clamp(64px, 10vw, 128px); }
.hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; }
.hero__title { font-size: clamp(42px, 6.6vw, 92px); letter-spacing: -0.03em; line-height: 0.98; }
.hero__side { display: grid; gap: 32px; padding-bottom: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Thumbnail wall */
.wall {
  margin-top: clamp(56px, 8vw, 96px);
  height: clamp(380px, 48vw, 680px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}
.wall__grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  width: 112%; margin-left: -6%;
  align-items: start;
}

/* Thumbnail tile — the "system" */
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  isolation: isolate;
}
.tile__art { position: absolute; inset: 0; }
.tile__art::after {           /* key-art shape */
  content: ""; position: absolute; left: 50%; top: 40%;
  width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  border-radius: var(--shape-r, 50%);
  background: var(--shape-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.tile__shade {                /* system overlay */
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 9, 0.92) 0%, rgba(6, 7, 9, 0.55) 26%, transparent 52%);
}
.tile__meta { position: absolute; left: 9%; right: 9%; bottom: 8%; display: grid; gap: 2px; }
.tile__title { font-size: clamp(10px, 1.05vw, 15px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.tile__prov { font-size: clamp(7px, 0.62vw, 10px); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.tile__tag {
  position: absolute; top: 7%; left: 9%;
  font-size: clamp(7px, 0.6vw, 10px); font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 6px; border-radius: 4px; background: var(--accent); color: var(--accent-ink);
}

/* "Before" — inconsistent provider assets */
.tile--raw { border-radius: 0; background: #000; }
.tile--raw .tile__shade { display: none; }
.tile--raw .tile__meta { left: 6%; right: 6%; }
.raw-1 { border-radius: 0; box-shadow: inset 0 0 0 4px #fff; }
.raw-1 .tile__meta { top: 8%; bottom: auto; text-align: center; }
.raw-1 .tile__title { font-family: Georgia, serif; text-transform: uppercase; font-weight: 400; color: #ffe08a; }
.raw-2 { border-radius: 22px; }
.raw-2 .tile__art { filter: saturate(1.9) contrast(1.15); }
.raw-2 .tile__meta { display: none; }
.raw-3 .tile__art { inset: 18% 0; }
.raw-3 .tile__title { font-style: italic; font-weight: 400; font-size: clamp(8px, .7vw, 11px); }
.raw-4 .tile__meta { top: 42%; bottom: auto; text-align: center; }
.raw-4 .tile__title { font-size: clamp(13px, 1.5vw, 22px); font-weight: 800; color: #ffd400; text-shadow: 0 2px 0 #b30000, 0 4px 10px #000; transform: rotate(-6deg); }
.raw-5 { border-radius: 4px; }
.raw-5 .tile__meta { text-align: right; }
.raw-5 .tile__title { text-transform: uppercase; letter-spacing: 0.1em; font-stretch: condensed; }
.raw-5 .tile__prov { position: absolute; top: -560%; right: 0; background: #fff; color: #000; padding: 2px 5px; border-radius: 2px; }
.raw-6 .tile__art { filter: saturate(0.35) brightness(1.25); }
.raw-6 .tile__title { color: #b9bcc2; font-weight: 500; }
.tile--raw .tile__tag { display: none; }
.raw-3 .tile__tag, .raw-5 .tile__tag { display: block; background: #e02424; color: #fff; border-radius: 0; left: auto; right: 6%; }

/* Trusted by */
.trusted { padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.trusted__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trusted .eyebrow { margin: 0; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); flex: 1; min-width: 0; gap: 16px; list-style: none; margin: 0; padding: 0; }
.logos li {
  height: 48px; display: grid; place-items: center;
  border: 1px dashed var(--line); border-radius: 8px; font-size: 13px; color: #4b4f57;
}

/* Sections */
.section { padding-top: var(--section); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; }
.split--head { align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.h2--narrow { max-width: 18ch; margin-bottom: clamp(40px, 5vw, 64px); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 19px; letter-spacing: -0.01em;
}
.rows__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rows--defs li { grid-template-columns: minmax(150px, 0.8fr) 1.4fr; }
.rows--defs strong { font-weight: 600; }
.rows--defs span { color: #c4c8d0; font-size: 17px; }

/* Before / after */
.ba {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  user-select: none; touch-action: pan-y;
}
.ba__layer { padding: clamp(16px, 3vw, 40px); padding-top: clamp(56px, 6vw, 72px); }
.ba__before { background: #101114; }
.ba__after {
  position: absolute; inset: 0; background: var(--surface);
  clip-path: inset(0 0 0 var(--pos));
}
.ba__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.ba__label {
  position: absolute; top: 18px; z-index: 3;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(11, 12, 14, 0.8); color: var(--muted);
}
.ba__label--l { left: 18px; }
.ba__label--r { right: 18px; color: var(--accent); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.ba__handle span::before, .ba__handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px;
  border: 5px solid transparent;
}
.ba__handle span::before { left: 7px; border-right-color: var(--accent-ink); }
.ba__handle span::after { right: 7px; border-left-color: var(--accent-ink); }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}

/* Offer */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  display: grid; align-content: start; gap: 14px;
  padding: 32px 28px 36px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
}
.card p:last-child { color: #c4c8d0; font-size: 16px; }
.card__tier { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px !important; }
.card--flagship { border-color: var(--accent); background: linear-gradient(180deg, rgba(212, 255, 63, 0.06), transparent 60%), var(--surface); }
.card--flagship .card__tier { color: var(--accent); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 14px; align-content: start; }
.steps__n { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; color: var(--accent); line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps p { color: #c4c8d0; font-size: 16px; max-width: 34ch; }

/* Pricing */
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.price th:last-child, .price td:last-child { text-align: right; }
.price td { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
.price td:last-child { font-weight: 600; }
.price tr:last-child td:last-child { color: var(--accent); }
#pricing .small { margin-top: 24px; max-width: 40ch; }

/* Final CTA */
.final { padding: var(--section) 0; margin-top: var(--section); border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(212, 255, 63, 0.07), transparent 70%); }
.final__inner { display: grid; justify-items: center; text-align: center; gap: 28px; }
.final__title { font-size: clamp(34px, 5vw, 68px); max-width: 18ch; }
.final .lead { max-width: 52ch; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.footer__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__link:hover { color: var(--light, var(--text)); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: var(--text); }

/* Prototype-only markers — delete before launch */
.proto-note { margin-top: 14px; font-size: 12px; color: #5c6069; }
.proto .logos li { font-style: italic; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .wall__grid { grid-template-columns: repeat(5, 1fr); width: 120%; margin-left: -10%; }
  .wall__grid .tile:nth-child(n+16) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .wall__grid { grid-template-columns: repeat(4, 1fr); gap: 8px; width: 130%; margin-left: -15%; }
  .wall { height: 440px; }
  .wall__grid .tile:nth-child(n+13) { display: none; }
  .ba__grid { grid-template-columns: repeat(3, 1fr); }
  .ba__grid .tile:nth-child(n+7) { display: none; }
  .rows li { font-size: 17px; grid-template-columns: 40px 1fr; }
  .rows--defs li { grid-template-columns: 1fr; gap: 4px; }
  .trusted__inner { gap: 20px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 10px; flex-basis: 100%; }
  .logos li:nth-child(n+4) { display: none; }
  .cta-row .btn { flex: 1 1 auto; }
  .tile__title { font-size: 11px; }
  .tile__prov, .tile__tag { font-size: 7px; }
}
