:root {
  --bg: #140810;
  --bg-2: #241018;
  --ink: #f8f1ea;
  --muted: #d4c0c6;
  --line: rgba(248, 241, 234, 0.14);
  --gold: #e4b15a;
  --gold-2: #ffe4b0;
  --magenta: #e25b7a;
  --violet: #7a5cff;
  --teal: #ffb4c8;
  --card: rgba(40, 16, 28, 0.88);
  --danger: #ff8aa2;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(226, 91, 122, 0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(122, 92, 255, 0.24), transparent 55%),
    linear-gradient(180deg, #2a1020 0%, var(--bg) 34%, #0a0608 100%);
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%);
  z-index: 0;
}
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: white; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a1008;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.compliance-bar {
  position: relative;
  z-index: 20;
  background: #2a1220;
  border-bottom: 1px solid var(--line);
  color: #ffe8ef;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 8px 16px;
}
.compliance-bar strong { color: var(--gold-2); font-weight: 650; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(20, 8, 16, 0.84);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: conic-gradient(from 140deg, var(--magenta), var(--violet), var(--gold), var(--magenta));
  box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.18);
}
.mark span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #140810;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold-2);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--serif); font-size: 18px; font-weight: 620; }
.brand-name small { color: var(--muted); letter-spacing: 0.14em; font-size: 10px; text-transform: uppercase; }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.header-actions { display: flex; gap: 8px; }
button.menu-toggle { display: none; }

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
}
.btn-gold { background: linear-gradient(180deg, #ffe7a3, var(--gold)); color: #2a1608; }
.btn-gold:hover { filter: brightness(1.05); color: #2a1608; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: white; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid rgba(240, 193, 75, 0.45); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.hero { padding: 64px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--teal);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: 0.96; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
h3 { font-size: 26px; }
.lede { font-size: 18px; color: var(--muted); max-width: 62ch; }
.fine { color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: #efe4da;
  background: rgba(255,255,255,0.03);
}

.stage {
  position: relative;
  border-radius: 28px;
  min-height: 360px;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(226,91,122,0.22), rgba(122,92,255,0.14) 45%, rgba(228,177,90,0.1)),
    #2a1422;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 46px;
}
.reel {
  height: 180px;
  border-radius: 18px;
  background: rgba(8, 4, 10, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-size: 54px;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}
.balance-chip {
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
  padding: 10px 12px;
  min-width: 140px;
}
.balance-chip span { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.balance-chip strong { font-family: var(--serif); font-size: 26px; color: var(--gold-2); }

.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--ink); color: #2a1020; border-color: transparent; }

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.art { height: 180px; position: relative; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art em {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.45);
  padding: 4px 8px;
  border-radius: 999px;
}
.game-card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card h3 { font-size: 22px; }
.game-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.g1 { background: linear-gradient(150deg, #7ec8ff, #163a66 72%); }
.g2 { background: linear-gradient(160deg, #f0c14b, #6a2a3a); }
.g3 { background: linear-gradient(160deg, #e25b7a, #3a1830); }
.g4 { background: linear-gradient(160deg, #ff7a45, #6a2a14); }
.g5 { background: linear-gradient(160deg, #7a5cff, #24143a); }
.g6 { background: linear-gradient(160deg, #e4b15a, #3d2a12); }
.room-art { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 12px; }

.bundle {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  background: linear-gradient(120deg, rgba(240,193,75,0.12), rgba(255,77,141,0.08));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.bundle-cards { display: grid; gap: 12px; }
.mini {
  background: rgba(10, 6, 12, 0.45);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
}
.mini h3 { margin-bottom: 6px; }
.mini p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
}

.faq-list { display: grid; gap: 8px; }
.faq-list details {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
}
.faq-list summary { cursor: pointer; font-weight: 650; }
.faq-list p { color: var(--muted); }

.page-hero { padding: 48px 0 10px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 30px; margin-top: 28px; }
.prose h3 { font-size: 22px; margin-top: 22px; }
.prose p, .prose li { color: #eadfd6; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 18px; }
.callout {
  border-left: 3px solid var(--gold);
  background: rgba(240, 193, 75, 0.08);
  padding: 14px 16px;
  border-radius: 12px;
  margin: 16px 0;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 8px; vertical-align: top; }
th { color: var(--gold-2); font-weight: 650; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
form {
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea {
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 4px; }
.side-cards { display: grid; gap: 10px; }
.success { display: none; padding: 14px; border-radius: 12px; background: rgba(228, 177, 90, 0.16); }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 20px; margin-top: 20px; background: rgba(0,0,0,0.25); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; }
.site-footer h4 { font-family: var(--sans); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; color: var(--gold-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.legal-note { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 22px; }
.help-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 14px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 2, 8, 0.72);
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}
.overlay.open { display: grid; }
.modal {
  width: min(520px, 100%);
  background: #241018;
  border: 1px solid rgba(240, 193, 75, 0.35);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.modal h2, .modal h3 { font-size: 32px; }
.cookie-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: #2a1420;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
}
.cookie-bar.show { display: flex; }

.entry-overlay { z-index: 70; }
.entry-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 26px 20px;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(226, 91, 122, 0.16), transparent 70%),
    #1a0c12;
  border: 1px solid rgba(228, 177, 90, 0.62);
  border-radius: 18px;
}
.entry-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--gold-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.entry-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: var(--serif);
  letter-spacing: 0.04em;
}
.entry-modal .kicker { text-align: center; }
.entry-modal h2 { text-align: center; font-size: 34px; line-height: 1.15; margin: 8px 0 10px; }
.entry-lede { text-align: center; color: var(--muted); margin: 0 0 16px; }
.entry-form {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  gap: 12px;
}
.entry-form .field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form input[type="tel"] {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(228, 177, 90, 0.45);
  border-radius: 8px;
  padding: 12px 14px;
}
.entry-form .check { font-size: 14px; line-height: 1.45; color: var(--ink); }
.entry-form .check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--gold);
  flex: 0 0 auto;
}
.entry-form .btn { letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.entry-status { display: none; margin: 0; color: var(--danger); font-size: 14px; }
.entry-status.show { display: block; }
.entry-reminder {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(228, 177, 90, 0.22);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.entry-reminder strong { color: var(--gold-2); }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.play-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; padding-bottom: 40px; }
.play-panel, .machine {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}
.symbol-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.symbol {
  aspect-ratio: 1;
  border-radius: 16px;
  background: #140910;
  display: grid;
  place-items: center;
  font-size: 42px;
  border: 1px solid var(--line);
}
.symbol.spin { animation: hop 0.18s linear infinite; }
@keyframes hop { 50% { transform: translateY(-6px); } }
.log { color: var(--muted); min-height: 1.4em; }
.cards-row { display: flex; gap: 8px; flex-wrap: wrap; min-height: 72px; }
.playing-card {
  width: 58px;
  height: 80px;
  border-radius: 10px;
  background: #f7f1e8;
  color: #1a1020;
  display: grid;
  place-items: center;
  font-weight: 750;
}
.playing-card.red { color: #c3264a; }
.wheel-wrap { display: grid; place-items: center; margin: 10px 0 16px; }
.wheel {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 8px solid #f0c14b;
  background: conic-gradient(#e4b15a 0 20deg, #241018 0 40deg, #e25b7a 0 60deg, #241018 0 80deg, #7a5cff 0 100deg, #241018 0 120deg, #ffe4b0 0 140deg, #241018 0 160deg, #e4b15a 0 180deg, #241018 0 200deg, #e25b7a 0 220deg, #241018 0 240deg, #7a5cff 0 260deg, #241018 0 280deg, #ffe4b0 0 300deg, #241018 0 320deg, #e4b15a 0 340deg, #241018 0 360deg);
  transition: transform 2.4s cubic-bezier(.15,.7,.1,1);
}
.plinko {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 8px 0 14px;
}
.plinko i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  display: inline-block;
  margin: 0 7px;
}
.basins { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; }
.basins span {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 0;
  font-size: 13px;
}
.basins span.lit { background: var(--gold); color: #1a1208; }

@media (max-width: 980px) {
  .hero-grid, .bundle, .contact-grid, .play-layout, .foot-grid { grid-template-columns: 1fr; }
  .game-grid, .steps { grid-template-columns: 1fr 1fr; }
  button.menu-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .header-row.open .nav, .header-row.open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 74px;
    background: #1c0c16;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .game-grid, .steps { grid-template-columns: 1fr; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  h1 { font-size: 40px; }
}
