* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1020, #111827, #1e293b);
  color: white;
  overflow: hidden;
  position: relative;
  background: #000;
}

.background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.18), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(34, 211, 238, 0.12), transparent 30%);
  filter: blur(20px);
  z-index: 0;
}

/* Imagen de fondo */
.bg-image {
  position: fixed;
  inset: 0;
  background-image: url("bg.jpg"); /* cambia la ruta si hace falta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  z-index: 0;
}

/* Capa oscura encima de la imagen */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% de oscuridad */
  z-index: 1;
}


.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.3rem;
  color: #93c5fd;
  margin-bottom: 16px;
}

.description {
  font-size: 1rem;
  color: #d1d5db;
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.progress-section {
  margin-top: 20px;
  text-align: left;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.progress-bar {
  width: 100%;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
  transition: width 1.2s ease;
}

.status {
  margin-top: 20px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: bold;
  transition: 0.25s ease;
}

.btn.primary {
  background: #2563eb;
  color: white;
}

.btn.primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .card {
    padding: 30px 20px;
  }
}
