@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800;900&display=swap");

:root {
  --bg: #050505;
  --text: #ffffff;
  --muted: #c9c9c9;
  --muted-strong: #9d9d9d;
  --accent: #E90381;
  --accent-strong: #B60063;
  --accent-glow: #FF4FA8;
  --accent-lavender: #FFD6EA;
  --border: rgba(233, 3, 129, 0.16);
  --border-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --glow-shadow: 0 0 44px rgba(233, 3, 129, 0.26);
  --gradient: linear-gradient(135deg, #FF69B3, #E90381);
  --radius-md: 16px;
  --radius-pill: 100px;
  --font-body: "DM Sans", sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background: linear-gradient(180deg, #040404 0%, #060606 34%, #090909 70%, #050505 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Ambient glow + bolitas rosadas --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(233, 3, 129, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(255, 79, 168, 0.06), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(182, 0, 99, 0.05), transparent 30%),
    radial-gradient(circle 3px at 5% 12%, rgba(233, 3, 129, 0.5) 100%, transparent 100%),
    radial-gradient(circle 2px at 12% 45%, rgba(255, 79, 168, 0.4) 100%, transparent 100%),
    radial-gradient(circle 4px at 8% 78%, rgba(233, 3, 129, 0.35) 100%, transparent 100%),
    radial-gradient(circle 2px at 3% 60%, rgba(255, 214, 234, 0.3) 100%, transparent 100%),
    radial-gradient(circle 3px at 15% 25%, rgba(233, 3, 129, 0.3) 100%, transparent 100%),
    radial-gradient(circle 2px at 18% 70%, rgba(255, 79, 168, 0.35) 100%, transparent 100%),
    radial-gradient(circle 5px at 92% 8%, rgba(233, 3, 129, 0.45) 100%, transparent 100%),
    radial-gradient(circle 3px at 88% 35%, rgba(255, 79, 168, 0.35) 100%, transparent 100%),
    radial-gradient(circle 2px at 95% 55%, rgba(233, 3, 129, 0.3) 100%, transparent 100%),
    radial-gradient(circle 4px at 90% 75%, rgba(255, 214, 234, 0.3) 100%, transparent 100%),
    radial-gradient(circle 3px at 85% 18%, rgba(182, 0, 99, 0.4) 100%, transparent 100%),
    radial-gradient(circle 2px at 96% 88%, rgba(255, 79, 168, 0.3) 100%, transparent 100%),
    radial-gradient(circle 3px at 82% 62%, rgba(233, 3, 129, 0.25) 100%, transparent 100%),
    radial-gradient(circle 2px at 6% 92%, rgba(255, 79, 168, 0.3) 100%, transparent 100%),
    radial-gradient(circle 4px at 50% 5%, rgba(233, 3, 129, 0.3) 100%, transparent 100%),
    radial-gradient(circle 2px at 35% 3%, rgba(255, 214, 234, 0.25) 100%, transparent 100%),
    radial-gradient(circle 3px at 70% 95%, rgba(233, 3, 129, 0.25) 100%, transparent 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-shell { position: relative; z-index: 1; }

/* --- Page transition --- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #050505;
  opacity: 0;
  pointer-events: none;
}

.page-transition.is-exiting {
  pointer-events: all;
  animation: pageExit 0.5s ease forwards;
}

.page-transition.is-entering {
  opacity: 1;
  pointer-events: all;
  animation: pageEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes pageExit {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pageEnter {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* --- Layout --- */
.page-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 32px 48px;
}

/* --- Panels (glass card) --- */
.hero-panel,
.content-panel,
.confirmation-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(233, 3, 129, 0.045));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.content-panel::before,
.confirmation-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-md) - 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%, transparent 68%, rgba(233, 3, 129, 0.06));
  pointer-events: none;
}

.content-panel,
.confirmation-panel {
  padding: clamp(24px, 3vw, 40px);
}

/* --- Hero --- */
.hero {
  margin-bottom: 24px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- Editorial elements --- */
.ed-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}

.ed-line {
  width: 50px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(233, 3, 129, 0.3);
  margin: 12px 0;
}

/* --- Typography --- */
.hero-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-description {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.section-badge {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-weight: 600;
}

.section-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

/* --- Embeds --- */
.embed-shell {
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.embed-shell iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.embed-shell--register iframe { min-height: 430px; }
.embed-shell--application iframe { min-height: 1060px; }
.embed-shell--booking iframe { min-height: 880px; }

/* --- CTA Button --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 18px 40px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  box-shadow: var(--glow-shadow);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #FF5EA9, #FF4FA8);
  box-shadow: 0 0 60px rgba(233, 3, 129, 0.5), 0 0 120px rgba(233, 3, 129, 0.2);
}

.cta-button:disabled,
.cta-button[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

/* --- Note card --- */
.note-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-footer img { display: none; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Registration: split layout --- */
.page-registration {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-registration .site-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-registration .page-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1100px;
  padding: 24px 32px;
}

.page-registration .hero { margin-bottom: 0; }

.page-registration .hero-panel {
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.page-registration .hero-panel::before { display: none; }

.page-registration .hero-copy { padding: 0; gap: 10px; }
.page-registration .hero-title { font-size: clamp(30px, 4vw, 48px); }
.page-registration .ed-line { margin: 8px 0; }
.page-registration .hero-description { font-size: 16px; line-height: 1.5; }
.page-registration .content-panel { align-self: center; padding: clamp(16px, 2vw, 28px); }
.page-registration .section-head { margin-bottom: 10px; }
.page-registration .section-title { font-size: clamp(18px, 2vw, 24px); }
.page-registration .section-badge { font-size: 12px; margin-bottom: 4px; }
.page-registration .embed-shell { padding: 0; border: none; background: none; box-shadow: none; }
.page-registration .site-footer { flex-shrink: 0; padding: 10px 32px; }

@media (max-width: 768px) {
  .page-registration .page-main {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    gap: 12px;
    align-content: center;
  }
  .page-registration .hero-copy { gap: 6px; }
  .page-registration .hero-title { font-size: clamp(26px, 7vw, 36px); }
  .page-registration .ed-line { margin: 6px 0; }
  .page-registration .hero-description { font-size: 15px; }
  .page-registration .content-panel { padding: 14px; }
  .page-registration .site-footer { padding: 6px 16px; }
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .page-main { padding: 16px 16px 40px; }
  .hero-copy { padding: 24px 22px; gap: 14px; }
  .content-panel, .confirmation-panel { padding: 22px; }
  .hero-description, .section-copy { font-size: 17px; }
  .embed-shell { padding: 10px; }
  .cta-button { width: 100%; min-width: unset; padding: 16px 28px; font-size: 15px; }
  .site-footer { padding: 16px; font-size: 11px; }
}

@media (max-width: 480px) {
  .page-main { padding: 12px 14px 32px; }
  .hero-copy { padding: 20px 18px; gap: 12px; }
  .content-panel, .confirmation-panel { padding: 18px; }
  .embed-shell { padding: 8px; }
  .embed-shell--application iframe { min-height: 920px; }
  .embed-shell--booking iframe { min-height: 720px; }
}
