﻿/* ============================================
   INTIPASS - Sistema de Venta de Entradas
   Desarrolador por Joelito Gamarra
   www.godo.pe
   ============================================ */

/* === VARIABLES CSS === */
:root {
  --navbar-height: 72px;
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #4347b3;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* COLORES PRINCIPALES MODERNOS */
  --bs-primary-rgb: 99, 102, 241;
  /* Indigo moderno */
  --bs-secondary-rgb: 71, 85, 105;
  /* Slate gris elegante */
  --bs-success-rgb: 34, 197, 94;
  /* Verde vibrante */
  --bs-info-rgb: 6, 182, 212;
  /* Cyan moderno */
  --bs-warning-rgb: 251, 146, 60;
  /* Naranja suave */
  --bs-danger-rgb: 239, 68, 68;
  /* Rojo moderno */
  --bs-light-rgb: 248, 250, 252;
  /* Gris muy claro */
  --bs-dark-rgb: 15, 23, 42;
  /* Azul oscuro moderno */
}

/* === LAYOUT BASE === */
body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--navbar-height);
}
.bg-efecto {
  background-color: #00000075 !important;
}
main {
  flex: 1;
}

/* === NAVEGACIoN === */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step {
  display: flex;
  align-items: center;
  background: #ebefef;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 4px 4px 7px #00000026;
}
.step > .step-number {
  width: 100px;
  height: 100px;
  margin-right: 50px;
  font-size: 50px;
}
.navbar-brand i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.navbar .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 0.75rem 1rem !important;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(99, 102, 241, 0.1);
}

.navbar .nav-link.active::before,
.navbar .nav-link:hover::before {
  width: 80%;
}

/* Botones de navegacion */
.navbar .btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.navbar .btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}

.navbar .btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

.navbar .btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  color: white;
}

.navbar .btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

/* === OFFCANVAS MaVIL === */
.offcanvas {
  --bs-offcanvas-width: 320px;
  background: white;
  border: none;
  box-shadow: var(--box-shadow-lg);
}

.offcanvas-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  padding: 1.5rem;
}

.offcanvas-title {
  font-weight: 800;
  margin: 0;
}

.offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.offcanvas-body {
  padding: 1.5rem;
}

.offcanvas .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.offcanvas .nav-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Toggler mejorado */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(99,102,241,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5rem;
  height: 1.5rem;
}

/* === TARJETAS/CARDS === */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  overflow: hidden;
  background: white;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-lg);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.event-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.event-card .card-body {
  position: relative;
  padding: 0;
}

.event-card .card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 0 4px 4px 0;
}

/* === TICKET DESIGN === */
.ticket-card {
  background: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticket-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ticket-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  background: #f8fafc;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.ticket-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #f8fafc;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.ticket-header {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.ticket-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 20px;
  background-image: radial-gradient(
    circle at 10px,
    transparent 10px,
    white 10px
  );
  background-size: 20px 20px;
  background-repeat: repeat-x;
}

.ticket-date {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.ticket-time {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ticket-day {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.ticket-body {
  padding: 1.5rem;
  background: white;
}

.ticket-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.ticket-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ticket-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.875rem;
}

.ticket-location {
  display: flex;
  align-items: center;
  color: #6b7280;
}

.ticket-location i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.ticket-price {
  font-weight: 700;
  color: var(--success-color);
  font-size: 1rem;
}

.ticket-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.ticket-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  color: white;
}

.ticket-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-status.soldout {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.ticket-status.limited {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

/* === SEARCH & FILTERS === */
.events-search {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 3rem;
}

.search-input-group {
  position: relative;
}

.search-input {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.25rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.filter-pill {
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary-color);
  color: white;
}

/* === PAGINATION === */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 1rem;
}

.pagination-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-custom .page-link {
  border: none;
  background: #f8fafc;
  color: #6b7280;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.pagination-custom .page-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.pagination-custom .page-link.active {
  background: var(--primary-color);
  color: white;
}

.pagination-custom .page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.875rem;
  color: #6b7280;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .ticket-card {
    margin-bottom: 1.5rem;
  }

  .ticket-card::before,
  .ticket-card::after {
    display: none;
  }

  .ticket-header {
    padding: 1.25rem;
  }

  .ticket-time {
    font-size: 1.75rem;
  }

  .ticket-body {
    padding: 1.25rem;
  }

  .ticket-title {
    font-size: 1.1rem;
  }

  .events-search {
    padding: 1.5rem;
  }

  .search-input {
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  }

  .search-icon {
    font-size: 1.1rem;
    left: 0.875rem;
  }

  .filter-pills {
    gap: 0.5rem;
  }

  .filter-pill {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .pagination-custom .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .ticket-panel {
    width: 100%;
  }

  .ticket-header {
    text-align: left;
    padding: 1rem;
  }

  .ticket-time {
    font-size: 1.5rem;
  }

  .ticket-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .ticket-price {
    font-size: 1.25rem;
  }

  .events-search {
    padding: 1rem;
  }

  .pagination-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}

/* === LOADING STATES === */
.ticket-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.ticket-card.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.search-input:focus {
  transform: scale(1.02);
}

/* === ADDITIONAL ANIMATIONS === */
@keyframes ticketPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

.ticket-card:hover {
  animation: none;
}

.ticket-status {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* === BOTONES === */
.btn {
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-secondary {
  color: #6b7280;
  border-color: #d1d5db;
  background: transparent;
}

.btn-outline-secondary:hover {
  background: #6b7280;
  border-color: #6b7280;
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* === FORMULARIOS === */
.form-control {
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* === SECCIONES === */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === PAÂGINA 404 === */
.error-page {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-page .display-1 {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-page .error-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* === FOOTER === */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer .footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer .footer-text {
  color: #9ca3af;
  line-height: 1.6;
}

.footer .footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

.footer .footer-link:hover {
  color: var(--primary-color);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .section-title {
    font-size: 2rem;
  }

  .error-page .display-1 {
    font-size: 5rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 1rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* === UTILIDADES === */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  ) !important;
}

.shadow-soft {
  box-shadow: var(--box-shadow);
}

.shadow-strong {
  box-shadow: var(--box-shadow-lg);
}

/* ============================================
   MENas MoVIL MODERNO - SLIDE FROM RIGHT
   ============================================ */

/* Mobile Menu Trigger Button */
.mobile-menu-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius-sm);
  padding: 8px;
}

.mobile-menu-trigger:hover {
  background: rgba(99, 102, 241, 0.1);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-trigger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-trigger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-trigger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--navbar-height);
}

.mobile-menu-brand {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Body */
.mobile-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}

.mobile-menu-nav {
  padding: 1rem 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  position: relative;
}

.mobile-menu-link:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-color);
  transform: translateX(4px);
}

.mobile-menu-link.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-color);
  border-right: 3px solid var(--primary-color);
}

.mobile-menu-link i:first-child {
  font-size: 1.25rem;
  width: 24px;
  margin-right: 1rem;
  color: var(--primary-color);
}

.mobile-menu-link span {
  flex: 1;
}

.mobile-menu-link i:last-child {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: var(--transition);
}

.mobile-menu-link:hover i:last-child {
  opacity: 1;
  transform: translateX(2px);
}

/* Mobile Menu Divider */
.mobile-menu-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e5e7eb 50%,
    transparent 100%
  );
  margin: 1rem 1.5rem;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.mobile-menu-btn.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.mobile-menu-btn.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.mobile-menu-btn.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  color: white;
}

.mobile-menu-btn.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-1px);
  box-shadow: var(--box-shadow);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  margin-top: auto;
  padding: 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}

.mobile-social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.mobile-menu-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Mobile Menu Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Touch gestures support */
.mobile-menu-panel {
  touch-action: pan-y;
}

/* Responsive adjustments */
@media (max-width: 376px) {
  .mobile-menu-panel {
    width: 100%;
    max-width: 100vw;
  }
}

@media (max-height: 600px) {
  .mobile-menu-header {
    padding: 1rem 1.5rem;
  }

  .mobile-menu-actions {
    padding: 0.75rem 1.5rem;
  }

  .mobile-menu-footer {
    padding: 1rem 1.5rem;
  }
}

/* ============================================
   EVENT DETAIL PAGE STYLES
   ============================================ */

/* Event Hero Section */
.event-hero {
  padding: 0rem 0;
}
.event-meta {
  padding: 10px 0px;
    display: flex;
    align-content: center;
    justify-content: center;
}
.event-meta .badge {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.event-price-card {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--box-shadow-lg);
}

.price-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Event Image */
.event-image img {
  border-radius: 16px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Event Details */
.event-details {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item i {
  font-size: 1.0rem;
}

.detail-content strong {
  font-weight: 700;
  color: var(--dark-color);
  display: block;
  margin-bottom: 0.25rem;
}

/* Purchase Sidebar */
.purchase-sidebar {
  position: sticky;
  top: 2rem;
}

.ticket-purchase-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--box-shadow-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.ticket-purchase-card .card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1.5rem;
  border: none;
}

.ticket-purchase-card .card-body {
  padding: 2rem;
}

/* No Tickets Available */
.no-tickets-available {
  text-align: center;
  padding: 2rem 0;
}

.no-tickets-available i {
  display: block;
  margin: 0 auto;
}

/* Ticket Type Options */
.ticket-types {
  margin-bottom: 1.5rem;
}

.ticket-type-option {
  margin-bottom: 1rem;
}

.ticket-type-option input[type="radio"] {
  display: none;
}

.ticket-type-label {
  display: block;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.ticket-type-option input[type="radio"]:checked + .ticket-type-label {
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.05);
}

.ticket-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ticket-name {
  font-weight: 600;
  color: var(--dark-color);
}

.ticket-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.ticket-description {
  margin: 0;
  font-size: 0.875rem;
}

/* Quantity Selector - Estilos base (se sobrescriben en la seccion TICKET LANDING) */

/* Price Summary */
.price-summary {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.total {
  font-size: 1.1rem;
  padding-top: 0.75rem;
  border-top: 2px solid #e5e7eb;
}

/* Purchase Button */
.purchase-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.purchase-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Event Info Card */
.event-info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.info-list i {
  font-size: 1rem;
}

/* Share Event */
.share-event {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #ffffff;
  background: #1f2937;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.share-btn:hover {
  color: white;
  transform: translateX(5px);
}

.share-btn.facebook:hover {
  background: #1877f2;
}
.share-btn.twitter:hover {
  background: #1da1f2;
}
.share-btn.whatsapp:hover {
  background: #25d366;
}
.share-btn.copy:hover {
  background: #6c757d;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  color: white;
}

/* Content Formatting */
.content-formatted {
  line-height: 1.8;
  color: #374151;
}

.content-formatted p {
  margin-bottom: 1rem;
}

/* Event Terms */
.event-terms .alert {
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.05);
}

.event-terms a {
  color: var(--primary-color);
  font-weight: 600;
}

.event-terms a:hover {
  text-decoration: underline;
}

/* Responsive Design for Event Detail */
@media (max-width: 768px) {
  .event-hero {
    padding: 1rem 0;
  }

  .event-price-card {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .event-image img {
    height: 250px;
  }

  .event-details {
    padding: 1rem;
  }

  .purchase-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .ticket-purchase-card .card-body {
    padding: 1.5rem;
  }

  .quantity-selector {
    max-width: 200px;
    margin: 0 auto;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

/* ============================================
   TICKET LANDING & WIZARD STYLES
   ============================================ */

/* Ticket Landing */
.ticket-landing {
  min-height: 100vh;
}

.ticket-hero {
  position: relative;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.ticket-badges .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.info-item {
  margin-bottom: 0.5rem;
}

.urgent-purchase-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid #dc3545;
}

.countdown-big .countdown-box {
  background: #dc3545;
  color: white;
  border-radius: 10px;
  padding: 1rem 0.5rem;
  margin: 0 2px;
}

.countdown-big .countdown-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.pulse-button {
  animation: pulse-glow 2s infinite;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.8);
    transform: scale(1.02);
  }
}

.unavailable-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 3rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0d6efd;
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-2px);
}

.detail-card .detail-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.includes-list {
  list-style: none;
  padding: 0;
}

.includes-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-info-card,
.guarantees-card,
.share-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.share-buttons {
  display: grid;
  gap: 0.5rem;
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.event-summary {
  background: transparent;
  padding: 0;
  height: 100%;
}

.detail-item {
  display: flex;
  align-items: center;
}

/* Price Display */
.price-display {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 2px solid #e9ecef;
}

.price-display .price-label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price-display .price-amount {
  font-size: 2rem;
  font-weight: bold;
  color: #198754;
}

/* Quantity Row - Nuevo diseno con precio al lado */
.quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 2px solid #e9ecef;
}

.quantity-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #198754;
}

/* Actualizar Quantity Selector para el wizard */
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.quantity-selector .quantity-btn {
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quantity-selector .quantity-btn:hover {
  background: #0b5ed7;
  transform: scale(1.1);
}

.quantity-selector .quantity-input {
  width: 70px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 0.5rem;
}

/* Wizard de 2 Pasos - Progress Indicator */
.wizard-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 2px solid #dee2e6;
  gap: 1rem;
}

.wizard-progress .step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.wizard-progress .step.active {
  opacity: 1;
}

.wizard-progress .step-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #6c757d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.wizard-progress .step.active .step-number {
  background: #0d6efd;
  box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
}

.wizard-progress .step-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Resumen de Compra Paso 2 */
.purchase-summary {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
}

.purchase-summary .summary-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.purchase-summary .summary-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.purchase-summary .summary-item i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

/* Desglose de Precio Compacto */
.price-breakdown {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
}

.price-breakdown .price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.price-breakdown .price-row.total {
  margin-top: 0.5rem;
}

/* Animaciones de transicion entre pasos */
.wizard-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Ticket Landing */
@media (max-width: 768px) {
  .ticket-hero {
    min-height: 50vh;
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .urgent-purchase-card {
    padding: 1rem;
  }

  .countdown-big .countdown-box {
    padding: 0.5rem 0.25rem;
  }

  .countdown-big .countdown-number {
    font-size: 1rem;
  }

  /* Wizard en moviles: ocultar desktop view */
  #wizardStep1.d-none,
  #wizardStep2.d-none {
    display: none !important;
  }

  /* Ajustes de modal en moviles */
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100vh;
  }

  .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .modal-body {
    overflow-y: auto;
    flex: 1;
  }

  /* Botones mas grandes en moviles */
  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }

  /* Selectores de cantidad mas grandes */
  .quantity-selector .quantity-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .quantity-selector .quantity-input {
    width: 80px;
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  /* En desktop, ocultar wizard y mostrar vista normal */
  #wizardStep1 {
    display: block !important;
  }

  #wizardStep2 {
    display: none !important;
  }

  .desktop-view {
    display: block !important;
  }

  .wizard-progress {
    display: none !important;
  }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.legal-document {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--box-shadow-lg);
  line-height: 1.8;
}

.legal-document h1 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.legal-document h2 {
  color: var(--primary-color);
  border-bottom: 2px solid #e5e7eb;
}

.legal-document h3 {
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-document ul,
.legal-document ol {
  margin-bottom: 1.5rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
}

/* Help Center Styles */
.search-help .input-group-text {
  background: white;
  border-color: #e5e7eb;
}

.search-help .form-control {
  border-color: #e5e7eb;
  padding: 1rem;
}

.search-help .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.help-categories {
  margin-bottom: 3rem;
}

.help-category-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.help-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-lg);
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.category-icon i {
  font-size: 2rem;
  color: white;
}

.help-category-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.help-category-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.contact-support .contact-option {
  text-align: center;
  padding: 1rem;
}

.contact-option i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* PWA Install Modal */
#pwa-install-modal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
#pwa-install-modal .modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border-bottom: none;
  padding: 1.5rem;
}
#pwa-install-modal .modal-title {
  font-weight: 700;
}
#pwa-install-modal .modal-body {
  padding: 2rem;
  font-size: 1.1rem;
}
#pwa-install-modal .modal-footer {
  border-top: none;
  padding: 0 1.5rem 1.5rem;
}
#pwa-install-modal .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.contact-option strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-option p {
  margin: 0;
  font-size: 0.9rem;
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--bs-primary-bg-subtle);
  border: none;
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background: white;
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
  .legal-document {
    padding: 2rem;
  }

  .legal-document h1 {
    font-size: 2rem;
  }

  .legal-document h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .help-category-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .category-icon {
    width: 60px;
    height: 60px;
  }

  .category-icon i {
    font-size: 1.5rem;
  }
}

.faq-category {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  padding: 5px;
}

.faq-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-lg);
}

.faq-category i {
  font-size: 3rem;
  color: var(--primary-color);
}

.exception-card {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  padding: 5px;
}

.exception-card i {
  font-size: 3rem;
  color: var(--primary-color);
}

/* Mobile floating buy button and modal */
.mobile-floating-buy-btn {
  position: fixed;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  z-index: 1080;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  display: flex;
  gap: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-floating-buy-btn i {
  font-size: 1.1rem;
}

.mobile-purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: none;
}
.mobile-purchase-modal .card-header {
  padding: 0.5rem;
}
.mobile-floating-modal .ticket-type-label {
  padding: 0.5rem;
}
.mobile-purchase-modal .card-body {
  padding: 0.5rem;
}
.mobile-purchase-modal .ticket-info {
  display: flex;
  flex-direction: row;
  margin-bottom: 0px;
  padding: 0rem;
}
.mobile-purchase-modal .price-summary {
  padding: 0rem;
}
.mobile-purchase-modal.open {
  display: block;
}

.mobile-purchase-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-purchase-modal-dialog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  max-height: 100vh;
  overflow: auto;
  padding: 0.5rem;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
}

.mobile-purchase-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eef2ff;
}

.mobile-purchase-modal-body {
  padding: 1rem;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
}


/* === BOTON FLOTANTE DE COMPRA (TICKETS) === */
.purchase-card-urgent {
    position: sticky;
    top: 2rem;
}

.floating-buy-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* DESKTOP: Boton flota cuando hace scroll ABAJO */
@media (min-width: 992px) {
    .floating-buy-button.is-floating {
        position: fixed;
        top: 90px;
        right: 25px;
        z-index: 1040;
        width: 320px;
        animation: gentle-float 3s ease-in-out infinite;
        box-shadow: 0 12px 35px rgba(220, 53, 69, 0.5);
    }
}

/* MOVIL: Boton SIEMPRE flotante al fondo */
@media (max-width: 991px) {
    .floating-buy-button {
        position: fixed !important;
        bottom: 85px !important;
        left: 15px !important;
        right: 15px !important;
        top: auto !important;
        width: auto !important;
        z-index: 1040 !important;
        margin: 0 !important;
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.6) !important;
        animation: pulse-buy-mobile 2.5s infinite !important;
    }
    
    .ticket-hero {
        padding-bottom: 90px;
    }
    
    .ticket-details-section {
        padding-bottom: 110px !important;
    }
}

/* Animaciones */
@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse-buy-mobile {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.6);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(220, 53, 69, 0.8);
    }
}

/* Lista simple de tickets */
.tickets-simple-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ticket-simple-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.ticket-simple-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.ticket-simple-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ticket-simple-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ticket-simple-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-color);
}

.ticket-simple-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}

.ticket-simple-right {
    display: flex;
    align-items: center;
    gap: 0rem;
    flex-shrink: 0;
    flex-direction: column;
}

.ticket-simple-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.ticket-simple-item .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.ticket-simple-item .btn:hover {
    transform: translateY(-1px);
}

/* Responsive para lista simple */
@media (max-width: 576px) {
    .ticket-simple-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .ticket-simple-right {
        justify-content: space-between;
        align-items: center;
    }
    
    .ticket-simple-item .btn {
        flex: 1;
        max-width: 120px;
    }
}

/* === NAVEGACION MOVIL INFERIOR === */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0rem 0rem calc(env(safe-area-inset-bottom) + 0.6rem);
    background: rgba(20, 24, 46, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.25rem;
}

.mobile-bottom-nav__item i {
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item.is-active {
    color: #fff;
}

.mobile-bottom-nav__item.is-active i {
    color: #6366f1;
    transform: scale(1.1);
}

/* === CTA FLOTANTE MOVIL === */
.mobile-ticket-fab {
    position: fixed;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1070;
    border: none;
    background: linear-gradient(135deg, #6366f1 0%, #4347b3 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-family: inherit;
    justify-content: center;
    width: 100%;
}

.mobile-ticket-fab:active {
    transform: translateX(-50%) scale(0.95);
}

.mobile-ticket-fab span {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.mobile-ticket-fab strong {
    font-size: 1.05rem;
    font-weight: 700;
}

/* === MODAL DE TICKETS MOVIL === */
.mobile-ticket-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-ticket-modal.is-visible {
    display: block;
    opacity: 1;
}

.mobile-ticket-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
}

.mobile-ticket-modal__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 1.5rem 1.25rem calc(env(safe-area-inset-bottom) + 1.25rem) 1.25rem;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.2);
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-ticket-modal.is-visible .mobile-ticket-modal__sheet {
    transform: translateY(0);
}

.mobile-ticket-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.mobile-ticket-modal__header h3 {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.3;
    color: #1f2937;
}

.mobile-ticket-modal__header .modal-eyebrow {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.mobile-ticket-modal__close {
    border: none;
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-ticket-modal__close:active {
    transform: scale(0.9);
    background: rgba(99, 102, 241, 0.15);
}

.mobile-ticket-modal__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-ticket-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f3f4ff 100%);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mobile-ticket-option:active {
    transform: scale(0.98);
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #eef0ff 0%, #e8eaff 100%);
}

.mobile-ticket-option__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.mobile-ticket-option__name {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.mobile-ticket-option__desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}

.mobile-ticket-option__price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #4f46e5;
}

.mobile-ticket-option__price i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.mobile-ticket-modal__footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.8rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

body.modal-open-mobile {
    overflow: hidden;
}

/* === FIX PARA MODALES DE BOOTSTRAP === */
/* Prevenir padding-right excesivo */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

.modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-open .modal {
    padding-right: 0 !important;
}

/* === CHAT PAGE === */
.chat-iframe-wrapper {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
    background: #f8f9ff;
}

/* === HERO LIMPIO PARA EVENTOS (sin overlays) === */
.event-hero-clean {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    line-height: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Desktop: ancho 100%, altura automatica */
@media (min-width: 768px) {
    .hero-image-container {
        width: 100%;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Movil: ancho 100%, altura automatica */
@media (max-width: 767.98px) {
    .hero-image-container {
        width: 100%;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Header de informacion debajo de la imagen */
.event-info-header {
    padding-top: 0rem;
}

.event-info-header h1 {
    font-weight: 700;
    line-height: 1.2;
}

.event-info-header .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 767.98px) {
    /* Reserva para la barra inferior SOLO si la pagina la renderiza (evita franja muerta) */
    body:has(.mobile-bottom-nav) {
        padding-bottom: calc(75px + env(safe-area-inset-bottom));
    }

    .chat-iframe-wrapper {
        height: calc(100vh - 200px);
        min-height: 500px;
        max-height: none;
    }

    /* Ocultar precio en moviles (mostrar solo en sidebar) */
    .event-info-header .event-price-card {
        display: none !important;
    }
    
    .purchase-sidebar {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-ticket-fab,
    .mobile-ticket-modal,
    .mobile-bottom-nav {
        display: none !important;
    }

    /* Estilos desktop adicionales si necesarios */
    .event-info-header {
        padding-top: 2.5rem;
    }
}

/* === ORDEN - FORMULARIO DE COMPROBANTE === */
/* Card de subir voucher siempre visible y accesible */
.voucher-upload-card {
    border-width: 2px !important;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: #dc3545;
    }
    50% {
        border-color: #ff6b6b;
    }
}

/* Responsive movil - compacto pero NO sticky */
@media (max-width: 767.98px) {
    /* Card de comprobante destacado pero estatico en moviles */
    .voucher-upload-card {
        position: relative;
        margin-bottom: 1.5rem !important;
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4) !important;
        border-width: 3px !important;
    }
    
    .voucher-upload-card .card-header {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .voucher-upload-card .card-header h5 {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0;
    }
    
    .voucher-upload-card .card-header i {
        font-size: 1.2rem;
    }
    
    /* Compactar el formulario */
    .voucher-upload-card .card-body {
        padding: 1rem;
    }
    
    .voucher-upload-card .alert {
        padding: 0.75rem;
        font-size: 0.875rem;
        margin-bottom: 1rem !important;
    }
    
    .voucher-upload-card .form-label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #dc3545;
    }
    
    .voucher-upload-card .form-label i {
        font-size: 1.1rem;
    }
    
    /* Input file grande y visible */
    .voucher-upload-card input[type="file"] {
        padding: 1rem;
        border: 3px dashed #dc3545;
        background: #fff;
        cursor: pointer;
        min-height: 60px;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .voucher-upload-card input[type="file"]:focus {
        border-color: #c82333;
        box-shadow: 0 0 0 0.3rem rgba(220, 53, 69, 0.3);
        background: #fff5f5;
    }
    
    /* Boton grande y llamativo */
    .voucher-upload-card .btn-danger {
        font-size: 1.1rem;
        font-weight: 700;
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        border: none;
    }
    
    .voucher-upload-card .btn-danger:active {
        transform: scale(0.98);
    }
    
    /* Form text mas legible */
    .voucher-upload-card .form-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Desktop - normal */
@media (min-width: 768px) {
    .voucher-upload-card {
        margin-bottom: 2rem !important;
    }
    
    .voucher-upload-card .card-header h5 {
        font-size: 1.25rem;
    }
}

