:root {
  --deep: #12052b;
  --night: #240b4f;
  --violet: #7b2ff7;
  --orchid: #c77dff;
  --magenta: #e040fb;
  --lilac: #e9d8ff;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--deep);
  color: var(--lilac);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Fondo líquido: manchas difuminadas que flotan y se funden. */
.liquid { position: fixed; inset: 0; z-index: 0; overflow: hidden; filter: blur(60px) saturate(1.2); }
.liquid span { position: absolute; border-radius: 50%; opacity: 0.6; animation: float 24s ease-in-out infinite; }
.liquid span:nth-child(1) { width: 70vmin; height: 70vmin; background: var(--violet); left: -10vmin; top: -10vmin; }
.liquid span:nth-child(2) { width: 55vmin; height: 55vmin; background: var(--magenta); right: -10vmin; top: 20vh; animation-delay: -6s; }
.liquid span:nth-child(3) { width: 50vmin; height: 50vmin; background: var(--orchid); left: 20vw; bottom: -10vmin; animation-delay: -12s; }
.liquid span:nth-child(4) { width: 80vmin; height: 80vmin; background: #4a148c; right: -20vmin; bottom: -30vmin; animation-delay: -18s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12vmin, 8vmin) scale(1.1); }
  66% { transform: translate(-8vmin, 12vmin) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) { .liquid span { animation: none; } }

main { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 32px 16px 48px; }
.brand { font-weight: 700; letter-spacing: 0.04em; color: var(--orchid); margin: 0 0 16px; }

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

h1 { margin: 4px 0 12px; font-size: 1.8rem; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.muted { color: rgba(233, 216, 255, 0.75); margin: 0; }
.row { margin: 6px 0; }
.description { white-space: pre-line; margin: 16px 0; }
.link { color: var(--orchid); }
.small { font-size: 0.85rem; color: rgba(233, 216, 255, 0.65); }
.center { text-align: center; margin-top: 24px; }

label { display: block; margin: 20px 0 6px; font-weight: 600; }
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: #fff;
  font: inherit;
}
input:focus { outline: 2px solid var(--orchid); outline-offset: 1px; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 8px; }
button, .button {
  display: inline-block;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--lilac);
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { border-color: var(--orchid); }
button:focus-visible, .button:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; }
button.chosen { background: var(--violet); border-color: var(--violet); color: #fff; }

.calendar { margin-top: 20px; display: grid; gap: 8px; }
.calendar .button:first-of-type { background: var(--violet); border-color: var(--violet); color: #fff; }
.ghost { background: transparent; }
