:root {
  --ink: #171b16;
  --paper: #e9e8dc;
  --lime: #d7f36a;
  --orange: #ef7653;
  --muted: #5c6156;
  --line: rgba(23, 27, 22, 0.2);
  --display: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

body.modal-open { overflow: hidden; }

a { color: inherit; }

button { font: inherit; color: inherit; }

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

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 40;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 800;
}

.skip:focus { top: 12px; }

.topline {
  min-height: 35px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding: 8px 5vw;
  font: 10px/1.45 var(--mono);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

header {
  position: relative;
  padding: 22px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -1px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font: 22px var(--display);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

nav a { text-decoration: none; }

nav a:hover { opacity: 0.5; }

.nav-contact {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 5px;
}

.hero {
  min-height: 690px;
  padding: 70px 5vw 80px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.micro,
.section-label {
  font: 11px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

h1 {
  font: 800 clamp(64px, 8vw, 120px) / 0.86 var(--display);
  letter-spacing: -4px;
  margin: 0 0 28px;
  max-width: 760px;
}

h1 span {
  display: block;
  font-style: italic;
  color: #777e55;
  padding-left: 8%;
}

.hero-copy p {
  font-size: 19px;
  line-height: 1.65;
  max-width: 520px;
  color: #3f4338;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary-link,
.slot-spin {
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s;
}

.primary-link:hover,
.slot-spin:hover { background: var(--orange); transform: translateY(-2px); }

.text-link,
.text-button {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid;
  padding: 8px 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.art-circle {
  position: absolute;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  right: 8%;
  top: 6%;
}

.slot-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  padding: 22px;
  background: #20251e;
  color: #f1f0e7;
  border-radius: 7px;
  box-shadow: 18px 22px 0 rgba(23, 27, 22, 0.12);
}

.slot-top,
.slot-meta,
.slot-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.slot-top strong {
  font: 700 13px var(--mono);
  letter-spacing: 1.6px;
}

.slot-badges { display: flex; gap: 8px; align-items: center; }

.mode-badge,
.age-pill {
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 8px;
}

.age-pill {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.slot-disclaimer,
.mode-text,
.slot-note {
  color: #c5cbb8;
  font-size: 13px;
  line-height: 1.55;
}

.slot-disclaimer { margin: 14px 0; }

.mode-text { margin: 0 0 14px; }

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.reel {
  background: #e8e7da;
  display: grid;
  grid-template-rows: repeat(3, 74px);
  border-radius: 3px;
  overflow: hidden;
}

.cell { display: grid; place-items: center; }

.cell.is-line { background: rgba(215, 243, 106, 0.92); }

.reel img { width: 52px; height: 52px; }

.reel.is-spinning img { animation: reel-flicker 0.08s linear infinite; }

@keyframes reel-flicker {
  50% { transform: translateY(6px); opacity: 0.25; }
}

.slot-line-label {
  margin: 10px 0 0;
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: #b7c0a4;
  text-transform: uppercase;
}

.slot-meta {
  margin-top: 16px;
  color: #d5dcc8;
  font: 11px var(--mono);
  letter-spacing: 0.4px;
}

.slot-controls { margin-top: 16px; }

.slot-spin { background: var(--lime); color: var(--ink); }

.slot-spin:hover { background: var(--paper); color: var(--ink); }

.slot-spin:disabled,
.slot-mode:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.slot-mode {
  border: 1px solid #69725f;
  background: transparent;
  color: #d5dacb;
  padding: 12px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.slot-mode[aria-pressed="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.paytable {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #c5cbb8;
  font-size: 13px;
}

.paytable li {
  border-top: 1px solid #3c4436;
  padding: 8px 0;
}

.slot-result {
  min-height: 72px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--orange);
  background: #30372d;
  color: #e4e8da;
  font-size: 14px;
  line-height: 1.55;
}

.slot-refill {
  margin-top: 12px;
  color: var(--lime);
}

.slot-note { margin: 12px 0 0; font: 11px var(--mono); letter-spacing: 0.3px; }

.age-lock {
  margin: 12px 0 0;
  color: var(--orange);
  font-size: 14px;
}

.marquee {
  background: var(--ink);
  color: var(--lime);
  padding: 14px 5vw;
  text-align: center;
  font: 11px/1.6 var(--mono);
  letter-spacing: 1.4px;
}

.section { padding: 100px 8vw; }

.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.section-label { padding-top: 14px; }

.section h2,
.probability h2,
.warning h2,
.faq h2,
.legal h1 {
  font: 800 clamp(42px, 6vw, 78px) / 0.98 var(--display);
  letter-spacing: -2px;
  margin: 0;
}

.section h2 em,
.probability h2 span { font-weight: 600; color: #777e55; font-style: italic; }

.intro-copy,
.probability-copy p,
.warning p,
.faq-row p,
.legal p,
.legal li {
  color: #3f4338;
}

.intro-copy { max-width: 680px; font-size: 19px; line-height: 1.7; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.principle {
  padding: 28px 28px 24px 0;
  border-right: 1px solid var(--line);
  min-height: 230px;
}

.principle:not(:first-child) { padding-left: 28px; }

.principle:last-child { border-right: 0; }

.number {
  font: 12px var(--mono);
  color: var(--orange);
  margin-bottom: 28px;
}

.principle h3 {
  font: 700 28px/1.15 var(--display);
  margin: 0 0 12px;
}

.principle p {
  font-size: 15px;
  color: #4d5146;
  line-height: 1.7;
  margin: 0;
}

.probability {
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  background: #dfdfd0;
}

.probability-copy p { font-size: 18px; line-height: 1.75; margin-top: 0; }

.fact-line {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
}

.fact-line b { font: 13px var(--mono); color: var(--orange); }

.fact-line span { font-size: 15px; }

.warning {
  background: var(--orange);
  padding: 80px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.warning .micro { margin-bottom: 18px; }

.warning p { font-size: 17px; line-height: 1.75; }

.help-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.help-list a { font-weight: 700; }

.reg-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.reg-form,
.profile-card {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.reg-form label { font-size: 14px; font-weight: 700; }

.reg-form input[type="text"],
.reg-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 12px;
  border: 1px solid var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 500;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.check input { margin-top: 4px; }

.form-note,
.profile-card p { margin: 0; color: var(--muted); font-size: 14px; }

.form-status { min-height: 1.4em; font-size: 15px; font-weight: 700; }

.form-status.is-error { color: #9a3412; }

.form-status.is-ok { color: #2f5d1c; }

.profile-card {
  border: 1px solid var(--ink);
  padding: 20px;
}

.faq { background: #d9d9ca; padding: 90px 8vw; }

.faq h2 { margin-bottom: 36px; }

.faq-row {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
}

.faq-row h3 { font: 700 23px var(--display); margin: 0; }

.faq-row p { font-size: 15px; margin: 0; line-height: 1.75; }

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 8vw 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-title {
  font: 800 clamp(46px, 7vw, 84px) / 0.9 var(--display);
  letter-spacing: -3px;
}

.footer-title em { color: var(--lime); font-style: italic; }

.footer-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.footer-info p { color: #c5cbb8; max-width: 460px; font-size: 15px; margin: 0; }

.footer-email {
  font-weight: 700;
  font-size: 21px;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 4px;
  text-decoration: none;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; }

.footer-links a { font-size: 14px; color: #e4e8da; }

.footer-bottom {
  border-top: 1px solid #444b40;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px 22px;
  flex-wrap: wrap;
  color: #c5cbb8;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(23, 27, 22, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}

.age-card {
  width: min(100%, 520px);
  background: var(--paper);
  padding: 32px 28px;
}

.age-card h2 {
  font: 800 40px/1 var(--display);
  letter-spacing: -1px;
  margin: 10px 0 12px;
}

.age-card p { margin: 0 0 12px; }

.age-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.legal { padding: 64px 8vw 90px; max-width: 980px; }

.legal h1 { font-size: clamp(42px, 6vw, 68px); }

.legal h2 {
  font: 700 30px/1.2 var(--display);
  letter-spacing: -0.5px;
  margin: 36px 0 10px;
}

.legal ul { padding-left: 18px; }

.legal-meta { font: 12px var(--mono); letter-spacing: 0.4px; color: var(--muted); }

@media (max-width: 900px) {
  .hero,
  .section-head,
  .probability,
  .warning,
  .reg-layout,
  .faq-row,
  .footer-top { grid-template-columns: 1fr; }

  .hero { min-height: 0; padding-top: 48px; }
  .hero-art { min-height: 0; }
  .art-circle { width: 280px; right: 8%; top: 0; }
  .section,
  .probability,
  .warning,
  .faq { padding: 72px 7vw; }
  .principles { grid-template-columns: 1fr; }
  .principle,
  .principle:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 6vw 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  header.nav-open nav { display: flex; }

  h1 { letter-spacing: -2px; }
  .reel { grid-template-rows: repeat(3, 64px); }
  .reel img { width: 42px; height: 42px; }
  .slot-panel { padding: 16px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
