:root {
  --ink: #092026;
  --ink-soft: #16343b;
  --paper: #f8f3e8;
  --paper-strong: #fffaf0;
  --teal: #2fc7bd;
  --teal-dark: #11877f;
  --gold: #f2c46d;
  --coral: #e7574f;
  --plum: #4b2459;
  --line: rgba(9, 32, 38, 0.16);
  --shadow: 0 22px 70px rgba(9, 32, 38, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 32, 38, 0.82), rgba(9, 32, 38, 0));
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.94rem;
}

.main-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 32, 38, 0.9), rgba(9, 32, 38, 0.42), rgba(9, 32, 38, 0.72)),
    linear-gradient(0deg, rgba(9, 32, 38, 0.9), rgba(9, 32, 38, 0.08) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 84px;
}

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

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(242, 196, 109, 0.28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-muted {
  color: var(--paper);
  background: var(--ink-soft);
}

.btn-card {
  width: 100%;
  color: var(--paper);
  background: var(--teal-dark);
}

.band,
.slots-section,
.responsible {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 54px);
}

.section-grid,
.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-grid p,
.section-heading p,
.responsible-panel p,
.contact-layout p,
address {
  color: rgba(9, 32, 38, 0.74);
  font-size: 1.04rem;
  line-height: 1.7;
}

.intro {
  background: var(--paper-strong);
}

.slots-section {
  background: #fbefe5;
}

.section-heading {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.slot-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.slot-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-strong);
  border: 1px solid rgba(9, 32, 38, 0.1);
  box-shadow: 0 16px 45px rgba(9, 32, 38, 0.12);
}

.slot-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.slot-body {
  min-height: 272px;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.slot-body p {
  margin: 0 0 18px;
  color: rgba(9, 32, 38, 0.7);
  line-height: 1.55;
}

.slot-body .btn {
  margin-top: auto;
}

.guide {
  background: var(--paper);
}

.feature-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 24px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.58);
}

.feature span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature p {
  margin: 0;
  color: rgba(9, 32, 38, 0.7);
  line-height: 1.65;
}

.responsible {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--plum));
}

.responsible-panel {
  width: min(940px, 100%);
  margin: 0 auto;
}

.responsible-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  background: var(--paper-strong);
}

address {
  font-style: normal;
}

address a {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(47, 199, 189, 0.24);
  border-color: var(--teal-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.age-gate,
.access-denied,
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 32, 38, 0.86);
  backdrop-filter: blur(10px);
}

.age-gate[hidden],
.access-denied[hidden],
.game-modal[hidden] {
  display: none;
}

.age-panel,
.access-denied > div {
  width: min(480px, 100%);
  border-radius: 8px;
  padding: 32px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.age-badge {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--paper);
  background: var(--coral);
  font-weight: 900;
}

.age-panel h2,
.access-denied h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
}

.modal-shell {
  position: relative;
  width: min(1180px, 96vw);
  height: min(760px, 88vh);
  border-radius: 8px;
  overflow: hidden;
  background: #050d10;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: radial-gradient(circle at top left, #2fc7bd, transparent 28%), linear-gradient(135deg, var(--ink), var(--plum));
}

.error-wrap {
  width: min(660px, 100%);
}

.error-wrap h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
}

.error-wrap p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero {
    min-height: 88vh;
  }

  .section-grid,
  .contact-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero-inner {
    width: min(100% - 28px, 900px);
    padding-bottom: 42px;
  }

  .hero-actions,
  .age-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .slot-body {
    min-height: auto;
  }

  .modal-shell {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
}
