:root {
  --bg: #07030f;
  --bg-soft: rgba(13, 8, 26, 0.9);
  --panel: rgba(11, 10, 24, 0.78);
  --panel-strong: rgba(17, 14, 34, 0.95);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f2ff;
  --muted: #cbbbe4;
  --gold: #f8c24f;
  --pink: #ff4fb3;
  --violet: #8b4dff;
  --blue: #4fb8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 179, 0.32), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(79, 184, 255, 0.28), transparent 20%),
    radial-gradient(circle at 55% 60%, rgba(139, 77, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #040208 0%, #0a0716 38%, #05030a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025), transparent 42%);
  opacity: 0.35;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  pointer-events: none;
}

.page-glow-left {
  top: -6rem;
  left: -8rem;
  background: linear-gradient(180deg, var(--pink), transparent 70%);
}

.page-glow-right {
  right: -10rem;
  bottom: 3rem;
  background: linear-gradient(180deg, var(--blue), transparent 70%);
}

.hero,
main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 1.5rem clamp(1.25rem, 3vw, 3rem) 2rem;
}

.topbar,
.hero-stage,
.story-section,
.form-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 0 1rem;
}

.brand-mark {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.08em;
}

.brand-mark span,
.hero h1 span {
  color: var(--gold);
}

.hero-stage {
  padding-top: 1rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-layout-single {
  grid-template-columns: 1fr;
}

.hero-copy,
.story-panel,
.form-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.6rem, 4vw, 4rem);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(79, 184, 255, 0.16), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(255, 79, 179, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  min-height: min(82vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -12% -15% auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(248, 194, 79, 0.26), transparent 65%);
  filter: blur(12px);
}

.hero-flyer {
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.hero-flyer-main {
  padding: 1.25rem 1.25rem 0;
}

.hero-flyer-main img {
  width: min(100%, 560px);
}

.hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem 2rem;
}

.hero-flyer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.4rem;
}

.eyebrow,
.section-tag,
.card-kicker {
  letter-spacing: 0.45em;
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.4rem 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0.8rem 0 2rem;
  max-width: 30rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
}

.feature-list article,
.form-event-info article,
.feature-list article {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-label,
.feature-list span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-event-info strong,
.feature-list strong {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-badges span {
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #130910;
  background: linear-gradient(135deg, #ffe07f 0%, var(--gold) 100%);
  box-shadow: 0 12px 40px rgba(248, 194, 79, 0.32);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.mini-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-contact span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mini-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.whatsapp-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: #25d366;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-text-mobile {
  display: none;
}

.story-panel,
.form-panel {
  border-radius: 1.8rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.story-section,
.form-section {
  padding: 0 clamp(1.25rem, 3vw, 3rem) 2rem;
}

.story-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(79, 184, 255, 0.18), transparent 24%),
    radial-gradient(circle at 10% 20%, rgba(255, 79, 179, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.story-panel::after {
  content: none;
}

.story-copy + .story-copy {
  margin-top: 1.6rem;
}

.story-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.story-copy h2,
.form-panel h2 {
  margin: 0.45rem 0 1rem;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.story-bottom {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-event-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-intro {
  color: var(--muted);
  line-height: 1.7;
}

.form-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 79, 179, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.mini-contact-story {
  margin-top: 1rem;
  margin-left: auto;
}

.registration-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--text);
}

.field-error {
  min-height: 1rem;
  color: #ff9dcf;
  font-size: 0.82rem;
  line-height: 1.2;
}

.registration-form input,
.registration-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.registration-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(246, 242, 255, 0.9) 50%),
    linear-gradient(135deg, rgba(246, 242, 255, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.8rem;
}

.registration-form select option {
  color: #1a1326;
  background: #f3effa;
}

.registration-form input::placeholder {
  color: rgba(246, 242, 255, 0.45);
}

.registration-form input:focus,
.registration-form select:focus {
  border-color: rgba(248, 194, 79, 0.8);
  box-shadow: 0 0 0 4px rgba(248, 194, 79, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.registration-form input.is-invalid,
.registration-form select.is-invalid {
  border-color: rgba(255, 107, 154, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 107, 154, 0.12);
}

.full-width,
.button-submit {
  grid-column: 1 / -1;
}

.form-feedback {
  min-height: 1.2rem;
  padding: 0.2rem 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-feedback.is-error {
  color: #ffb2cf;
}

.form-feedback.is-success {
  color: #9ef0b9;
}

.button-submit {
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 960px) {
  .hero-layout,
  .form-event-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 1rem;
  }

  .topbar {
    align-items: flex-start;
  }

  .story-panel,
  .hero-flyer,
  .form-panel {
    border-radius: 1.4rem;
  }

  .story-section,
  .form-section {
    padding-inline: 1rem;
  }

  .hero-layout {
    border-radius: 1.4rem;
  }

  .registration-form {
    grid-template-columns: 1fr;
  }

  .hero-flyer {
    padding: 0.75rem;
  }

  .hero-flyer img {
    border-radius: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .feature-list-playful {
    grid-template-columns: 1fr;
  }

  .story-bottom {
    display: flex;
    flex-direction: column;
  }

  .mini-contact {
    flex-wrap: wrap;
    border-radius: 1.1rem;
  }

  .mini-contact-story {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .whatsapp-button {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-text-desktop {
    display: none;
  }

  .whatsapp-text-mobile {
    display: inline;
  }
}
