:root {
  --ink: #151823;
  --muted: #5f687c;
  --paper: #fff8ea;
  --panel: #ffffff;
  --line: #e7dfd0;
  --gold: #ffc83d;
  --coral: #ff4b65;
  --teal: #12c9a0;
  --blue: #246bfe;
  --deep: #0c1020;
  --shadow: 0 18px 44px rgba(12, 16, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 234, 0.94);
  border-bottom: 1px solid rgba(231, 223, 208, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--deep);
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border: 2px solid var(--deep);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--deep);
  border-radius: 8px;
  background: var(--panel);
  font-size: 1.35rem;
}

.hero {
  position: relative;
  min-height: 650px;
  color: #fff;
  overflow: hidden;
  background: var(--deep);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 16, 32, 0.94) 0%, rgba(12, 16, 32, 0.72) 44%, rgba(12, 16, 32, 0.28) 100%),
    url("../images/hero.png") center/cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: center;
  min-height: 650px;
  gap: 38px;
  padding: 44px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  color: var(--deep);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.12rem;
}

.lead {
  max-width: 680px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--deep);
  border-radius: 8px;
  color: var(--deep);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--deep);
  cursor: pointer;
  font-weight: 900;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  color: #fff;
  background: var(--coral);
}

.btn.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.hero-panel {
  align-self: end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mini-list span {
  color: var(--gold);
  font-weight: 900;
}

section,
.page-section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 590px;
  margin: 8px 0 0;
  color: var(--muted);
}

.notice {
  border-block: 4px solid var(--deep);
  background: linear-gradient(90deg, #fff 0%, #fff2b9 50%, #d9fff5 100%);
}

.notice .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.notice h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.notice p {
  margin: 0;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.slot-card,
.review-card,
.benefit,
.stat,
.faq-item,
.contact-panel {
  border: 2px solid var(--deep);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 5px 5px 0 rgba(12, 16, 32, 0.92);
}

.slot-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.slot-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
}

.slot-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.slot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rating {
  color: #b06c00;
  white-space: nowrap;
}

.slot-body p {
  flex: 1;
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.feature-split img {
  border: 2px solid var(--deep);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--deep);
}

.benefit-grid,
.review-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit,
.review-card,
.stat,
.contact-panel {
  padding: 22px;
}

.benefit b {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--teal);
}

.benefit p,
.review-card p,
.contact-panel p,
.legal p,
.legal li {
  color: var(--muted);
}

.stat {
  background: var(--deep);
  color: #fff;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 2.2rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.faq-item button span {
  display: grid;
  width: 30px;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
}

.faq-panel {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open button span {
  background: var(--coral);
  color: #fff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
}

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

.contact-list li {
  margin-top: 10px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--deep);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #08795f;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  padding: 76px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 16, 32, 0.94), rgba(36, 107, 254, 0.72)),
    url("../images/demo-slots.png") center/cover no-repeat;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.legal {
  max-width: 860px;
  padding: 54px 0 78px;
}

.legal h2 {
  margin-top: 28px;
  font-size: 1.45rem;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(rgba(12, 16, 32, 0.78), rgba(12, 16, 32, 0.9)),
    url("../images/demo-slots.png") center/cover no-repeat;
}

.error-box {
  max-width: 640px;
  text-align: center;
}

.error-box h1 {
  margin-bottom: 14px;
}

.age-gate,
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 16, 32, 0.78);
}

.age-gate.is-visible,
.game-modal.is-visible {
  display: flex;
}

.age-box,
.modal-box {
  width: min(560px, 100%);
  border: 2px solid var(--deep);
  border-radius: 8px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--deep);
}

.age-box {
  padding: 26px;
  text-align: center;
}

.age-denied {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: var(--deep);
  text-align: center;
}

.age-denied.is-visible {
  display: grid;
}

.modal-box {
  width: min(1060px, calc(100% - 24px));
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--deep);
}

.icon-btn {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  border: 2px solid var(--deep);
  border-radius: 8px;
  background: var(--gold);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 900;
}

.modal-note {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  background: #fff8ea;
  font-size: 0.9rem;
}

.modal-frame {
  width: 100%;
  min-height: 560px;
  border: 0;
  background: #10131f;
}

.cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: none;
  width: min(430px, calc(100% - 36px));
  padding: 16px;
  border: 2px solid var(--deep);
  border-radius: 8px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--deep);
}

.cookie.is-visible {
  display: block;
}

.cookie p {
  margin: 0 0 12px;
  color: var(--muted);
}

@media (max-width: 940px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 2px solid var(--deep);
    border-radius: 8px;
    background: #fff;
    box-shadow: 5px 5px 0 var(--deep);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-inner,
  .feature-split,
  .contact-wrap,
  .notice .container {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
  }

  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .review-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 52px 0 64px;
  }

  .section-head,
  .footer-inner {
    display: block;
  }

  .slots-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .modal-box {
    width: calc(100% - 10px);
    height: calc(100vh - 16px);
    display: flex;
    flex-direction: column;
  }

  .modal-frame {
    flex: 1;
    min-height: 380px;
  }
}
