:root {
  --bg: #050016;
  --bg-alt: #0c0324;
  --primary: #ff2fd0;
  --primary-soft: rgba(255, 47, 208, 0.25);
  --text: #ffffff;
  --muted: #b6b4c9;
  --accent: #41ff7b;
  --radius: 14px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.6);
  --max-width: 1100px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Montserrat", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #12003a 0, var(--bg) 40%, #02000b 100%);
  color: var(--text);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--primary-soft), transparent 55%),
    radial-gradient(circle at bottom right, rgba(65, 255, 123, 0.2), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  z-index: 1;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 30px rgba(255, 47, 208, 0.8);
  background: rgba(5, 0, 22, 0.7);
}

.hero-subtitle {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--muted);
}

.hero-tag {
  margin-top: 0;
  font-weight: 600;
  color: #fff;
}

/* COUNTDOWN */

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  flex-wrap: wrap;
}

.count-item {
  background: rgba(5, 0, 22, 0.8);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  min-width: 80px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.count-item span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.count-item small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* BOTONES */

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--primary), #ff7ce9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 47, 208, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 45px rgba(255, 47, 208, 0.7);
}

.btn-full {
  width: 100%;
}

/* SECCIONES */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-alt {
  background: linear-gradient(135deg, rgba(12, 3, 36, 0.9), rgba(5, 0, 22, 0.9));
  border-radius: 40px;
  margin-top: 2rem;
  box-shadow: var(--shadow-soft);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(5, 0, 22, 0.9);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--primary), #ff7ce9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-role {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 0.5rem;
}

.card-text {
  margin: 0;
  color: var(--muted);
}

/* FREE */

.free-section {
  text-align: center;
}

/* FORMULARIO */

.form {
  max-width: 650px;
  margin: 0 auto;
  background: rgba(5, 0, 22, 0.9);
  padding: 2rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

input {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 0, 22, 0.9);
  color: var(--text);
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-soft);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* FOOTER */

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 2rem 1rem 2.5rem;
}

/* RESPONSIVE */

@media (max-width: 640px) {
  .hero-title {
    border-radius: 20px;
  }

  .section-alt {
    border-radius: 0;
    margin-inline: -1.5rem;
  }
}
