/* Sitio público de reservas GOGO Planet — estilo neón arcade (gogoplanetcr.com). */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Slab:wght@600;700&display=swap');
:root {
  color-scheme: dark;
  --ink: #eef1ff;        /* texto claro sobre fondo oscuro */
  --muted: #9c9fc4;
  --bg: #0a003d;         /* navy profundo de marca */
  --surface: #16064f;    /* superficie de tarjetas */
  --line: #2c1f66;
  --brand: #fc3dfc;      /* magenta neón GOGO */
  --brand-dark: #d61fd6;
  --violeta: #5b2d8f;
  --amarillo: #e8d833;
  --cian: #5fe8ff;       /* cian neón, segundo acento */
  --ok: #61ce70;
  --bad: #ff6b6b;
  --bad-bg: #3a0f1f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: var(--cian); }

.hero {
  background: linear-gradient(135deg, #0a003d 0%, #5b2d8f 55%, #fc3dfc 100%);
  color: #fff;
  padding: 40px 16px 46px;
  text-align: center;
}
.hero h1 { margin: 0 0 6px; font-size: clamp(26px, 5vw, 40px); letter-spacing: -0.5px; }
.hero p { margin: 0 auto; max-width: 46ch; opacity: .92; }
.hero .btn { margin-top: 22px; background: var(--cian); color: #0a003d; }
.hero .btn:hover { filter: brightness(1.08); }

.container { max-width: 860px; margin: 0 auto; padding: 28px 16px 60px; }

h1, h2 { font-family: 'Roboto Slab', Georgia, serif; }
h2 { font-size: 22px; margin: 28px 0 12px; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; margin-bottom: 18px;
}

.tarifas { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tarifa { border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; background: var(--surface); }
.tarifa .t { font-size: 14px; color: var(--muted); }
.tarifa .p { font-size: 26px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.tarifa .d { font-size: 13px; color: var(--muted); }

.btn {
  display: inline-block; background: var(--brand); color: #fff; border: 0;
  padding: 12px 26px; border-radius: 99px; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); }
.btn.secundario { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

form.stack { display: grid; gap: 14px; max-width: 460px; }
label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink);
}
input[type="date"], input[type="time"] { color-scheme: dark; }
::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--cian); outline-offset: 1px; border-color: var(--cian);
}
.error-msg { background: var(--bad-bg); color: var(--bad); padding: 10px 14px; border-radius: 8px; }
.field-error { color: var(--bad); font-size: 13px; margin-top: 3px; }

/* Pasos del wizard */
.pasos { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.paso-chip { padding: 4px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.paso-chip.activo { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }

/* Selector de horarios */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.slots label {
  display: block; text-align: center; padding: 10px 4px; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--surface);
}
.slots input { position: absolute; opacity: 0; width: 0; height: 0; }
.slots input:checked + span { color: var(--brand); }
.slots label:has(input:checked) { border-color: var(--brand); background: rgba(252, 61, 252, 0.18); }
.slots input:focus-visible + span { outline: 2px solid var(--violeta); }

.resumen { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 0; }
.resumen dt { color: var(--muted); font-size: 14px; }
.resumen dd { margin: 0; font-weight: 600; }
.total { font-size: 22px; color: var(--brand); font-weight: 800; }

.confirm-code {
  font-size: 34px; font-weight: 800; letter-spacing: 4px; color: var(--cian);
  text-align: center; padding: 14px; background: rgba(95, 232, 255, 0.12); border-radius: 12px;
  font-variant-numeric: tabular-nums;
}

/* Desglose de cotización de eventos */
.desglose { width: 100%; border-collapse: collapse; }
.desglose td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.desglose td.precio { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.desglose .fila-total td { border-bottom: 0; padding-top: 14px; font-weight: 800; }

.pagefoot { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 16px 44px; }
.pagefoot a { color: var(--muted); }

/* Logo en el encabezado */
.logo-hero { display: block; margin: 0 auto 14px; height: 45px; width: auto; }

/* Instrucciones de depósito en el paso 3 de la reserva */
.deposito-info {
  background: rgba(95, 232, 255, 0.08); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px;
}
.deposito-info p { margin: 0 0 8px; }
.deposito-info p:last-child { margin-bottom: 0; }

/* Lluvia de meteoritos decorativa (capa superior, no bloquea clics: pointer-events:none) */
.meteors {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2147483647;
}
.meteor {
  position: absolute;
  top: -40px;
  left: 50%;
  height: 3px;
  width: 3px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 12px 2px rgba(95, 232, 255, 0.9);
  transform: rotate(215deg);
  animation-name: meteor-effect;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.meteor::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--cian), transparent);
}
@keyframes meteor-effect {
  0% { transform: rotate(215deg) translateX(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotate(215deg) translateX(-500px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .meteors { display: none; }
}
