body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1c0b3f 0%, #132354 60%, #0b1941 100%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 30px 15px;
  margin: 0;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.header {
  display: flex;
  justify-content: flex-end; /* lo manda a la derecha */
  margin-bottom: 6px;
}
.btn-idioma {
  width: auto;
  padding: 5px 9px;
  min-width: unset;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e5e7eb;

  font-weight: 600;
  font-size: 12px;

  border-radius: 999px;
  cursor: pointer;

  /* SOLO cambio de color, nada más */
  transition: background 0.25s ease;

  /* anular cualquier herencia */
  transform: none;
  box-shadow: none;
}

.btn-idioma:hover {
  background: rgba(255,255,255,0.14);

  /* bloquear rebotes */
  transform: none;
  box-shadow: none;
}



.card {
  
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: 18px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}


/* LOGO */
.logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 6px;
  box-shadow: 0 0 25px rgba(69, 69, 95, 0.6);
}



h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  color: #cbd5f5;
  margin-bottom: 20px;
}

button {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: none;
  padding: 14px;
  font-size: 16px;
  border-radius: 14px;
  cursor: pointer;
  color: #052e16;
  font-weight: bold;
  width: 100%;

  transition:
    transform 2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 2s cubic-bezier(0.22, 1, 0.36, 1),
    background 2s ease;

  box-shadow: 0 0 0 rgba(34,197,94,0);
}

button:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(34,197,94,0.22);
}




.qr {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.qr.activo {    
  max-height: 800px;
  opacity: 1;
  margin-top: 20px;
}


.qr img {
  width: 260px;
  border-radius: 12px;
  background: white;
  padding: 10px;
  margin-top: 10px;
}

.nota {
  font-size: 12px;
  margin-top: 8px;
  color: #94a3b8;
}

.separador {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #e5e7eb;
}

/* PAYPAL */
.btn-paypal {
  display: block;
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  color: #1e3a8a;
  text-decoration: none;
  border-radius: 14px;
  font-weight: bold;

  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.btn-paypal:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}





/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌞 MODO CLARO AUTOMÁTICO */
@media (prefers-color-scheme: light) {
  body {
    background: #f8fafc;
    color: #020617;
  }

  .card {
    background: white;
  }

  p {
    color: #475569;
  }
}
