* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial; overflow: hidden; }

/* Fondo imagen */
.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Estrellas */
#stars { position: fixed; inset: 0; z-index: 1; display: block; }

/* Stage */
.stage { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: center; padding: 24px; }

/* Glassmorphism */
.glass { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px) saturate(180%); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

/* Card */
.card { width: min(420px, 92vw); border-radius: 16px; padding: 20px; color: #fff; text-align: center; }
.card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.card label { display: grid; gap: 6px; font-size: 14px; margin-bottom: 10px; text-align: left; }
.card input, .card textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.15); color: #fff; outline: none;
}
.card input:focus, .card textarea:focus { border-color: rgba(0, 212, 255, .8); box-shadow: 0 0 0 3px rgba(0, 212, 255, .25); }
.card button {
  width: 100%; padding: 10px 14px; border-radius: 10px; border: 0; font-weight: 700; cursor: pointer;
  background: #06b6d4; color: #fff; transition: transform 0.2s ease;
}
.card button:hover { filter: brightness(1.05); transform: scale(1.05); }
.card button:disabled { opacity: .7; cursor: default; }
.card .note { display:block; margin-top:6px; opacity:.75; font-size:12px; }

/* Honeypot hidden */
.hp { position: absolute; left: -5000px; opacity: 0; height:0; width:0; pointer-events:none; }

/* Modals */
.modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); z-index: 3; }
.modal.hidden { display: none; }
.modal__card { width: min(420px, 92vw); border-radius: 16px; padding: 18px; text-align: center; color: #fff; }
.modal__card h3 { margin: 12px 0 8px; }
.modal__card p { margin: 0 0 12px; color: #e0f2fe; }
.modal__card button { width: 100%; padding: 10px 14px; border-radius: 10px; border: 0; font-weight: 700; background: #06b6d4; color: #fff; }
.icon-check { font-size: 40px; animation: pop 0.6s ease forwards; }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); } }
