:root {
  --ink: #172022;
  --muted: #536165;
  --paper: #fffaf2;
  --soft: #f4ede2;
  --teal: #0d8078;
  --teal-dark: #075b58;
  --coral: #f05a47;
  --gold: #f5b93e;
  --green: #3bb273;
  --night: #182431;
  --white: #fff;
  --shadow: 0 18px 50px rgba(24, 36, 49, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.locked { overflow: hidden; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid rgba(23, 32, 34, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 0 var(--gold);
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--teal-dark); }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  padding: clamp(54px, 9vw, 108px) clamp(18px, 6vw, 84px);
  overflow: hidden;
  background: var(--night);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 36, 49, .94) 0%, rgba(24, 36, 49, .76) 38%, rgba(24, 36, 49, .2) 78%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  color: rgba(255,255,255,.88);
  max-width: 580px;
  font-size: 19px;
}

.hero-actions, .age-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 0 rgba(0,0,0,.18);
}

.btn.light {
  background: rgba(255,255,255,.9);
  color: var(--night);
}

.btn.ghost {
  background: #e9f1ef;
  color: var(--ink);
}

.btn.play {
  width: 100%;
  background: var(--teal);
  color: var(--white);
}

.band { background: var(--soft); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: clamp(50px, 7vw, 82px) 20px; }

.notice-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 28px;
  align-items: start;
}

.notice p { margin: 0; }

.intro {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 34px;
}

.intro-cards, .slot-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-cards article, details, .slot-card {
  background: var(--white);
  border: 1px solid rgba(23,32,34,.08);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(24, 36, 49, .08);
}

.intro-cards article { padding: 24px; }
.intro-cards span { color: var(--teal); font-weight: 900; }

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

.section-head p { max-width: 430px; margin: 0; }

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

.slot-card { overflow: hidden; }
.slot-card img { aspect-ratio: 1 / .82; width: 100%; object-fit: cover; }
.slot-body { padding: 18px; }
.slot-body p { min-height: 78px; margin: 0 0 14px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 6px solid var(--gold);
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

.steps span { color: var(--muted); line-height: 1.5; }

details {
  padding: 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  background: var(--night);
  color: var(--white);
  padding: 42px clamp(18px, 4vw, 56px) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .6fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer p, .site-footer a { color: rgba(255,255,255,.74); }
.site-footer h3 { color: var(--gold); }
.site-footer a { display: block; margin: 8px 0; text-decoration: none; }
.footer-bottom { max-width: 1180px; margin: 26px auto 0; font-size: 14px; }

.age-gate, .denied, .game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24, 36, 49, .72);
  backdrop-filter: blur(10px);
}

.age-box, .denied > div {
  width: min(440px, 100%);
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: var(--coral);
  color: var(--white);
  font-weight: 900;
}

[hidden] { display: none !important; }

.game-modal { z-index: 80; background: rgba(12, 18, 24, .82); }
.game-shell { width: min(1120px, 96vw); height: min(760px, 88vh); background: #0f171c; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.game-top { height: 52px; padding: 0 14px 0 18px; display: flex; align-items: center; justify-content: space-between; color: var(--white); background: #121f27; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--coral); color: var(--white); font-size: 20px; cursor: pointer; }
.game-shell iframe { width: 100%; height: calc(100% - 52px); border: 0; background: #000; }

.plain-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(46px, 7vw, 78px) 20px;
}

.plain-page h1 { color: var(--ink); font-size: clamp(38px, 6vw, 70px); }
.plain-page p, .plain-page li { color: var(--muted); line-height: 1.7; }
.contact-card { margin-top: 22px; padding: 24px; background: var(--white); border-radius: 8px; border: 1px solid rgba(23,32,34,.08); }
.contact-form { display: grid; gap: 14px; margin-top: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(23,32,34,.18);
  border-radius: 8px;
  font: inherit;
}

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .notice-grid, .intro, .split, .footer-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-cards, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { min-height: 620px; padding-top: 70px; }
  .hero::after { background: linear-gradient(180deg, rgba(24,36,49,.92), rgba(24,36,49,.68)); }
  .hero-actions .btn, .age-actions .btn { width: 100%; }
  .slot-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .game-shell { width: 100vw; height: 100vh; border-radius: 0; }
}
