/* ============================================
   INTIPAS - Sistema de Venta de Entradas
   CSS Moderno - Bootstrap 5 Compatible
   ============================================ */

/* === VARIABLES CSS === */
:root {
    --navbar-height: 72px;
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --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);
}

main {
    flex: 1;
}

/* === NAVEGACIÓN === */
.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;
}

.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 navegación */
.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 MÓVIL === */
.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;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.8) 100%),
        url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    background: white;
    color: var(--primary-color);
    border: none;
    transition: var(--transition);
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

/* === 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;
}

/* === PÁ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;
    }

    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .error-page .display-1 {
        font-size: 5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section {
        padding: 2rem 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);
}

/* ============================================
   MENÚ MÓVIL 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: 2rem 0;
}

.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: 2rem;
    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.5rem;
    margin-top: 0.25rem;
}

.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 */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8fafc;
    border: none;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    width: 80px;
    padding: 1rem 0.5rem;
    background: white;
}

.quantity-input:focus {
    outline: none;
    box-shadow: none;
}

/* 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;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: #6b7280;
}

.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: 1.5rem;
    }

    .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;
    }
}

/* ============================================
   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;
    display: block;
}

.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);
}