:root {
  --ink: #070508;
  --surface: #0e0b10;
  --panel: #151018;
  --line: rgba(255, 214, 228, 0.12);
  --rose: #ff2d6a;
  --rose-hot: #ff5a8a;
  --rose-deep: #c4184d;
  --gold: #f0c56d;
  --text: #f7f1f4;
  --muted: #b5a8b0;
  --white: #ffffff;
  --radius: 12px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(255, 45, 106, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(240, 197, 109, 0.08), transparent 50%),
    var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}

a {
  color: var(--rose-hot);
  text-decoration: none;
}

a:hover {
  color: var(--white);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--white);
}

h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rose);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(740px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 5, 8, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 5, 8, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
  object-fit: contain;
  /* logo PNG ships with a black plate — blend it into dark UI */
  mix-blend-mode: lighten;
}

.site-footer .brand-logo {
  width: 132px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rose-hot);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.74rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-hot), var(--rose) 48%, var(--rose-deep));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(255, 45, 106, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7aa0, var(--rose-hot) 45%, var(--rose));
  box-shadow: 0 14px 34px rgba(255, 45, 106, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(255, 45, 106, 0.55);
  color: var(--rose-hot);
}

.btn-lg {
  padding: 0.98rem 1.65rem;
  font-size: 1.04rem;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  background: #000;
}

.hero-join {
  display: flex;
  align-items: flex-end;
  position: relative;
  min-height: calc(100svh - var(--header-h));
  cursor: pointer;
}

.hero-offer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  cursor: pointer;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.08);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.hero-join::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 5, 8, 0.35) 0%, rgba(7, 5, 8, 0.55) 42%, rgba(7, 5, 8, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 5, 8, 0.78) 0%, rgba(7, 5, 8, 0.35) 48%, rgba(7, 5, 8, 0.55) 100%);
  pointer-events: none;
}

.hero-join::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.hero-content {
  position: relative;
  width: min(620px, 100%);
  pointer-events: none;
}

.hero-logo {
  width: min(320px, 72vw);
  height: auto;
  margin-bottom: 1.35rem;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55));
  animation: logoIn 0.9s var(--ease) both;
}

.hero h1 {
  margin-bottom: 1rem;
  max-width: 13ch;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  font-size: 1.1rem;
  color: #d8ccd2;
  max-width: 34rem;
  margin-bottom: 1.85rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.hero-ctas .btn {
  pointer-events: auto;
  position: relative;
  z-index: 4;
}

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.4%, -1%, 0); }
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sections */
.section {
  padding: 5.25rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 45, 106, 0.04), transparent 40%), var(--surface);
  border-block: 1px solid var(--line);
}

.section-intro {
  padding-top: 3.25rem;
  padding-bottom: 2.25rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.1rem;
}

.section-cta {
  margin-top: 2rem;
}

.prose-stack h3 {
  margin-top: 1.75rem;
  color: var(--rose-hot);
}

.prose-stack h3:first-child {
  margin-top: 0;
}

.prose-gap {
  margin-top: 2rem;
}

/* Overview table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.info-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.info-table thead th {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 45, 106, 0.08);
}

.info-table tbody th {
  color: var(--white);
  font-weight: 700;
  width: 34%;
}

.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td {
  border-bottom: 0;
}

.info-table td {
  color: var(--muted);
}

/* Games */
.game-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.game-tile {
  display: block;
  color: var(--text);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.game-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 45, 106, 0.55);
  box-shadow: 0 18px 40px rgba(255, 45, 106, 0.18);
  color: var(--white);
}

.game-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.game-tile:hover img {
  transform: scale(1.06);
}

.game-tile span {
  display: block;
  padding: 0.8rem 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.94rem;
}

/* Bonuses */
.bonus-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.bonus-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 1.25rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.bonus-row h3 {
  margin: 0;
  color: var(--rose-hot);
}

.bonus-row p {
  margin: 0;
}

/* Payments */
.pay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.pay-list li {
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.pay-list li:hover {
  border-color: rgba(255, 45, 106, 0.4);
  background: rgba(255, 45, 106, 0.06);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.steps {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.7rem;
}

.steps strong {
  color: var(--text);
}

.split-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 45, 106, 0.18), transparent 45%);
  pointer-events: none;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Play banner */
.play-banner {
  text-align: center;
  padding: 3.4rem 2rem;
  border: 1px solid rgba(255, 45, 106, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(255, 45, 106, 0.22), transparent 70%),
    var(--panel);
}

.play-banner .hero-ctas {
  justify-content: center;
}

.play-banner p {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 1.05rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1.05rem 0;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--rose);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0;
  padding-bottom: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(255, 45, 106, 0.18), transparent 65%),
    var(--ink);
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--rose-hot);
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.5;
}

/* Footer */
.site-footer {
  padding: 3.75rem 0 0;
  border-top: 1px solid var(--line);
  background: #050406;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr auto;
  gap: 2rem;
}

.footer-grid h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.footer-grid a:hover {
  color: var(--rose-hot);
}

.footer-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--rose);
  color: var(--rose-hot);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-base p {
  margin: 0;
  font-size: 0.9rem;
}

/* Reveal motion — never hide images if JS is delayed/blocked */
.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .hero-logo,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .game-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .pay-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-badges {
    align-items: flex-start;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 820px) {
  .wrap,
  .wrap.narrow {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .header-inner {
    width: min(1180px, calc(100% - 1rem));
    gap: 0.65rem;
  }

  .brand-logo {
    width: 118px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 0;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.45rem;
  }

  .header-actions .btn {
    padding: 0.62rem 0.95rem;
    font-size: 0.88rem;
  }

  .site-header.is-open {
    height: auto;
    min-height: var(--header-h);
    background: rgba(7, 5, 8, 0.98);
  }

  .site-header.is-open .header-inner {
    flex-wrap: wrap;
    padding-bottom: 1rem;
    height: auto;
    min-height: var(--header-h);
  }

  .site-header.is-open .site-nav {
    display: flex;
    order: 4;
    width: 100%;
    margin: 0.35rem 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-header.is-open .site-nav a {
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }

  .site-header.is-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .hero-join {
    min-height: calc(88svh - var(--header-h));
  }

  .hero-panel {
    width: min(1180px, calc(100% - 1.5rem));
    padding: clamp(3rem, 12vw, 5rem) 0 2.75rem;
  }

  .hero-logo {
    width: min(240px, 68vw);
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  .hero-ctas {
    gap: 0.65rem;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
  }

  .bonus-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .info-table th,
  .info-table td {
    padding: 0.85rem 0.9rem;
    font-size: 0.94rem;
  }

  .play-banner {
    padding: 2.4rem 1.25rem;
    border-radius: 16px;
  }

  .page-hero {
    padding: 3.25rem 0 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .wrap,
  .wrap.narrow,
  .hero-panel {
    width: min(1140px, calc(100% - 1.15rem));
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-intro {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }

  .section-head {
    margin-bottom: 1.4rem;
  }

  .brand-logo {
    width: 104px;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 0.58rem 0.9rem;
  }

  .hero,
  .hero-join {
    min-height: calc(78svh - var(--header-h));
  }

  .hero-join::before {
    background:
      linear-gradient(180deg, rgba(7, 5, 8, 0.45) 0%, rgba(7, 5, 8, 0.62) 38%, rgba(7, 5, 8, 0.96) 100%),
      linear-gradient(90deg, rgba(7, 5, 8, 0.72) 0%, rgba(7, 5, 8, 0.28) 55%, rgba(7, 5, 8, 0.45) 100%);
  }

  .hero-visual img {
    object-position: 62% 18%;
  }

  .hero-panel {
    padding: 2.5rem 0 2.1rem;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
  }

  .hero-ctas .btn,
  .play-banner .hero-ctas .btn,
  .section-cta .btn,
  .split-copy > .btn,
  .wrap.narrow > .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 0.92rem 1.2rem;
    font-size: 1rem;
  }

  .game-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .game-tile span {
    padding: 0.65rem 0.7rem 0.8rem;
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .pay-list {
    grid-template-columns: 1fr;
  }

  .pay-list li {
    padding: 0.95rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-badges img {
    max-width: 110px;
    height: auto;
  }

  .faq-item summary {
    padding-right: 1.5rem;
    font-size: 0.98rem;
  }

  .table-wrap {
    margin-inline: -0.15rem;
    border-radius: 10px;
  }

  .info-table {
    min-width: 0;
  }

  .info-table tbody th {
    width: 40%;
  }
}

@media (max-width: 400px) {
  .game-tile span {
    font-size: 0.78rem;
    padding: 0.55rem 0.55rem 0.7rem;
  }

  .header-actions .btn-primary {
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
  }
}

/* iOS safe areas */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer .footer-base {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}
