/* Reset sencillo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2933, #0b1015);
  color: #f9fafb;
  height: 100vh;
}

/* Centrado total */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
}

/* Tarjeta principal */
.card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 20px;
  padding: 2.5rem 2.8rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(10px);
}

.card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #cbd5f5;
}

/* Loader animado */
.loader {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(148, 163, 184, 0.35);
  border-top-color: #38bdf8;
  border-right-color: #22c55e;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

/* Animación */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsivo */
@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem;
  }

  .card h1 {
    font-size: 1.6rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}
