/* Casino Resort. One dark theme, locked: the app itself is dark only, and the
   site carries the same Midnight Velvet palette rather than inventing a
   second identity for the web. */

:root {
  --bg: #0a0d18;
  --bg-raised: #131829;
  --surface: #161c30;
  --hairline: #232a42;
  --text: #f2efe9;
  --text-dim: #8e93a6;
  --gold: #e8c77a;
  --gold-dim: #8a7444;
  --sage: #7fa98c;

  --radius: 16px;
  --measure: 62ch;
  --page: 1180px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation: one line, 68px tall. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgb(10 13 24 / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  white-space: nowrap;
}
.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero: split, not centred. */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 72px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero p {
  margin: 0 0 32px;
  max-width: 46ch;
  font-size: 19px;
  color: var(--text-dim);
}
.hero-art {
  position: relative;
  justify-self: center;
}
.hero-art img {
  width: 300px;
  border-radius: 32px;
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 90px rgb(0 0 0 / 0.55);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: -14% -10% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(232 199 122 / 0.16), transparent 62%);
  filter: blur(18px);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #14100a;
  font-weight: 650;
  font-size: 16px;
  white-space: nowrap;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgb(232 199 122 / 0.22);
}
.cta:active { transform: scale(0.985); }

.cta-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-dim);
}

/* Numbers, set as plain type rather than cards. */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 44px 0 64px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.figure strong {
  display: block;
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.figure span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
}

section { padding: 88px 0; }

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 780;
}
.lede {
  margin: 0;
  max-width: var(--measure);
  color: var(--text-dim);
  font-size: 18px;
}

/* Screens: a scrolling row of real captures. */
.screens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 268px;
  gap: 24px;
  margin-top: 44px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screens figure {
  margin: 0;
  scroll-snap-align: start;
}
.screens img {
  border-radius: 26px;
  border: 1px solid var(--hairline);
  box-shadow: 0 26px 60px rgb(0 0 0 / 0.5);
}
.screens figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
}

/* Feature pair: asymmetric, two per row, never three equal cards. */
.pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.pair h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.pair p { margin: 0 0 28px; color: var(--text-dim); max-width: 52ch; }

.status {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
}
.status div { display: grid; grid-template-columns: 3px 1fr; gap: 14px; align-items: start; }
.status i {
  display: block;
  height: 100%;
  min-height: 38px;
  border-radius: 2px;
  background: var(--gold);
  font-style: normal;
}
.status .legal i { background: var(--sage); }
.status .restricted i { background: #d9a441; }
.status .prohibited i { background: #c2705a; }
.status b { display: block; font-weight: 600; }
.status small { color: var(--text-dim); font-size: 14px; line-height: 1.5; }

/* Sources: a short definition list, not a spec table. */
.sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.sources h3 { margin: 0 0 6px; font-size: 17px; }
.sources p { margin: 0; color: var(--text-dim); font-size: 15px; }

.closing {
  display: grid;
  gap: 26px;
  justify-items: start;
  padding: 76px 40px;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--surface), var(--bg-raised));
  border: 1px solid var(--hairline);
}
.closing h2 { margin: 0; max-width: 18ch; }

footer {
  padding: 40px 0 64px;
  border-top: 1px solid var(--hairline);
  color: var(--text-dim);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--text); }

/* Long-form pages. */
.doc { padding: 64px 0 96px; max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -0.03em; margin: 0 0 10px; }
.doc .updated { color: var(--text-dim); font-size: 15px; margin: 0 0 44px; }
.doc h2 { font-size: 23px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.doc p, .doc li { color: #d8d5cf; max-width: var(--measure); }
.doc li { margin-bottom: 10px; }
.doc strong { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.shown {
  opacity: 1;
  transform: none;
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.shown { opacity: 1; transform: none; transition: none; }
  .cta { transition: none; }
  .cta:hover { transform: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; }
  .hero-art { order: -1; }
  .hero-art img { width: 220px; }
  .figures { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pair { grid-template-columns: 1fr; gap: 32px; }
  .sources { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 64px 0; }
  .closing { padding: 48px 26px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .screens { grid-auto-columns: 214px; }
}
