/* ===========================================================================
   TORRIJA LEAGUE — TOUR INTERACTIVO
   Bottom sheet nativo · Sin blur · Sin brillos · 100% app-native
   =========================================================================== */

/* ── Overlay oscuro (capa base, sin blur) ─────────────────────────────────── */
.torrija-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
  pointer-events: auto;
  user-select: none;
}

.torrija-tour-overlay.activo {
  opacity: 1;
  visibility: visible;
}

/* ── Máscara SVG — SIN BLUR, puro fill oscuro ─────────────────────────────── */
.torrija-tour-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99991;
}

#torrija-tour-hole {
  transition:
    x      0.28s cubic-bezier(0.16, 1, 0.3, 1),
    y      0.28s cubic-bezier(0.16, 1, 0.3, 1),
    width  0.28s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    rx     0.22s ease;
}

/* ── Marco del spotlight — hairline limpio, sin glow ─────────────────────── */
.torrija-tour-spotlight-frame {
  position: fixed;
  z-index: 99992;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  transition:
    left   0.28s cubic-bezier(0.16, 1, 0.3, 1),
    top    0.28s cubic-bezier(0.16, 1, 0.3, 1),
    width  0.28s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Bottom sheet — idéntico a #bottomSheetFavoritos ─────────────────────── */
.torrija-tour-card {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.85);
  padding: 10px 20px 32px 20px;
  box-sizing: border-box;
  pointer-events: auto;
  transform: translateY(100%);
  transition: transform 0.30s cubic-bezier(0.16, 1, 0.3, 1);
}

.torrija-tour-card.visible {
  transform: translateY(0);
}

/* ── Handle (manilla) — idéntica a la del app ─────────────────────────────── */
.torrija-tour-handle {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 3px;
  margin: 0 auto 16px auto;
}

/* ── Contador de paso ─────────────────────────────────────────────────────── */
.torrija-tour-counter {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ── Título — Space Grotesk 800 como .bottom-sheet-title-wrap h3 ─────────── */
.torrija-tour-title {
  margin: 0 0 6px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* ── Descripción — 1 frase, color secundario de la app ───────────────────── */
.torrija-tour-desc {
  margin: 0 0 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* ── Pie con navegación ───────────────────────────────────────────────────── */
.torrija-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Skip */
.torrija-tour-btn-skip {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.30);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.80rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
  line-height: 1;
}

.torrija-tour-btn-skip:hover {
  color: rgba(255, 255, 255, 0.60);
}

/* Grupo nav (← y Siguiente →) */
.torrija-tour-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botón prev */
.torrija-tour-btn-prev {
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.15s ease;
  line-height: 1;
}

.torrija-tour-btn-prev:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Botón next — acento volt */
.torrija-tour-btn-next {
  background: #ccff00;
  border: none;
  color: #000000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.15s ease;
  line-height: 1;
}

.torrija-tour-btn-next:hover {
  background: #d4ff1a;
}

/* Puntos de progreso */
.torrija-tour-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.torrija-tour-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.18s ease, width 0.18s ease;
}

.torrija-tour-dot.active {
  background: #ffffff;
  width: 14px;
  border-radius: 3px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .torrija-tour-card {
    padding: 10px 16px 28px 16px;
  }
  .torrija-tour-title {
    font-size: 1.1rem;
  }
}
