:root {
  --rojo: #c40025;
  --rojo2: #ff2e55;
  --fondo: #050712;
  --card: rgba(255, 255, 255, .065);
  --border: rgba(255, 255, 255, .13);
  --muted: rgba(255, 255, 255, .72);
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #fff;
  background:
    radial-gradient(900px 560px at 10% 5%, rgba(255, 46, 85, .22), transparent 62%),
    radial-gradient(850px 520px at 90% 18%, rgba(0, 204, 255, .12), transparent 60%),
    linear-gradient(180deg, var(--fondo), #060814 60%, #04050b);
  background-attachment: fixed;
}

a { color: inherit; }
.headline { font-family: "Orbitron", sans-serif; letter-spacing: .3px; }
.subtle { color: var(--muted); }
.text-rojo { color: var(--rojo2) !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(6, 8, 20, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px);
}

.badge-soft {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .38rem .7rem;
  color: rgba(255, 255, 255, .94);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}

.btn-rojo {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--rojo), var(--rojo2));
  box-shadow: 0 12px 30px rgba(196, 0, 37, .25);
}

.btn-rojo:hover, .btn-rojo:focus {
  color: #fff;
  filter: brightness(1.08);
}

.logo-mini {
  width: min(220px, 55vw);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .35));
}

.actividad-card {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.actividad-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 24px 75px rgba(0, 0, 0, .4);
}

.actividad-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, .08);
}

.actividad-contenido {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.precio {
  flex: 0 0 auto;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.detalle-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.compra-panel {
  position: sticky;
  top: 92px;
}

.form-control, .form-select {
  min-height: 48px;
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.form-control:focus, .form-select:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, .11);
  border-color: var(--rojo2);
  box-shadow: 0 0 0 .25rem rgba(255, 46, 85, .16);
}

.form-select option { color: #111; }
.form-label { font-weight: 700; }

.total-box {
  padding: 1rem;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
}

.total-box output {
  font-family: "Orbitron", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.quantity-control {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
}

.quantity-control .form-control {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  text-align: center;
}

.quantity-control button:first-child { border-radius: .375rem 0 0 .375rem; }
.quantity-control button:last-child { border-radius: 0 .375rem .375rem 0; }

.modal-content {
  color: #fff;
  background: #0c1020;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
}

footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, .7);
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .15);
}

@media (max-width: 991.98px) {
  .compra-panel { position: static; }
}

@media (max-width: 575.98px) {
  .topbar .btn { padding: .45rem .7rem; font-size: .9rem; }
}
