:root {
  --bg: #09060f;
  --bg-2: #140b1d;
  --bg-3: #1c1028;
  --gold: #e4c36a;
  --gold-2: #b8892c;
  --gold-3: #fff1b8;
  --ruby: #c42b4a;
  --text: #f6efe4;
  --muted: #b7a99a;
  --line: rgba(228, 195, 106, 0.22);
  --radius: 22px;
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(196, 43, 74, 0.18), transparent 50%),
    radial-gradient(900px 500px at 0% 20%, rgba(228, 195, 106, 0.12), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a {
  color: var(--gold);
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

p {
  margin: 0 0 1em;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.container.narrow {
  width: min(760px, calc(100% - 32px));
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  backdrop-filter: blur(16px);
  background: rgba(9, 6, 15, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 6, 15, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold-3), var(--gold-2));
  color: #1a1006;
  font-family: "Playfair Display", serif;
  font-weight: 900;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--gold);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--gold);
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  color: #1a1006;
  background: linear-gradient(180deg, #fff1b8 0%, #e4c36a 42%, #b8892c 100%);
  box-shadow: 0 10px 30px rgba(184, 137, 44, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-xl {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  padding: 15px 20px;
}

.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(228, 195, 106, 0.2), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(61, 220, 132, 0);
  }
}

.gold {
  background: linear-gradient(180deg, #fff8d4 0%, #e4c36a 45%, #8d6918 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34em;
}

.lead.tight {
  margin-bottom: 0;
}

.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 8px;
}

.perks li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.micro {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 10px 0 0;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.count-block {
  min-width: 76px;
  padding: 12px 10px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.count-block span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--gold-3);
}

.count-block small {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.count-sep {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 1.4rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.machine {
  width: min(360px, 100%);
  background: linear-gradient(180deg, #2a1b14, #120b10 40%, #0b070a);
  border: 1px solid rgba(228, 195, 106, 0.4);
  border-radius: 28px;
  padding: 18px 18px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 241, 184, 0.25);
}

.machine-top {
  text-align: center;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #07050a;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(228, 195, 106, 0.18);
  overflow: hidden;
}

.reel {
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(#1a1020, #0e0a12);
  overflow: hidden;
  position: relative;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  animation: none;
}

.reel.spinning .reel-strip {
  animation: reel-move 0.7s linear infinite;
}

.reel:nth-child(2).spinning .reel-strip {
  animation-duration: 0.55s;
}

.reel:nth-child(3).spinning .reel-strip {
  animation-duration: 0.42s;
}

@keyframes reel-move {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.symbol {
  height: 96px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  color: var(--gold-3);
  text-shadow: 0 0 18px rgba(228, 195, 106, 0.45);
}

.machine-payline {
  height: 2px;
  margin: 10px 12px 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 12px var(--gold);
}

.machine-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 6px;
}

.win-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.spin-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #7a1b2e;
  background: radial-gradient(circle at 35% 30%, #ff6b84, var(--ruby) 45%, #6e1022);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(196, 43, 74, 0.45);
}

.offer-chip {
  position: absolute;
  right: 6%;
  top: 8%;
  background: linear-gradient(180deg, #fff1b8, #e4c36a);
  color: #1a1006;
  border-radius: 18px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: float 3.4s ease-in-out infinite;
}

.offer-chip strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.offer-chip span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 0;
}

.trust-item {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: linear-gradient(180deg, rgba(28, 16, 40, 0.55), rgba(9, 6, 15, 0.2));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cards-promo {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose p,
.prose-note {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose-note.last {
  margin-top: 18px;
}

.cta-gap {
  margin-top: 28px;
}

.center-note {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}

.why-list-wide {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card.featured {
  border-color: rgba(228, 195, 106, 0.5);
  box-shadow: 0 20px 50px rgba(184, 137, 44, 0.12);
}

.card-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-num {
  display: block;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.center {
  text-align: center;
}

.games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.game-art {
  height: 170px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, hsla(var(--hue), 80%, 62%, 0.55), transparent 40%),
    linear-gradient(160deg, #24152f, #0e0a14);
  font-size: 3.4rem;
}

.game h3,
.game p {
  margin: 0;
  padding: 0 16px;
}

.game h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.game p {
  color: var(--muted);
  font-size: 0.85rem;
  padding-bottom: 16px;
  margin-top: 4px;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-list li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.why-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Playfair Display", serif;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

.final {
  padding: 40px 0 120px;
}

.final-inner {
  text-align: center;
  padding: 56px 24px;
  border-radius: 32px;
  border: 1px solid rgba(228, 195, 106, 0.35);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(228, 195, 106, 0.18), transparent 60%),
    linear-gradient(180deg, #1a1024, #0d0812);
}

.final-inner p {
  color: var(--muted);
  margin-bottom: 24px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 100px;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer h3 {
  font-size: 0.95rem;
  color: var(--text);
}

.footer-logo {
  margin-bottom: 12px;
}

.copyright {
  text-align: center;
  margin: 36px 0 0;
  font-size: 0.8rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(9, 6, 15, 0.95) 30%);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 8, 0.72);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #1c1226, #100a16);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-lead {
  color: var(--muted);
}

.modal-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.modal-card input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0810;
  color: var(--text);
  outline: none;
}

.modal-card input[type="email"]:focus {
  border-color: var(--gold);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.check input {
  margin-top: 4px;
}

.form-success {
  margin-top: 14px;
  color: #8be0a8;
}

@media (max-width: 960px) {
  .hero-grid,
  .cards,
  .cards-promo,
  .steps,
  .games,
  .why-grid,
  .why-list,
  .why-list-wide,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: rgba(12, 8, 18, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .mobile-cta {
    display: block;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
