:root {
  --bg: #070b1a;
  --bg-2: #0e1530;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef1ff;
  --muted: #a6aed0;
  --accent: #ffc86b;
  --accent-2: #8fa8ff;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(ellipse at 50% -10%, #1c2a66 0%, var(--bg) 60%) fixed, var(--bg);
  overflow-x: hidden;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

h1, h2, h3 { font-family: "Unbounded", sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1203;
  font-weight: 700;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 200, 107, .35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-small { padding: 8px 18px; font-size: 15px; }

/* Шапка */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: rgba(7, 11, 26, .7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 17px; }
.logo-star { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* Первый экран */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 16vh 5vw 12vh;
  text-align: center;
}
.eyebrow { color: var(--accent-2); font-size: 15px; letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); margin-bottom: 24px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-facts {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-facts b { display: block; color: var(--text); font-family: "Unbounded", sans-serif; font-size: 26px; }

/* Секции */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 5vw; }
.section h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.section-sub { color: var(--muted); margin-bottom: 36px; }
.section > h2 + .cards,
.section > h2 + .steps,
.section > h2 + .prices,
.section > h2 + .faq { margin-top: 36px; }

/* Карточки */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 200, 107, .5); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* Шаги вечера */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255, 200, 107, .08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.steps span { display: block; font-family: "Unbounded", sans-serif; color: var(--accent); font-size: 20px; margin-bottom: 6px; }

/* Ближайшие ночи */
.nights { display: grid; gap: 14px; }
.night {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.night-date {
  flex: none;
  width: 72px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.night-date b { display: block; font-family: "Unbounded", sans-serif; font-size: 32px; color: var(--text); line-height: 1.1; }
.night-body { flex: 1; }
.night-body h3 { font-size: 18px; margin-bottom: 4px; }
.night-body p { color: var(--muted); font-size: 16px; }
.tag {
  flex: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  background: rgba(143, 168, 255, .15);
  color: var(--accent-2);
}
.tag-hot { background: rgba(255, 200, 107, .15); color: var(--accent); }

/* Цены */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-main { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 200, 107, .1), var(--card)); }
.price-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1203;
  font-size: 14px;
  font-weight: 700;
}
.price h3 { font-size: 18px; }
.price-sum { font-family: "Unbounded", sans-serif; font-size: 34px; margin: 12px 0 18px; }
.price ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.price li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.price .btn { text-align: center; }

/* Вопросы */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Форма */
.signup { text-align: center; }
.form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  text-align: left;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form label { display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.form input, .form select {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
}
.form input:focus, .form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form select option { color: #111; }
.form-note { text-align: center; color: var(--muted); min-height: 1.6em; }
.form-note-ok { color: #7ee2a8; }
.form-note-error { color: #ff8a8a; }
.form button:disabled { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Подвал */
.footer {
  text-align: center;
  padding: 48px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-small { font-size: 15px; opacity: .7; margin-top: 6px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Телефон */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 10vh 16px 8vh; }
  .section { padding: 56px 16px; }
  .night { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .night-date { width: auto; text-align: left; }
  .night-date b { display: inline; margin-right: 6px; }
  .night-body { flex-basis: 100%; }
  .form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
