:root {
  --bg-0: #081726;
  --bg-1: #070f18;
  --text: #f5f1e7;
  --muted: #ddd4bf;
  --accent: #f0ab59;
  --accent-strong: #ffd8a7;
  --line: rgba(255, 225, 184, 0.24);
  --card: rgba(8, 18, 29, 0.82);
  --ok: #9de4c4;
  --error: #ffcfcb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(170deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: brightness(0.52) saturate(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 171, 89, 0.2), transparent 34%),
    linear-gradient(to bottom, rgba(6, 14, 23, 0.25) 0%, rgba(6, 14, 23, 0.7) 56%, rgba(6, 14, 23, 0.9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.4rem;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 10vw, 4.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.subheadline {
  margin: 1rem 0 0;
  font-size: clamp(1.02rem, 2.8vw, 1.2rem);
  font-weight: 600;
  color: #f6e9cc;
}

.description {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--muted);
}

.hero-form-title {
  margin: 1.1rem 0 0;
  font-size: clamp(1.15rem, 3.8vw, 1.45rem);
  font-weight: 700;
  color: #f8ead0;
}

.hero-signup {
  margin-top: 0.7rem;
  width: min(540px, 86vw);
  max-width: 540px;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 17, 27, 0.78);
  backdrop-filter: blur(1.5px);
  margin-left: auto;
  margin-right: auto;
}

.value {
  margin-top: 1.5rem;
  text-align: center;
}

.value h2,
.signup h2 {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 2rem);
}

.value ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.value li {
  padding: 0.72rem 0.92rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 20, 31, 0.64);
  text-align: center;
}

.value li::before {
  content: "+ ";
  color: var(--accent-strong);
}

.signup-form {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.ticket-embed {
  width: min(540px, 86vw);
  max-width: 540px;
  margin: 1rem auto 0;
}

.ticket-embed #shop-frame,
.ticket-embed iframe,
.ticket-embed form {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

.signup-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 224, 176, 0.34);
  border-radius: 10px;
  background: rgba(4, 10, 16, 0.72);
  color: var(--text);
  padding: 0 0.92rem;
  font-size: 1rem;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(236, 229, 213, 0.58);
}

.signup-form input[type="email"]:focus-visible {
  outline: 2px solid rgba(240, 171, 89, 0.92);
  outline-offset: 2px;
}

.signup-form button {
  border: 0;
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 1.12rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2a1707;
  background: linear-gradient(135deg, #efaa58 0%, #ffd6a6 100%);
  cursor: pointer;
}

.signup-form button:disabled {
  opacity: 0.74;
  cursor: wait;
}

.microcopy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(246, 238, 224, 0.88);
}

.status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
}

.status.success {
  color: var(--ok);
}

.status.error {
  color: var(--error);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.footer {
  border-top: 1px solid rgba(255, 226, 186, 0.21);
  margin-top: 1.5rem;
  padding: 1.2rem 0 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.72rem 1.3rem;
  font-size: 0.84rem;
  color: rgba(245, 232, 208, 0.9);
  text-align: center;
}

.footer a {
  color: var(--accent-strong);
  text-decoration-color: rgba(255, 216, 167, 0.42);
}

.privacy-note {
  margin: 0 auto;
  padding: 0.2rem 0 2rem;
  max-width: 760px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(231, 223, 207, 0.78);
}

.hero-inner > *,
.value,
.footer,
.privacy-note {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 2200ms ease forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 260ms; }
.hero-inner > *:nth-child(2) { animation-delay: 520ms; }
.hero-inner > *:nth-child(3) { animation-delay: 780ms; }
.hero-inner > *:nth-child(4) { animation-delay: 1040ms; }
.hero-inner > *:nth-child(5) { animation-delay: 1340ms; }
.hero-inner > *:nth-child(6) { animation-delay: 1620ms; }
.value { animation-delay: 1920ms; }
.footer { animation-delay: 2140ms; }
.privacy-note { animation-delay: 2320ms; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .hero-inner {
    padding-top: 2.6rem;
    padding-bottom: 2.9rem;
  }

  .signup-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
  }

  .signup-form .microcopy,
  .signup-form .status {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner > *,
  .value,
  .footer,
  .privacy-note {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
