:root {
  --pink: #dd488a;
  --magenta: #ff3cdc;
  --cyan: #3ee7ff;
  --gold: #ffd36a;
  --ink: #14061f;
  --paper: #f7e9f3;
  --muted: #d7b8cc;
  --card: rgba(16, 4, 28, 0.72);
  --line: rgba(255, 60, 220, 0.45);
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--paper);
  background: #12061c;
  line-height: 1.55;
}

#horizon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 2, 18, 0.35) 0%, rgba(10, 2, 18, 0.15) 28%, rgba(10, 2, 18, 0.55) 100%);
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 8px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
}

.brand span { color: var(--pink); }

nav a {
  color: var(--paper);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--cyan); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 24px;
}

.kicker {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--cyan);
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 16px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(221, 72, 138, 0.45);
}

.lede { font-size: 1.15rem; max-width: 38rem; color: #ffe8f4; }
.note, .hint { color: var(--muted); font-size: 0.95rem; }

.badge-stage {
  display: grid;
  place-items: center;
  position: relative;
}
.badge-stage img, .badge-stage video {
  width: min(460px, 100%);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(255, 60, 220, 0.28));
}
.badge-stage .back {
  position: absolute;
  width: min(220px, 42%);
  right: 4%;
  bottom: -6%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(221, 72, 138, 0.45);
}
.cta:hover { background: #f05aa0; color: #fff; }
.cta:disabled { opacity: 0.6; cursor: not-allowed; }

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 36px;
}
.points article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(10px);
}
.points h2 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--gold);
}

.gallery { padding: 10px 0 64px; }
.gallery h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.card {
  background: rgba(10, 2, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: block;
}
.card img, .card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.card span {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  margin-top: 6px;
  color: var(--muted);
}

.panel {
  width: min(720px, 100%);
  margin: 0 auto 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 28px 24px;
  backdrop-filter: blur(14px);
}
.panel h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

form.signup { display: grid; gap: 14px; margin-top: 18px; }
label span.lbl { display: block; font-size: 0.86rem; margin-bottom: 6px; color: #ffe6f2; }
input[type="text"], input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 2, 16, 0.7);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
input:focus {
  outline: 2px solid var(--cyan);
  border-color: transparent;
}
label.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
}
label.consent input { margin-top: 4px; width: 18px; height: 18px; }
.field-err { color: #ff9ab0; font-size: 0.85rem; min-height: 1.1em; }
.status {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
}
.status.ok { display: block; background: rgba(62, 231, 255, 0.12); color: #d9fbff; }
.status.err { display: block; background: rgba(255, 80, 120, 0.14); color: #ffd0da; }
.hp { position: absolute; left: -9999px; opacity: 0; }

footer {
  margin-top: auto;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer p { margin: 0 auto; width: min(1120px, calc(100% - 40px)); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(6, 1, 12, 0.86);
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox-inner {
  width: min(560px, 100%);
  text-align: center;
}
.lightbox video, .lightbox img { width: 100%; height: auto; }
.lightbox button {
  margin-top: 16px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .hero, .points { grid-template-columns: 1fr; }
  .badge-stage .back { position: static; width: min(180px, 40%); margin-top: -24px; }
  nav a { margin-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { box-shadow: none; }
}
