@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,560;9..144,650&display=swap");

:root {
  --bg: #d7e7f6;
  --paper: #f4f9fd;
  --paper-2: #e4eef8;
  --ink: #17324d;
  --muted: #16324a;
  --line: #c5d7e8;
  --clay: #c4784a;
  --navy: #17324d;
  --serif: "Fraunces", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(155deg, #ffffff 0%, #7eb6e0 46%, #1d4f7c 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.65;
}

body.is-locked {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.frame {
  position: relative;
  margin: 22px;
  min-height: calc(100vh - 44px);
  border: 1px solid #123a5c;
  background:
    radial-gradient(820px 380px at 100% 0%, #e8b27a 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #b7d6ef 46%, #6fa8d8 100%);
}

.spine {
  display: none;
  position: absolute;
  top: 50%;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.spine-left {
  left: 18px;
  transform: translateY(-50%) rotate(180deg);
}

.spine-right {
  right: 18px;
  transform: translateY(-50%);
}

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topline > :last-child {
  justify-self: end;
  text-decoration: none;
}

.age-pill {
  border: 1px solid var(--ink);
  padding: 2px 7px;
  letter-spacing: 0.08em;
}

.brandline {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 0 6px;
}

.logo,
.foot-logo {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo {
  font-size: 42px;
  color: inherit;
}

.reg {
  position: absolute;
  right: 0;
  top: 50%;
  max-width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav {
  padding: 8px 0 0;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  font-size: 18px;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  margin: 0 auto 8px;
  background: transparent;
  border: 1px solid var(--ink);
  min-width: 120px;
  height: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner {
  margin: 0;
  padding: 0 0 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.hero,
.page-head {
  text-align: center;
  padding: 42px 0 12px;
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  margin: 14px 0 0;
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.4vw, 44px);
  text-align: center;
}

h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.lede {
  max-width: 42rem;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 22px;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
}

a.btn,
a.btn:visited,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  background: #ffffff;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

a.btn-ink,
a.btn-ink:visited,
button.btn-ink {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

a.btn-line,
a.btn-line:visited,
button.btn-line {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

a.btn-ink:hover,
button.btn-ink:hover,
button.spin:hover:not(:disabled),
.bet-pick:hover:not(:disabled) {
  background: var(--clay);
  border-color: var(--clay);
  color: #ffffff;
}

a.btn-line:hover,
button.btn-line:hover {
  background: var(--navy);
  color: #ffffff;
}

.triad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 560px;
  margin: 28px auto 8px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.triad li {
  padding: 11px 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.triad li + li {
  box-shadow: inset 1px 0 0 var(--line);
}

.slot-host {
  margin: 8px auto 0;
}

.photo {
  margin: 26px auto 8px;
  max-width: 920px;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.prose .photo {
  max-width: 100%;
}

.success-banner {
  margin: 0 auto 18px;
  max-width: 520px;
  padding: 16px 18px;
  border: 1px solid var(--navy);
  background: #ffffff;
  color: var(--navy);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.machine {
  --cell: 96px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 16px 16px 20px;
  border: 1px solid var(--navy);
  background: linear-gradient(180deg, #ffffff, #e7f2fb);
  color: var(--ink);
}

.machine-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.machine-top span:last-child {
  color: var(--muted);
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--navy);
  background: #f7fbff;
  overflow: hidden;
}

.reel {
  position: relative;
  min-width: 0;
}

.reel + .reel {
  border-left: 1px solid var(--line);
}

.reel-window {
  position: relative;
  height: calc(var(--cell) * 3);
  overflow: hidden;
}

.reel-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 16%, transparent 84%, rgba(23, 50, 77, 0.12));
}

.cell {
  height: var(--cell);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.cell img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 10px;
}

.reel-strip.is-moving img {
  filter: blur(1.6px);
}

.cell.is-win {
  animation: win-pulse 0.55s ease 3;
}

.cell.is-win img {
  box-shadow: 0 0 0 3px var(--clay);
}

@keyframes win-pulse {
  0%,
  100% { background: transparent; }
  50% { background: rgba(196, 120, 74, 0.28); }
}

.machine.is-spinning .reel-window::after {
  animation: glass-sheen 0.7s linear infinite;
}

@keyframes glass-sheen {
  0% { background-position: 0 -40px; }
  100% { background-position: 0 40px; }
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.stats p {
  margin: 0;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.bet-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.bet-pick {
  height: 48px;
  border: 1px solid var(--navy);
  background: #ffffff;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.bet-pick.is-on {
  background: var(--navy);
  color: #ffffff;
}

.bet-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.machine-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.spin,
.machine-reset {
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
}

button.spin {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spin:disabled,
.bet-pick:disabled,
.machine-reset:disabled {
  opacity: 0.45;
  cursor: wait;
}

.status {
  min-height: 3em;
  margin: 12px 0 0;
  text-align: center;
  font-size: 18px;
}

.status.is-hit {
  color: #9a5432;
  font-weight: 600;
}

button.machine-reset {
  min-width: 0;
  padding: 0 12px;
  font-size: 16px;
}

.text-btn {
  display: block;
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover,
.legal-meta a:hover,
.site-footer a:hover,
.prose a:hover {
  color: var(--clay);
}

.machine-note,
.after-slot,
.micro {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.band {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.facts article {
  padding: 4px 22px 4px;
}

.facts article + article {
  border-left: 1px solid var(--line);
}

.num {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--clay);
}

.facts article p:last-child,
.steps p,
.harm p,
.muted {
  color: var(--muted);
}

.steps .num,
.facts .num {
  color: var(--clay);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.harm {
  max-width: 740px;
  margin: 0 auto;
  padding: 42px 34px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  text-align: center;
}

.harm h2,
.end-cta h2 {
  margin-bottom: 12px;
}

.page-head .lede {
  margin-bottom: 8px;
}

.prose {
  max-width: 68ch;
  margin: 10px auto 0;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0.85em 0;
}

.prose h2 {
  margin: 1.8em 0 0.35em;
  font-size: 32px;
}

.prose ul,
.prose ol {
  padding-left: 1.15em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose a,
.lede a,
.harm a,
.cookie a {
  text-underline-offset: 3px;
}

blockquote {
  margin: 1.3em 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

table.sheet {
  width: 100%;
  border-collapse: collapse;
}

table.sheet th,
table.sheet td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.sheet th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

table.sheet th:nth-child(n + 2),
table.sheet td:nth-child(n + 2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

table.sheet caption {
  caption-side: bottom;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.prose details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--serif);
}

details[open] summary::after {
  content: "–";
}

details p {
  color: var(--muted);
}

.resource-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.resource-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.resource-list a {
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: none;
}

.resource-list span,
.resource-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.form-card,
.profile-card {
  max-width: 480px;
  margin: 12px auto 0;
}

.field {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  text-align: left;
}

.field span,
.check {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.field span {
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #1d4f7c;
  border-radius: 0;
  background: #ffffff;
  padding: 12px 12px;
}

.field textarea {
  min-height: 140px;
  padding: 10px;
  border: 1px solid var(--ink);
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  letter-spacing: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.45;
}

.check input {
  margin-top: 4px;
  accent-color: var(--ink);
}

.form-error {
  min-height: 1.4em;
  margin: 8px 0;
  color: var(--clay);
  text-align: left;
  font-size: 15px;
}

.form-card .btn,
.profile-card .btn,
.cookie .btn {
  min-width: 0;
}

.profile-card {
  text-align: center;
}

.profile-card h2 {
  overflow-wrap: anywhere;
  font-size: 40px;
}

.mode-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0 0 18px;
}

.mode-links a {
  text-decoration: none;
}

.mode-links a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  margin-top: 12px;
  padding: 34px 0 22px;
  border-top: 1px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.15fr;
  gap: 28px 24px;
}

.foot-logo {
  margin: 0 0 8px;
  font-size: 30px;
}

.foot-title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.helpline {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.helpline a {
  text-decoration: none;
}

.helpline span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.legal-line,
.legal-meta {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.legal-line {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(243, 238, 230, 0.97);
}

.dialog {
  width: min(560px, 100%);
  text-align: center;
}

.dialog h2 {
  margin: 10px 0 8px;
  font-size: clamp(36px, 5vw, 52px);
}

.cookie {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(860px, calc(100% - 28px));
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.cookie p {
  margin: 0;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie .btn {
  height: 44px;
  padding: 0 12px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

@media (min-width: 1180px) {
  .spine {
    display: block;
  }

  .wrap {
    width: min(1040px, calc(100% - 150px));
  }
}

@media (max-width: 900px) {
  .footer-grid,
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts article:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .frame {
    margin: 0;
    border-right: 0;
    border-left: 0;
    min-height: 100vh;
  }

  .topline {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .topline > :last-child {
    justify-self: center;
  }

  .brandline {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .reg {
    position: static;
    transform: none;
    max-width: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav ul {
    display: none;
    padding-bottom: 16px;
  }

  .nav.is-open ul {
    display: grid;
    justify-items: center;
  }

  .facts,
  .steps,
  .footer-grid,
  .triad {
    grid-template-columns: 1fr;
  }

  .facts article,
  .facts article + article,
  .facts article:nth-child(3) {
    margin: 0;
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-column: auto;
  }

  .triad li + li {
    box-shadow: none;
    border-top: 1px solid var(--line);
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie .btn {
    flex: 1;
  }

  .harm {
    padding: 28px 18px;
  }

  .machine-actions {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}

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

  .reel-strip {
    transition: none !important;
  }
}

@media print {
  body {
    background: white;
  }

  .frame {
    margin: 0;
    border: 0;
  }

  .spine,
  .cookie,
  .age-gate,
  .nav-toggle,
  .cta-row,
  .spin,
  .bet-row,
  .text-btn {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }
}
