:root {
    --primary-color: #00FFFF;
    /* Cian Neón */
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --glow-shadow: 0 0 5px var(--primary-color), 0 0 15px var(--primary-color), 0 0 25px var(--primary-color);
    --secondary-color: #ff00ff;
    /* Magenta Neón for accents */
}

/* ============================
   MODO CLARO (LIGHT MODE)
   ============================ */
body.light-mode {
    --dark-bg: #f0f4f8;
    --card-bg: #ffffff;
    --text-color: #000000;
    --primary-color: #0077aa;
    --glow-shadow: 0 0 5px rgba(0, 119, 170, 0.4), 0 0 15px rgba(0, 119, 170, 0.25);
    background-color: var(--dark-bg);
    color: #000000;
}

/* Forzar texto negro en TODO el body excepto donde se sobreescriba */
body.light-mode *:not(.hero, .hero *, #accessibility-btn, #accessibility-btn *, #accessibility-panel, #accessibility-panel *) {
    color: #000000;
}

/* Navbar */
body.light-mode .navbar {
    background: rgba(240, 244, 248, 0.95);
    border-bottom-color: rgba(0, 119, 170, 0.25);
}

body.light-mode .nav-menu a {
    color: #000000;
}

body.light-mode .nav-menu a:hover {
    color: #0077aa;
}

body.light-mode .nav-cart-icon,
body.light-mode #accessibility-btn,
body.light-mode .hamburger-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 119, 170, 0.3) !important;
    color: #000000 !important;
}

/* HERO: NO cambiar la imagen ni el overlay — dejar igual que el modo oscuro */
body.light-mode .hero {
    background: #000;
}

/* HERO: imagen intacta (definida en .hero::before), solo forzar fondo negro */

body.light-mode .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
}

/* El texto del hero queda blanco porque la foto de fondo es oscura */
body.light-mode .hero h1,
body.light-mode .hero p,
body.light-mode .hero .cta-button {
    color: #ffffff;
}

body.light-mode .hero h1 {
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

/* Secciones principales */
body.light-mode .events-section {
    background: #f0f4f8;
}

body.light-mode .events-section h2 {
    color: #000000;
    text-shadow: none;
}

body.light-mode .about-section h2 {
    color: #000000;
    text-shadow: none;
}

/* Cards de eventos */
body.light-mode .event-card {
    background: #ffffff;
    border-color: rgba(0, 119, 170, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.light-mode .event-card:hover {
    box-shadow: 0 8px 28px rgba(0, 119, 170, 0.2);
}

body.light-mode .event-card-content h3,
body.light-mode .event-card-content p,
body.light-mode .event-card-content span {
    color: #000000;
}

body.light-mode .event-flyer {
    background: #e8f2f9;
    border-right-color: rgba(0, 119, 170, 0.15);
}

body.light-mode .flyer-frame {
    background: #d0e8f4;
    border-color: rgba(0, 119, 170, 0.2);
}

/* Carrito */
body.light-mode .cart-sidebar {
    background: #f8fafc;
    border-left-color: #0077aa;
}

body.light-mode .cart-sidebar h2 {
    color: #000000;
}

body.light-mode .close-cart-btn {
    color: #000000;
}

body.light-mode .cart-item {
    border-bottom-color: #e2e8f0;
}

body.light-mode .cart-item-info p,
body.light-mode .cart-item-controls p,
body.light-mode .cart-summary p {
    color: #000000;
}

body.light-mode .cart-summary {
    border-top-color: rgba(0, 119, 170, 0.2);
}

/* Checkout form */
body.light-mode #checkout-form input {
    background: #ffffff;
    border-color: rgba(0, 119, 170, 0.35);
    color: #000000;
}

body.light-mode #checkout-form input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode #checkout-form label {
    color: #000000;
}

body.light-mode #checkout-view h2,
body.light-mode #checkout-view p {
    color: #000000;
}

/* Modales */
body.light-mode .modal-content {
    background: #ffffff;
    color: #000000;
    border-color: #0077aa;
}

body.light-mode .modal-content h3,
body.light-mode .modal-content p,
body.light-mode .modal-content label {
    color: #000000;
}

body.light-mode .close-modal-btn {
    color: #000000;
}

/* Artistas */
body.light-mode .artist-card {
    background: #ffffff;
    border-color: rgba(0, 119, 170, 0.2);
}

body.light-mode .artist-card h3,
body.light-mode .artist-card p {
    color: #000000;
}

/* Contacto / social */
body.light-mode .contact-section,
body.light-mode .social-card {
    background: #e8f2f9;
}

body.light-mode .social-card h2,
body.light-mode .social-card p {
    color: #000000;
}

body.light-mode .social-name {
    color: #000000;
}

/* Footer */
body.light-mode .footer {
    background: #d0e8f4;
}

body.light-mode .footer p {
    color: #000000;
}

body.light-mode .footer-bottom {
    border-top-color: rgba(0, 119, 170, 0.2);
}

/* Botones */
body.light-mode .cta-button {
    background: #0077aa;
    color: #ffffff;
}

body.light-mode .login-button.ghost {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.4);
}

/* Search input */
body.light-mode .search-container input {
    background: #ffffff;
    color: #000000;
    border-color: rgba(0, 119, 170, 0.3);
}

body.light-mode .search-container i {
    color: #000000;
}

/* Scrollbar */
body.light-mode ::-webkit-scrollbar-track {
    background: rgba(200, 220, 235, 0.5);
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: rgba(0, 119, 170, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.4);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.8);
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.nav-logo img {
    height: clamp(40px, 8vw, 56px);
    transition: filter 0.5s ease;
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.pulse-logo {
    animation: heartbeat 4s infinite ease-in-out;
    display: inline-flex;
    align-items: center;
    position: relative;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px transparent);
    }

    5% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.6));
    }

    10% {
        transform: scale(0.98);
        filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.2));
    }

    15% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.4));
    }

    22% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px transparent);
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px transparent);
    }
}


/* Group logo + admin button on the left */
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    justify-self: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    padding: 6px 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

.nav-cart-icon {
    position: fixed;
    top: 14px;
    right: 16px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.25);
}

#cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Small login button variant */
.login-button {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* Subtle, smaller header Panel button */
.nav-panel-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.35);
    box-shadow: none;
    opacity: 0.9;
}

.nav-panel-btn:hover {
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.25);
}

.login-button.ghost {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.6);
    box-shadow: none;
}

.login-button.ghost:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

/* Floating admin button bottom-left */
.admin-fab {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 1200;
}

/* Neon transparent, larger button variant */
.neon-ghost-large {
    background: rgba(0, 255, 255, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.55);
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.25), inset 0 0 8px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.neon-ghost-large:hover {
    background: rgba(0, 255, 255, 0.14);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.45), inset 0 0 10px rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .neon-ghost-large {
        font-size: 0.9rem;
        padding: 8px 14px;
        border-radius: 10px;
    }
}

/* =======================================
   UNIVERSAL DRAWER & NAVBAR
   ======================================= */

.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2100;
}

body.light-mode .hamburger-btn {
    color: #111827;
}

/* Base del Drawer Universal */
.side-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    transition: 0.4s ease-in-out;
    z-index: 2000;
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.side-drawer.active {
    right: 0;
    box-shadow: -5px 0 30px rgba(0, 255, 255, 0.1);
}

body.light-mode .side-drawer {
    background: rgba(240, 244, 248, 0.98);
    border-left: 1px solid rgba(0, 119, 170, 0.3);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.drawer-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.close-drawer {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

body.light-mode .drawer-header h3,
body.light-mode .close-drawer {
    color: #0077aa;
}

.drawer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.drawer-divider {
    border: none;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    margin: 15px 0 25px 0;
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.drawer-btn {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary-color);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.drawer-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.drawer-btn:hover {
    background: rgba(0, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.25), inset 0 0 10px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.drawer-btn:hover i {
    transform: scale(1.2);
}

.drawer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.drawer-btn:hover::after {
    left: 100%;
}

/* Variante Ghost para botones secundarios */
.drawer-btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.drawer-btn.ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Ajustes modo claro */
body.light-mode .drawer-btn {
    background: rgba(0, 119, 170, 0.05);
    border-color: rgba(0, 119, 170, 0.3);
    color: #0077aa;
}

body.light-mode .drawer-btn:hover {
    background: rgba(0, 119, 170, 0.1);
    box-shadow: 0 5px 15px rgba(0, 119, 170, 0.15);
}

body.light-mode .drawer-btn.ghost {
    color: #333;
}

@media (min-width: 769px) {
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
        /* Mantiene el logo a la izq (1fr), menú al centro (auto), iconos a la derecha (1fr) */
        gap: 0;
    }

    .nav-right-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        grid-column: 3;
    }

    .nav-cart-icon {
        position: relative !important;
        top: auto;
        right: auto;
    }

    .hamburger-btn {
        position: relative !important;
    }

    /* Ocultar elementos móviles en Desktop Drawer */
    .mobile-only {
        display: none !important;
    }

    .drawer-divider {
        display: none;
    }

    /* Ensure action buttons show normally */
    .drawer-actions {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5%;
    }

    .nav-left {
        flex: 1;
    }

    .nav-right-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        /* Espacio entre el carrito y la hamburguesa */
    }

    /* Ocultar la barra de enlaces superior que se va al drawer */
    .nav-menu {
        display: none;
    }

    /* Íconos de Navbar unificados en Móvil */
    .hamburger-btn,
    .nav-cart-icon {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        border-radius: 10px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(0, 255, 255, 0.25) !important;
        font-size: 1.1rem !important;
        color: var(--primary-color) !important;
        margin: 0 !important;
    }

    /* No se necesitan grid-column con flexbox */

    .nav-cart-icon span#cart-count {
        top: -6px;
        right: -6px;
        transform: scale(0.9);
    }

    /* Panel de Accesibilidad */
    #accessibility-panel {
        top: 65px !important;
        right: 10px !important;
        min-width: 200px !important;
        padding: 15px !important;
        transform-origin: top right;
    }
}


/* HERO SECTION - RE DISEÑO DINÁMICO */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Imagen de fondo con efecto Ken Burns (Zoom) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?q=80&w=2070&auto=format&fit=crop') center center/cover no-repeat;
    animation: hero-ken-burns 20s infinite alternate ease-in-out;
    z-index: 1;
}

/* Capa de luz dinámica (Auroras) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(0, 255, 255, 0.1), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 0, 255, 0.1), transparent 40%);
    animation: aurora-drift 12s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    animation: fade-in-up 1s ease-out;
}

.hero p {
    animation: fade-in-up 1.2s ease-out;
}

.hero .cta-button {
    animation: fade-in-up 1.4s ease-out;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    padding: 0 5%;
}

.cta-button {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

/* EVENTS SECTION */
.events-section {
    padding: 100px 5%;
    text-align: center;
}

.events-section h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.event-cards-cont.artists-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.event-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Professional grid layout: flyer + details */
.event-card-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
}

.event-flyer {
    background: #0d0d0d;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 255, 255, 0.15);
}

.flyer-frame {
    width: 100%;
    aspect-ratio: 3/4;
    background: #111;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}

.flyer-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flyer-label {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.event-card-content {
    padding: 1.5rem;
    text-align: left;
}

.event-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.event-card-content p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.event-desc {
    color: #e6e6e6;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    margin: 10px 0 14px;
    flex-wrap: wrap;
}

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-edit-event {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.6);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-edit-event:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

@media (max-width: 900px) {
    .event-card-grid {
        grid-template-columns: 1fr;
    }

    .event-flyer {
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    }
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--primary-color);
    position: relative;
    box-shadow: var(--glow-shadow);
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.quantity-selector button {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid var(--primary-color);
    background: var(--dark-bg);
    color: var(--text-color);
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
    /* Lint: standard property */
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(400px, 90%);
    height: 100%;
    background: var(--dark-bg);
    z-index: 3000;
    transition: right 0.4s ease-in-out;
    border-left: 1px solid var(--primary-color);
    box-shadow: var(--glow-shadow);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar h2 {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--primary-color);
}

#cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-bg);
}

.cart-item-info p {
    margin: 0;
}

.cart-item-info .item-name {
    font-weight: bold;
}

/* Modern cart actions */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 77, 79, 0.06);
    color: #ff8a8c;
    border: 1px solid rgba(255, 77, 79, 0.45);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.remove-item-btn i {
    font-size: 0.95rem;
    line-height: 1;
}

.remove-item-btn:hover {
    background: rgba(255, 77, 79, 0.14);
    border-color: rgba(255, 77, 79, 0.75);
    color: #ffb3b4;
    box-shadow: 0 0 12px rgba(255, 77, 79, 0.25);
}

@media (max-width: 420px) {
    .remove-item-btn span {
        display: none;
    }

    .remove-item-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

.cart-summary {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.cart-summary p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.close-cart-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}


/* CHECKOUT FORM IN SIDEBAR */
#checkout-view {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.back-btn {
    background: transparent;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 0.8;
}

#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#checkout-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

#checkout-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#checkout-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

#checkout-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#checkout-total {
    font-weight: 700;
    color: var(--primary-color);
}

#confirm-purchase-btn {
    width: 100%;
    margin-top: 1rem;
}

.footer {
    background: #000;
    padding: 4rem 5%;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    opacity: 0.7;
}

/* SUCCESS MODAL STYLES */
.success-content {
    background: rgba(12, 16, 20, 0.95) !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    text-align: center !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.25) !important;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.success-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.success-content p {
    color: #eafcff;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

#success-modal-btn {
    min-width: 150px;
}

/* ABOUT / ARTISTS (Minimal stacked columns) */
.about-section {
    padding: 80px 5%;
}

.about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-align: left;
}

.artists-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.artist-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 768px) {
    .artist-card {
        flex-direction: column;
        max-width: 450px;
    }
}

.artist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.12);
    border-color: rgba(0, 255, 255, 0.35);
}

.artist-photo {
    flex: 0 0 300px;
    height: 300px;
    min-width: 300px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .artist-photo {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-width: 100%;
        aspect-ratio: 1 / 1;
    }
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(1.05);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.artist-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.artist-cta {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.artist-card:hover .artist-photo img {
    transform: scale(1.03);
    filter: saturate(1.2);
}

/* Divider entre tarjetas (sutil cian) */
.artist-card {
    position: relative;
}

/* ANIMACIONES DE REVELACIÓN (Scroll) */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* KEYFRAMES */
@keyframes pulse-neon {

    0%,
    100% {
        filter: drop-shadow(0 0 2px var(--primary-color));
    }

    50% {
        filter: drop-shadow(0 0 12px var(--primary-color));
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Nuevas animaciones Hero */
@keyframes hero-ken-burns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes aurora-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: translate(2%, 2%) rotate(1deg);
        opacity: 0.8;
    }

    100% {
        transform: translate(-1%, -1%) rotate(-1deg);
        opacity: 0.4;
    }
}

@keyframes title-glitch {
    0% {
        text-shadow: 0 0 10px var(--primary-color);
    }

    94% {
        text-shadow: 0 0 10px var(--primary-color);
    }

    95% {
        text-shadow: 2px 0 red, -2px 0 blue, 0 0 15px var(--primary-color);
    }

    96% {
        text-shadow: -3px 0 red, 3px 0 blue, 0 0 20px var(--primary-color);
    }

    97% {
        text-shadow: 0 0 10px var(--primary-color);
    }

    100% {
        text-shadow: 0 0 10px var(--primary-color);
    }
}

.hero h1 {
    animation: fade-in-up 1s ease-out, title-glitch 5s infinite;
}

/* EFECTO DE ESCANEO PARA CARDS */
.event-card,
.artist-card {
    position: relative;
}

.event-card::before,
.artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 255, 255, 0.05), transparent);
    transition: all 0.6s;
    z-index: 1;
    pointer-events: none;
}

.event-card:hover::before,
.artist-card:hover::before {
    left: 200%;
}

.artist-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.artist-role {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.6rem;
}

.artist-bio {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #e6e6e6;
}

/* CTA buttons (futuristic mini) */
.artist-cta {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.cta-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark-bg);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.95), rgba(0, 255, 255, 0.75));
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.35), inset 0 0 6px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.55);
}

.cta-mini.ghost {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.6);
    box-shadow: none;
}

.cta-mini.ghost:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

/* Opcional: en pantallas anchas, sigue minimal pero con aire lateral */
@media (min-width: 1024px) {
    .about-section {
        padding: 100px 18%;
    }
}

/* SEARCH CONTAINER */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    display: flex;
    align-items: center;
}

.search-container i {
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

.search-container input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-container input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* OFFLINE WARNING */
.offline-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* NO RESULTS */
.no-results {
    font-size: 1.2rem;
    opacity: 0.6;
    grid-column: 1 / -1;
    padding: 3rem;
}

/* CART IMPROVEMENTS */
.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0.5;
    gap: 1rem;
}

.empty-cart-msg i {
    font-size: 3rem;
}

.cart-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info .item-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.cart-item-info .item-price {
    font-size: 0.9rem;
    opacity: 0.6;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.qty-btn-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qty-btn-group button {
    background: transparent;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn-group button:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
}

.qty-val {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.item-subtotal {
    font-weight: 600;
    color: var(--primary-color);
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #ff4d4f;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.remove-item-btn:hover {
    opacity: 1;
}

/* Social Card in Contact Section */
.social-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.social-card h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
    width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.social-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 32px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover .social-icon {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border-color: var(--primary-color);
}

.social-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card,
.artist-card {
    animation: fadeIn 0.6s ease-out forwards;
}

@media (max-width: 1024px) {
    .artists-grid {
        gap: 2rem;
    }

    .artist-card {
        flex-direction: column;
        max-width: 500px;
    }

    .artist-photo {
        flex: 0 0 250px;
        height: 250px;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .artists-grid {
        padding: 1rem 5%;
        gap: 1.5rem;
    }

    .artist-card {
        max-width: 100%;
    }

    .artist-info {
        padding: 1.5rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 100px;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* BRAND CONCEPT CARD */
.brand-section {
    padding: 60px 5% 20px;
}

.brand-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-left: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: 22px;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.06) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(0deg, rgba(0, 255, 255, 0.06) 0 1px, transparent 1px 24px);
    opacity: 0.25;
    pointer-events: none;
    animation: gridMove 12s linear infinite;
}

.brand-card::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at 20% 20%, rgba(0, 255, 255, 0.08), transparent 45%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 48px 0, 0 48px;
    }
}

.brand-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.35));
}

.brand-text h2 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.brand-text p {
    margin: 0 0 12px 0;
    color: #e6e6e6;
    line-height: 1.6;
}

.brand-socials {
    display: flex;
    gap: 12px;
}

.brand-socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.35);
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brand-socials a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.12);
}

@media (min-width: 1024px) {
    .brand-section {
        padding: 80px 18% 30px;
    }
}

/* ==================================
   MOBILE / RESPONSIVENESS TWEAKS
   ================================== */

@media (max-width: 900px) {
    .event-card-grid {
        grid-template-columns: 1fr;
    }

    .event-flyer {
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {

    /* Typografía base / hero */
    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    /* Sections Padding */
    .events-section {
        padding: 80px 5%;
        margin-bottom: 50px;
    }

    .about-section {
        padding: 60px 5%;
        margin-bottom: 50px;
    }

    .contact-section {
        padding: 60px 4%;
        margin-bottom: 80px;
        /* para no solapar nav bottom */
    }

    /* Cards & Grids */
    .brand-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .brand-logo img {
        margin: 0 auto;
        height: 75px;
        width: 75px;
    }

    .brand-socials {
        justify-content: center;
    }

    .artists-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 5%;
    }

    .artist-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    /* Modal Checkout Mismo Ancho */
    .modal-content {
        padding: 24px 16px;
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
    }

    .close-modal-btn {
        right: 10px;
        top: 5px;
    }

    /* Ajuste de Sidebars */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .event-card-content {
        padding: 1.2rem;
    }

    .event-card-content h3 {
        font-size: 1.3rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 20px;
    }

    .event-actions {
        flex-direction: column;
        width: 100%;
    }

    .event-actions button {
        width: 100%;
        display: block;
    }
}