/* ===============================
   RESET BÁSICO
================================ */
* {
  box-sizing: border-box;
}

/* ===============================
   BODY / BACKGROUND
================================ */
body {
  background: linear-gradient(270deg, #5a0f1a, #8b1e2d, #b23a48);
  background-size: 600% 600%;
  animation: gradientMove 18s ease infinite;

  height: 100vh;
  margin: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

/* Fondo animado */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===============================
   OVERLAY OSCURO
================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* ===============================
   CONTAINER
================================ */
.container {
  position: relative;
  z-index: 2;
}

/* ===============================
   CARD PRINCIPAL
================================ */
.card {
  position: relative;
  z-index: 2;
  overflow: hidden;

  width: 90%;
  max-width: 500px;
  padding: 3rem 2.5rem;

  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  text-align: center;

  /* Animación inicial */
  opacity: 0;
  transform: translateY(50px);
}

/* ===============================
   BRILLO SUAVE (GLASS EFFECT)
================================ */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  opacity: 0.5;
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ===============================
   ICONO DE ESTADO
================================ */
.status-icon {
  font-size: 4rem;
  color: #b23a48;
  margin-bottom: 1rem;
}

/* ===============================
   TEXTOS
================================ */
h2 {
  color: #8b1e2d;
  font-weight: 700;
  font-size: 2rem;
}

.lead {
  color: #333;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ===============================
   BADGE ESTADO
================================ */
.badge-success {
  background: linear-gradient(135deg, #159934, #28c76f);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

/* ===============================
   FOOTER
================================ */
footer {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  z-index: 2;
}