/* Reset base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0b0b0f;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  display: grid;
  place-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Contenedor principal */
main {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 2rem;
  max-width: 520px;
  animation: fadeIn 1.2s ease forwards;
}

/* Glow multicapa fondo */
main::before {
  content: "";
  position: absolute;
  inset: -180px;
  background:
    radial-gradient(circle at 30% 40%, rgba(120,80,255,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(80,160,255,0.25), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(255,120,200,0.18), transparent 60%);
  filter: blur(100px);
  z-index: -1;
}

/* Badge progreso */
.badge {
  align-self: center;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(60, 200, 120, 0.15);
  border: 1px solid rgba(60, 200, 120, 0.45);
  color: #7dffb2;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #4cff9a;
  border-radius: 50%;
  box-shadow: 0 0 6px #4cff9a;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

/* Título principal refinado */
h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: 4px;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #cfcfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.4s ease, text-shadow 0.4s ease;
}

h1:hover {
  filter: brightness(1.15);
  text-shadow:
    0 0 12px rgba(180,180,255,0.4),
    0 0 24px rgba(120,80,255,0.25);
}

/* Textos */
.subtitle {
  font-size: 1.25rem;
  color: #cfcfcf;
  font-weight: 500;
  margin: 0;
}

.date {
  font-size: 0.95rem;
  color: #8a8a8a;
  margin: 0;
}

.note {
  font-size: 0.9rem;
  color: #a5a5a5;
  margin-top: 0.4rem;
}

small {
  margin-top: 0.6rem;
  opacity: 0.55;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Animación entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
