@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap');

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

:root {
  --coral-500: #FF6B35;
  --coral-600: #E85A28;
  --coral-300: #FF9E6E;
  --dark:      #0E0A14;
  --dark-800:  #1A1028;
  --dark-700:  #241E38;
  --surface:   #9C8E82;
  --text-dim:  rgba(255,255,255,0.45);
  --text-muted: rgba(255,255,255,0.25);
}

html, body {
  height: 100%;
}

body {
  background-color: var(--dark);
  color: #f8fafc;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ─── Fondo con puntos ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Glow coral de fondo ─── */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* ─── Contenedor principal ─── */
.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  padding: 2rem;
  text-align: center;
}

/* ─── Logo ─── */
.logo {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  animation: fadein 0.8s ease both;
}

.logo .de  { color: #f8fafc; }
.logo .wan { color: var(--coral-500); }

/* ─── Tagline ─── */
.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  animation: fadein 0.8s ease 0.15s both;
}

/* ─── Separador ─── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
  opacity: 0.6;
  animation: fadein 0.8s ease 0.25s both;
}

/* ─── Mensaje principal ─── */
.headline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  max-width: 360px;
  line-height: 1.5;
  animation: fadein 0.8s ease 0.35s both;
}

/* ─── Badge estado ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  color: var(--coral-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  animation: fadein 0.8s ease 0.45s both;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-500);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ─── Footer ─── */
.footer {
  position: fixed;
  bottom: 1.8rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  z-index: 1;
  letter-spacing: 0.02em;
  animation: fadein 1s ease 0.6s both;
}

/* ─── Animación de entrada ─── */
@keyframes fadein {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .logo { letter-spacing: -2px; }
  .glow { width: 340px; height: 340px; }
}
