/* SpinBetter Germany — brand dark green base, brand yellow for actions, violet for accents.
   Single dark look, no JavaScript: all interactivity via :checked, :hover, :focus, <details>. */
:root {
  --bg: #022f2c;
  --bg-deep: #01211f;
  --surface: #053d39;
  --surface-2: #07504a;
  --line: #14605a;
  --fg: #ecf5f1;
  --muted: #a8c6be;
  --yellow: #d6e812;
  --yellow-dark: #bfd00a;
  --on-yellow: #102008;
  --violet: #8b5cf6;
  --violet-light: #c4b0ff;
  --violet-soft: #251d4a;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--yellow); }
a:focus-visible, summary:focus-visible, .nav-burger:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(2, 47, 44, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  flex-wrap: wrap;
}
.logo { display: inline-block; line-height: 0; }
.logo img { width: 137px; height: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a.btn { color: var(--on-yellow); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(214, 232, 18, 0.5);
  transition: background 0.15s, transform 0.15s, box-shadow 0.25s;
}
.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(214, 232, 18, 0.55);
}
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--violet);
}
.btn-ghost:hover { background: var(--violet); color: #fff; box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.6); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(139, 92, 246, 0.32), transparent 42%),
    radial-gradient(circle at 5% 100%, rgba(214, 232, 18, 0.10), transparent 40%),
    linear-gradient(165deg, #04403b 0%, var(--bg) 70%);
}
.hero-inner {
  padding-top: 56px;
  padding-bottom: 44px;
  display: grid;
  gap: 22px;
}
.hero h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { margin: 0; max-width: 64ch; color: var(--muted); font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-facts li {
  padding: 14px 16px;
  background: var(--violet-soft);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: default;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.hero-facts .num {
  display: block;
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-facts .hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.hero-facts li:hover, .hero-facts li:focus-visible {
  transform: translateY(-4px);
  border-color: var(--yellow);
  background: #2d2360;
}
.hero-facts li:hover .hint, .hero-facts li:focus-visible .hint { color: var(--violet-light); }

/* ---------- Provider marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.marquee span:hover { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ---------- Content ---------- */
.content {
  padding-top: 16px;
  padding-bottom: 64px;
  display: grid;
  gap: 8px;
}
.content section { padding-top: 34px; min-width: 0; scroll-margin-top: 80px; }
.band h2, .content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.band h2::after, .content h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--violet));
}
.band h3, .content h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--yellow);
  text-wrap: balance;
}
.band p, .content p { margin: 0 0 14px; max-width: 72ch; }
.band ul, .content ul, .band ol, .content ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
  max-width: 72ch;
  display: grid;
  gap: 6px;
}
.band ul li::marker, .content ul li::marker { color: var(--violet); }
.band ol li::marker, .content ol li::marker { color: var(--yellow); font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
  font-variant-numeric: tabular-nums;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th {
  background: var(--violet-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
tbody th { width: 38%; color: var(--muted); font-weight: 600; background: var(--surface); }
tbody tr { transition: background 0.15s; }
tbody tr:hover td { background: rgba(214, 232, 18, 0.07); }

/* ---------- Radio tabs (bonus, games) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}
.tabs > input, .calc-options > input, .checklist input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tabs > label {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tabs > label:hover { border-color: var(--yellow); }
.tabs > input:checked + label {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
}
.tabs > input:focus-visible + label,
.calc-options > input:focus-visible + label,
.checklist input:focus-visible + label {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
}
.panels { flex-basis: 100%; min-width: 0; margin-top: 6px; }
.panel {
  display: none;
  padding: 22px 22px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: fade 0.3s ease;
}
#bt1:checked ~ .panels #panel-bt1,
#bt2:checked ~ .panels #panel-bt2,
#bt3:checked ~ .panels #panel-bt3,
#bt4:checked ~ .panels #panel-bt4,
#g1:checked ~ .panels #panel-g1,
#g2:checked ~ .panels #panel-g2,
#g3:checked ~ .panels #panel-g3,
#g4:checked ~ .panels #panel-g4 { display: block; }
@keyframes fade { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabs-chips > label { border-color: rgba(139, 92, 246, 0.5); }
.tabs-chips > input:checked + label { background: var(--violet); border-color: var(--violet); color: #fff; }

.chips {
  list-style: none;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  max-width: none !important;
}
.chips li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-weight: 600;
  transition: border-color 0.15s, transform 0.15s;
}
.chips li:hover { border-color: var(--yellow); transform: translateY(-2px); }

/* ---------- Bonus calculator ---------- */
.calc {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet-soft), var(--surface));
  border: 1px solid rgba(139, 92, 246, 0.5);
}
.calc-title { margin: 0 0 12px !important; font-weight: 800; font-size: 1.1rem; }
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-options > label {
  min-width: 72px;
  padding: 10px 16px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 800;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s, border-color 0.15s;
}
.calc-options > label:hover { border-color: var(--yellow); }
.calc-options > input:checked + label { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.calc-results { flex-basis: 100%; margin-top: 10px; }
.calc-res {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
#c1:checked ~ .calc-results .r1,
#c2:checked ~ .calc-results .r2,
#c3:checked ~ .calc-results .r3,
#c4:checked ~ .calc-results .r4 { display: grid; animation: fade 0.3s ease; }
.calc-res > div { padding: 12px 14px; border-radius: 10px; background: rgba(1, 33, 31, 0.6); }
.calc-res dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-res dd { margin: 2px 0 0; color: var(--yellow); font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-note { margin: 12px 0 0 !important; color: var(--muted); font-size: 0.9rem; }

/* ---------- Registration checklist ---------- */
.checklist {
  list-style: none;
  padding: 0 !important;
  counter-reset: step;
  gap: 10px !important;
}
.checklist li { counter-increment: step; }
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.checklist label:hover { border-color: var(--yellow); }
.checklist label::before {
  content: counter(step);
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.9rem;
}
.checklist input:checked + label { background: rgba(214, 232, 18, 0.08); color: var(--muted); }
.checklist input:checked + label::before { content: "✓"; background: var(--yellow); color: var(--on-yellow); }
.checklist .check-done {
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--violet);
  color: #fff;
  font-weight: 800;
  animation: fade 0.3s ease;
}
.checklist .check-done a { color: var(--yellow); }
.checklist:has(#s1:checked):has(#s2:checked):has(#s3:checked):has(#s4:checked) .check-done { display: flex; }

/* ---------- Payout speed bars ---------- */
.speed {
  list-style: none;
  padding: 0 !important;
  gap: 14px !important;
}
.speed li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.15s;
}
.speed li:hover { border-color: var(--violet); }
.speed-name { font-weight: 700; }
.speed-time { color: var(--yellow); font-weight: 700; font-variant-numeric: tabular-nums; }
.speed .bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-deep);
  overflow: hidden;
}
.speed .bar::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--violet), var(--yellow));
  animation: grow 1.2s ease-out both;
}
.sp1 .bar::after { width: 92%; }
.sp2 .bar::after { width: 80%; }
.sp3 .bar::after { width: 72%; }
.sp4 .bar::after { width: 18%; }
@keyframes grow { from { transform: scaleX(0.05); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- Pros / cons ---------- */
.procon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.procon > div {
  min-width: 0;
  padding: 20px 20px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.procon > .pro:hover { transform: translateY(-3px); border-color: var(--yellow); }
.procon > .con:hover { transform: translateY(-3px); border-color: var(--violet); }
.procon .pro li::marker { content: "+  "; color: var(--yellow); font-weight: 800; }
.procon .con li::marker { content: "–  "; color: var(--violet-light); font-weight: 800; }
.procon .con h3 { color: var(--violet-light); }

/* ---------- FAQ ---------- */
details {
  max-width: 820px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
details:hover, details[open] { border-color: var(--violet); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  position: relative;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 800;
  transition: transform 0.2s;
}
details[open] summary::after { content: "–"; transform: rotate(180deg); background: var(--violet); color: #fff; }
details[open] summary { border-bottom: 1px solid var(--line); }
details p { padding: 14px 18px 4px; margin: 0 0 10px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 40px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 232, 18, 0.18), transparent 50%),
    linear-gradient(120deg, #3b2a85, var(--violet-soft));
  border: 1px solid rgba(139, 92, 246, 0.6);
}
.cta-band p { margin: 0; font-size: 1.25rem; font-weight: 800; max-width: 34ch; }

/* ---------- Inner pages ---------- */
.page-head { padding-top: 40px; }
.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  text-wrap: balance;
}
.page-head h2 { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 14px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: var(--fg); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--yellow); }
.footer-note { margin: 0; color: var(--muted); font-size: 0.85rem; }
.age {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border: 1px solid var(--violet);
  border-radius: 999px;
  color: var(--fg);
  font-weight: 700;
}

/* ---------- Scroll to top (anchor, no JS) ---------- */
.to-top {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, background 0.15s;
}
.to-top:hover { background: #7444e8; transform: translateY(-3px); }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobile: CSS-only burger menu ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .logo img { width: 120px; }
  .nav-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--fg);
    position: relative;
    transition: transform 0.2s, background 0.2s;
  }
  .nav-burger span::before { position: absolute; top: -6px; }
  .nav-burger span::after { position: absolute; top: 6px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 14px;
  }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.btn { margin-top: 10px; border-top: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }

  .hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .procon { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 16px 6px; }
  .tabs > label { padding: 9px 14px; font-size: 0.9rem; }
  .calc { padding: 18px 16px; }
  .calc-res { grid-template-columns: minmax(0, 1fr); }
  .calc-res > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .cta-band { padding: 22px 18px; }
  .cta-band .btn { flex: 1 1 100%; }
  th, td { padding: 10px 12px; }
}

@media (max-width: 380px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Layout variety: bands, hero coupon, rating rings, slot carousel,
   phone mockup, floating CTA
   ===================================================================== */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

.eyebrow {
  margin: 0;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 28px;
}
.hero-text { display: grid; gap: 20px; min-width: 0; }
.hero > .wrap:last-child { padding-bottom: 44px; }

/* Bonus coupon */
.ticket {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 26px 26px 24px;
  border-radius: 20px;
  background: linear-gradient(150deg, #e3f23a 0%, var(--yellow) 45%, #a9c40a 100%);
  color: var(--on-yellow);
  box-shadow: 0 24px 60px -20px rgba(214, 232, 18, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: rotate(2deg);
  overflow: hidden;
  transition: transform 0.35s ease;
}
.ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.ticket:hover, .ticket:focus-within { transform: rotate(0deg) scale(1.03); }
.ticket:hover::before, .ticket:focus-within::before { transform: translateX(120%); }
.ticket-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ticket-amount { font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ticket-plus { font-size: 1.3rem; font-weight: 800; }
.ticket-cut {
  position: relative;
  margin: 12px -26px;
  border-top: 2px dashed rgba(16, 32, 8, 0.35);
}
.ticket-cut::before, .ticket-cut::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #03342f;
}
.ticket-cut::before { left: -12px; }
.ticket-cut::after { right: -12px; }
.ticket-meta { font-weight: 700; opacity: 0.8; }
.ticket .btn-block {
  margin-top: 10px;
  background: var(--on-yellow);
  color: var(--yellow);
}
.ticket .btn-block:hover { background: #000; box-shadow: none; }

/* Bands */
.band { padding-top: 64px; padding-bottom: 64px; scroll-margin-top: 66px; }
.band-violet {
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.25), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.18), transparent 40%),
    var(--bg);
}
.band-deep { background: var(--bg-deep); }
.band-stripes {
  background:
    repeating-linear-gradient(135deg, rgba(214, 232, 18, 0.035) 0 14px, transparent 14px 28px),
    var(--bg);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.split-main { min-width: 0; }

/* Rating rings */
.score-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--violet-soft), var(--surface));
  border: 1px solid rgba(139, 92, 246, 0.5);
}
.score-title { margin: 0 !important; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.score-total { margin: 4px 0 18px; color: var(--muted); font-weight: 700; }
.score-total span { color: var(--yellow); font-size: 3.2rem; font-weight: 900; line-height: 1; margin-right: 4px; }
.rings {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px !important;
}
.ring { display: grid; justify-items: center; gap: 8px; cursor: default; }
.ring-val {
  --c: var(--yellow);
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background:
    radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%),
    conic-gradient(var(--c) calc(var(--p) * 1%), var(--bg-deep) 0);
  animation: ring-fill 1.4s ease-out both;
  transition: transform 0.25s;
}
.r96 .ring-val { --p: 96; }
.r94 .ring-val { --p: 94; }
.r90 .ring-val { --p: 90; }
.r75 .ring-val { --p: 75; --c: var(--violet); }
.ring:hover .ring-val, .ring:focus-visible .ring-val { transform: scale(1.1) rotate(-8deg); }
.ring-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
@keyframes ring-fill { from { --p: 0; } }

/* Bonus layout */
.bonus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.bonus-layout .tabs { margin-top: 4px; }
.bonus-layout .calc { margin-top: 4px; position: sticky; top: 90px; }
.bonus-layout .calc-res { grid-template-columns: minmax(0, 1fr); }
.bonus-layout .calc-res > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* Slot carousel: endless CSS auto-scroll, pauses on hover/touch/focus */
.slider {
  position: relative;
  margin: 26px calc(-1 * var(--gutter-r)) 30px calc(-1 * var(--gutter-l));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.slider-track {
  list-style: none;
  margin: 0 !important;
  padding: 10px 0 14px !important;
  max-width: none !important;
  display: flex !important;
  gap: 16px !important;
  width: max-content;
  animation: slots-run 70s linear infinite;
}
.slider:hover .slider-track { animation-play-state: paused; }
@keyframes slots-run { to { transform: translateX(calc(-50% - 8px)); } }

.slot {
  position: relative;
  flex: 0 0 220px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.slot:hover, .slot:focus-within {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 18px 40px -18px rgba(214, 232, 18, 0.5);
}
.slot img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  transition: transform 0.4s, filter 0.3s;
}
.slot:hover img { transform: scale(1.06); filter: brightness(0.55); }
.slot-name {
  display: block;
  padding: 10px 12px 12px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-play {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.slot:hover .slot-play, .slot-play:focus-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Login note */
.note-card {
  margin-top: 58px;
  padding: 22px;
  border-radius: 16px;
  border: 1px dashed rgba(139, 92, 246, 0.7);
  background: var(--violet-soft);
}
.note-card p:last-child { margin: 0; color: var(--muted); }
.note-title { font-weight: 800; color: var(--violet-light); margin-bottom: 8px !important; }

/* Payment mini stats */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.mini-stats div {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  transition: transform 0.2s, border-color 0.2s;
}
.mini-stats span { display: block; color: var(--fg); font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.mini-stats div:hover, .mini-stats div:focus-visible { transform: translateY(-4px); border-color: var(--yellow); }
.split .speed { margin-top: 58px; }

/* Phone mockup: interactive mini app (radio tabs), OS switch, payout toast */
.app-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.os-in, .pt-in, .pay-in { position: absolute; opacity: 0; pointer-events: none; }
.app-text { min-width: 0; }

.phone {
  --frame: #1b1b24;
  position: relative;
  width: 280px;
  max-width: 100%;
  justify-self: center;
  aspect-ratio: 9 / 19;
  padding: 11px;
  border-radius: 46px;
  background: var(--frame);
  box-shadow:
    0 0 0 2px #3a3a4c inset,
    0 0 0 1px #000,
    0 40px 80px -24px rgba(139, 92, 246, 0.6),
    0 0 60px -10px rgba(214, 232, 18, 0.15);
  transform: perspective(1200px) rotateY(14deg) rotateX(4deg) rotate(-3deg);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.5s ease, border-radius 0.3s, background 0.3s;
}
.phone:hover, .phone:focus-within { animation-play-state: paused; transform: perspective(1200px) rotateY(0) rotateX(0) rotate(0) scale(1.03); }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.ph-cam {
  position: absolute;
  left: 50%;
  top: 20px;
  z-index: 5;
  width: 86px;
  height: 24px;
  margin-left: -43px;
  border-radius: 999px;
  background: #000;
  transition: all 0.3s;
}
#os-and:checked ~ .phone { --frame: #0e1512; border-radius: 34px; }
#os-and:checked ~ .phone .phone-screen { border-radius: 24px; }
#os-and:checked ~ .phone .ph-cam { width: 14px; height: 14px; margin-left: -7px; top: 22px; }

.phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #04403b 0%, var(--bg-deep) 60%);
  font-size: 12px;
  line-height: 1.35;
  transition: border-radius 0.3s;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 4px;
  font-size: 11px;
  font-weight: 700;
}
.ph-icons { display: flex; gap: 3px; align-items: flex-end; }
.ph-icons i { display: block; width: 4px; background: var(--fg); border-radius: 1px; }
.ph-icons i:nth-child(1) { height: 5px; }
.ph-icons i:nth-child(2) { height: 8px; }
.ph-icons i:nth-child(3) { height: 11px; }

.ph-views { flex: 1; min-height: 0; overflow: hidden; padding: 14px 14px 0; }
.ph-view { display: none; flex-direction: column; gap: 10px; height: 100%; animation: ph-in 0.35s ease; }
#pt1:checked ~ .ph-views .v1,
#pt2:checked ~ .ph-views .v2,
#pt3:checked ~ .ph-views .v3,
#pt4:checked ~ .ph-views .v4 { display: flex; }
@keyframes ph-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-top img { width: 92px; }
.ph-bell {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  color: transparent;
}
.ph-bell::before {
  content: "3";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  animation: bell 2.4s ease-in-out infinite;
}
@keyframes bell { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.35); } }
.ph-chips { display: flex; gap: 6px; overflow: hidden; }
.ph-chips span { padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.ph-chips .on { background: var(--yellow); color: var(--on-yellow); }
.ph-promo {
  display: grid;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--violet), #5b2fd0);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.ph-promo span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.ph-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.ph-games { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ph-games a { display: block; border-radius: 9px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.ph-games img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.ph-games a:hover, .ph-games a:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 2px var(--yellow); }

.ph-h { margin: 0 !important; font-size: 17px; font-weight: 900; max-width: none !important; }
.ph-card { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ph-card-hot { background: linear-gradient(140deg, var(--violet-soft), var(--surface)); border-color: var(--violet); }
.ph-small { color: var(--muted); font-size: 10.5px; }
.ph-big { color: var(--yellow); font-size: 17px; font-weight: 900; }
.ph-mid { font-size: 13px; font-weight: 800; }
.ph-bar { display: block; height: 7px; margin: 6px 0 2px; border-radius: 4px; background: var(--bg-deep); overflow: hidden; }
.ph-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--violet), var(--yellow)); animation: wager 4s ease-in-out infinite; }
@keyframes wager { 0% { width: 8%; } 70%, 100% { width: 100%; } }
.ph-btn {
  display: block;
  margin-top: auto;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.ph-btn:active { transform: scale(0.95); }

.ph-pay { list-style: none; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 6px !important; max-width: none !important; }
.ph-pay li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; transition: border-color 0.15s; }
.ph-pay li:hover { border-color: var(--yellow); }
.ph-val { color: var(--yellow); }

.ph-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1d16;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.3s;
}
.ph-toast small { display: block; color: #4b5d56; font-weight: 600; font-size: 10px; }
.ph-check { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #16a34a; color: #fff; font-size: 14px; }
.pay-in:checked ~ .ph-toast { transform: none; opacity: 1; }
.pay-in:checked ~ .ph-btn { background: var(--surface-2); color: var(--muted); }
.pay-in:checked ~ .ph-toast .ph-check { animation: pop 0.45s ease 0.35s both; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }

.ph-vip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface); }
.ph-vip-ring {
  position: relative;
  flex: 0 0 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--yellow);
}
.ph-vip-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--surface) 74%, transparent 76% 100%),
    conic-gradient(var(--yellow), var(--violet), var(--yellow));
  animation: vip-spin 6s linear infinite;
}
.ph-vip { position: relative; z-index: 0; }
@keyframes vip-spin { to { rotate: 360deg; } }
.ph-support { margin-top: auto; margin-bottom: 12px; padding: 9px; border-radius: 10px; border: 1px dashed var(--violet); color: var(--violet-light); font-weight: 800; text-align: center; }

.ph-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 16px;
  background: rgba(1, 33, 31, 0.95);
  border-top: 1px solid var(--line);
}
.ph-tabbar label {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 4px 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.ph-tabbar label:hover { color: var(--fg); }
.ic { display: block; width: 18px; height: 18px; background: currentColor; transition: transform 0.2s; }
.ic1 { border-radius: 4px; clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); }
.ic2 { border-radius: 3px; clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%, 0 30%, 35% 30%, 50% 0, 65% 30%); }
.ic3 { border-radius: 4px; height: 14px; margin-top: 2px; }
.ic4 { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
#pt1:checked ~ .ph-tabbar label[for="pt1"],
#pt2:checked ~ .ph-tabbar label[for="pt2"],
#pt3:checked ~ .ph-tabbar label[for="pt3"],
#pt4:checked ~ .ph-tabbar label[for="pt4"] { color: var(--yellow); background: rgba(214, 232, 18, 0.1); }
#pt1:checked ~ .ph-tabbar label[for="pt1"] .ic,
#pt2:checked ~ .ph-tabbar label[for="pt2"] .ic,
#pt3:checked ~ .ph-tabbar label[for="pt3"] .ic,
#pt4:checked ~ .ph-tabbar label[for="pt4"] .ic { transform: translateY(-2px) scale(1.12); }

/* OS switch */
.os-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 4px 0 10px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.os-switch label { padding: 8px 22px; border-radius: 999px; font-weight: 800; cursor: pointer; text-align: center; transition: background 0.2s, color 0.2s; }
.os-switch label:hover { color: var(--yellow); }
#os-ios:checked ~ .app-text .os-switch label[for="os-ios"],
#os-and:checked ~ .app-text .os-switch label[for="os-and"] { background: var(--yellow); color: var(--on-yellow); }
.os-in:focus-visible ~ .app-text .os-switch,
.pt-in:focus-visible ~ .ph-tabbar { outline: 2px solid var(--violet-light); outline-offset: 3px; }
.app-hint { color: var(--muted); font-size: 0.9rem; }

.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.platform {
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.platform-os { color: var(--fg); font-size: 1.2rem; font-weight: 900; }
.platform:hover { transform: translateY(-4px); border-color: var(--yellow); background: var(--surface-2); }

/* FAQ grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.faq-grid details { margin: 0; max-width: none; }

/* Floating CTA */
.float-cta {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(214, 232, 18, 0.2);
  animation: bob 3s ease-in-out infinite;
  transition: background 0.15s;
}
.float-cta:hover { background: var(--yellow-dark); animation-play-state: paused; }
.float-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
}
.float-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--violet);
  animation: ping 1.6s ease-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.site-footer { padding-bottom: 72px; }

@media (max-width: 900px) {
  .hero-grid, .split, .bonus-layout, .app-grid { grid-template-columns: minmax(0, 1fr); }
  .ticket { max-width: 420px; }
  .note-card, .split .speed { margin-top: 0; }
  .bonus-layout .calc { position: static; }
  .app-grid { gap: 32px; }
}
@media (max-width: 760px) {
  .band { padding-top: 48px; padding-bottom: 48px; }
  .hero-grid { padding-top: 32px; gap: 28px; }
  .ticket { transform: none; padding: 22px 20px 20px; }
  .ticket-cut { margin: 10px -20px; }
  .slot { flex-basis: 170px; }
  .phone { transform: none; }
  .slider-track { animation-duration: 55s; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .mini-stats div { padding: 10px; }
  .mini-stats span { font-size: 1.05rem; }
  .float-cta { right: calc(76px + env(safe-area-inset-right, 0px)); }
}

/* Wheel of fortune: pseudo-random spin via cycling stacked labels, no JS */
.band-wheel {
  background:
    radial-gradient(circle at 25% 50%, rgba(214, 232, 18, 0.14), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.22), transparent 45%),
    var(--bg-deep);
}
.wheel-box {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.w-in { position: absolute; opacity: 0; pointer-events: none; }
.wheel-stage {
  position: relative;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1;
  justify-self: center;
}
.wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--violet) 0 60deg, var(--surface-2) 60deg 120deg, var(--yellow) 120deg 180deg,
    var(--violet) 180deg 240deg, var(--surface-2) 240deg 300deg, var(--yellow) 300deg 360deg);
  box-shadow: 0 0 0 8px var(--on-yellow), 0 0 0 11px var(--yellow), 0 20px 60px -10px rgba(214, 232, 18, 0.35);
  transform: rotate(0deg);
  transition: none;
}
.seg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  margin-left: -48px;
  margin-top: -0.7em;
  text-align: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  transform: rotate(var(--a)) translateY(-104px);
}
.seg0 { --a: 30deg; }
.seg1 { --a: 90deg; }
.seg2 { --a: 150deg; color: var(--on-yellow); }
.seg3 { --a: 210deg; }
.seg4 { --a: 270deg; }
.seg5 { --a: 330deg; color: var(--on-yellow); }
.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -18px;
  z-index: 3;
  width: 0;
  height: 0;
  margin-left: -16px;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--yellow);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}
.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--yellow), 0 6px 16px rgba(0, 0, 0, 0.5);
}
.wheel-hub img { width: 100%; height: 100%; object-fit: cover; }

#w1:checked ~ .wheel-stage .wheel { transform: rotate(1770deg); }
#w2:checked ~ .wheel-stage .wheel { transform: rotate(2010deg); }
#w3:checked ~ .wheel-stage .wheel { transform: rotate(1590deg); }
#w1:checked ~ .wheel-stage .wheel,
#w2:checked ~ .wheel-stage .wheel,
#w3:checked ~ .wheel-stage .wheel { transition: transform 4.2s cubic-bezier(0.15, 0.7, 0.2, 1); }

.wheel-side { display: grid; gap: 12px; min-width: 0; }
.wheel-title { margin: 0 !important; font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; line-height: 1.2; text-wrap: balance; }
.wheel-text { margin: 0 !important; color: var(--muted); }

.spin-btns { position: relative; width: 220px; height: 56px; margin-top: 6px; }
.spin-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(214, 232, 18, 0.6);
  animation: spin-cycle 0.36s infinite, spin-pulse 1.8s ease-out infinite;
}
.spin-btn:nth-child(2) { animation-delay: -0.12s, 0s; }
.spin-btn:nth-child(3) { animation-delay: -0.24s, 0s; }
.spin-btn:hover { background: var(--yellow-dark); }
@keyframes spin-cycle { 0% { visibility: visible; } 33.3% { visibility: hidden; } 100% { visibility: hidden; } }
@keyframes spin-pulse { 0% { box-shadow: 0 0 0 0 rgba(214, 232, 18, 0.6); } 100% { box-shadow: 0 0 0 18px rgba(214, 232, 18, 0); } }
.w-in:focus-visible ~ .wheel-side .spin-btns { outline: 2px solid var(--violet-light); outline-offset: 4px; border-radius: 999px; }

#w1:checked ~ .wheel-side .spin-btns,
#w2:checked ~ .wheel-side .spin-btns,
#w3:checked ~ .wheel-side .spin-btns { display: none; }

.wheel-result {
  display: none;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--violet-soft), var(--surface));
  border: 1px solid var(--violet);
  opacity: 0;
  animation: result-in 0.5s ease 4.2s forwards;
}
#w1:checked ~ .wheel-side .res-w1,
#w2:checked ~ .wheel-side .res-w2,
#w3:checked ~ .wheel-side .res-w3 { display: block; }
@keyframes result-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.res-label { margin: 0 !important; color: var(--violet-light); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.res-prize { margin: 4px 0 !important; color: var(--yellow); font-size: 1.6rem; font-weight: 900; line-height: 1.2; }
.res-note { margin: 0 0 14px !important; color: var(--muted); }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.again { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.again:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .wheel-box { grid-template-columns: minmax(0, 1fr); gap: 36px; justify-items: center; text-align: center; }
  .spin-btns { margin: 6px auto 0; }
  .res-actions { justify-content: center; }
}
@media (max-width: 400px) {
  .wheel-stage { width: 270px; }
  .seg { transform: rotate(var(--a)) translateY(-86px); font-size: 0.82rem; width: 80px; margin-left: -40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
