/**
 * CSS Global para el Header - Solo Escritorio
 */

/* Bandera de Ecuador en el título */
.ecuador-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(to bottom,
        #FFD100 0%, #FFD100 50%,
        #0033A0 50%, #0033A0 75%,
        #CE1126 75%, #CE1126 100%
    );
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    flex-shrink: 0;
    animation: flagAnimations 60s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover interactivo: crece + tiembla + brilla */
.ecuador-flag:hover {
    animation-play-state: paused;
    transform: scale(1.3);
    box-shadow: 0 0 12px 4px rgba(255,209,0,0.8), 0 0 20px 6px rgba(0,51,160,0.5);
}
.ecuador-flag:hover {
    animation: hoverShake 0.5s ease-in-out;
}
@keyframes hoverShake {
    0%, 100% { transform: scale(1.3) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-5deg); }
    75% { transform: scale(1.3) rotate(5deg); }
}

/* 12 Animaciones combinadas: cada una dura 5 segundos (60s total) */
@keyframes flagAnimations {
    /* 1. PULSE - 0 a 5s (0% - 8.33%) */
    0% { transform: scale(1); box-shadow: 0 1px 2px rgba(0,0,0,0.3); opacity: 1; }
    2% { transform: scale(1.15); }
    4% { transform: scale(1); }
    6% { transform: scale(1.15); }
    8.33% { transform: scale(1); }

    /* 2. SHAKE - 5 a 10s (8.33% - 16.67%) */
    9% { transform: translateX(-3px); }
    9.5% { transform: translateX(3px); }
    10% { transform: translateX(-3px); }
    10.5% { transform: translateX(3px); }
    11% { transform: translateX(0); }
    13% { transform: translateX(-3px); }
    13.5% { transform: translateX(3px); }
    14% { transform: translateX(-3px); }
    14.5% { transform: translateX(3px); }
    16.67% { transform: translateX(0); }

    /* 3. SWING - 10 a 15s (16.67% - 25%) */
    18% { transform: rotate(10deg); }
    19.5% { transform: rotate(-10deg); }
    21% { transform: rotate(8deg); }
    22.5% { transform: rotate(-8deg); }
    24% { transform: rotate(4deg); }
    25% { transform: rotate(0deg); }

    /* 4. GLOW - 15 a 20s (25% - 33.33%) */
    26% { box-shadow: 0 0 10px 3px rgba(255,209,0,0.9); }
    28% { box-shadow: 0 0 3px 1px rgba(255,209,0,0.3); }
    30% { box-shadow: 0 0 10px 3px rgba(0,51,160,0.9); }
    32% { box-shadow: 0 0 3px 1px rgba(206,17,38,0.9); }
    33.33% { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }

    /* 5. SPIN - 20 a 25s (33.33% - 41.67%) */
    34.5% { transform: rotate(0deg); }
    37% { transform: rotate(360deg); }
    39% { transform: rotate(0deg); }
    41% { transform: rotate(360deg); }
    41.67% { transform: rotate(0deg); }

    /* 6. FLIP - 25 a 30s (41.67% - 50%) */
    43% { transform: scaleX(1); }
    44.5% { transform: scaleX(-1); }
    46% { transform: scaleX(1); }
    47.5% { transform: scaleX(-1); }
    50% { transform: scaleX(1); }

    /* 7. ROTATE3D - 30 a 35s (50% - 58.33%) */
    51% { transform: perspective(100px) rotateY(0deg); }
    53% { transform: perspective(100px) rotateY(180deg); }
    55% { transform: perspective(100px) rotateY(360deg); }
    58.33% { transform: perspective(100px) rotateY(0deg); }

    /* 8. FADE - 35 a 40s (58.33% - 66.67%) */
    59% { opacity: 1; }
    61% { opacity: 0.3; }
    63% { opacity: 1; }
    65% { opacity: 0.3; }
    66.67% { opacity: 1; }

    /* 9. WAVE - 40 a 45s (66.67% - 75%) */
    68% { transform: skewX(0deg) scaleY(1); }
    69% { transform: skewX(5deg) scaleY(0.95); }
    70% { transform: skewX(-5deg) scaleY(1.05); }
    71% { transform: skewX(5deg) scaleY(0.95); }
    72% { transform: skewX(-5deg) scaleY(1.05); }
    73.5% { transform: skewX(3deg) scaleY(0.98); }
    75% { transform: skewX(0deg) scaleY(1); }

    /* 10. SHIMMER - 45 a 50s (75% - 83.33%) */
    76% { box-shadow: -10px 0 10px rgba(255,255,255,0); }
    78% { box-shadow: 10px 0 15px rgba(255,255,255,0.8); }
    80% { box-shadow: 20px 0 10px rgba(255,255,255,0); }
    82% { box-shadow: 10px 0 15px rgba(255,255,255,0.8); }
    83.33% { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }

    /* 11. SHADOW PULSE - 50 a 55s (83.33% - 91.67%) */
    84% { box-shadow: 0 0 0 0 rgba(99,102,241,0.7); }
    86% { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
    88% { box-shadow: 0 0 0 0 rgba(255,209,0,0.7); }
    90% { box-shadow: 0 0 0 8px rgba(255,209,0,0); }
    91.5% { box-shadow: 0 0 0 0 rgba(206,17,38,0.7); }
    91.67% { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }

    /* 12. MEGA PULSE - 55 a 60s (91.67% - 100%) - Crece 3x y se desvanece */
    92% { transform: scale(1); opacity: 1; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
    93.5% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 15px 5px rgba(255,209,0,0.6); }
    95% { transform: scale(2); opacity: 0.9; box-shadow: 0 0 20px 8px rgba(0,51,160,0.6); }
    96.5% { transform: scale(2.5); opacity: 0.7; box-shadow: 0 0 25px 10px rgba(206,17,38,0.6); }
    97.5% { transform: scale(3); opacity: 0.4; box-shadow: 0 0 30px 12px rgba(255,209,0,0.8); }
    98.5% { transform: scale(3); opacity: 0.1; box-shadow: 0 0 35px 15px rgba(99,102,241,0.5); }
    99.5% { transform: scale(1); opacity: 0; }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
}

/* Ocultar paginación de carruseles */
.swiper-pagination,
.swiper-pagination-bullets,
.swiper-pagination-bullet,
.slick-dots,
.owl-dots,
.swipe-nav-indicator,
.swipe-dot,
.swipe-hint {
    display: none;
}

/* ========================================
   HEADER GLOBAL - Layout compacto
   ======================================== */
.global-mobile-header {
    display: flex;
    align-items: center;
    height: 56px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Fix FOUC: Tamaños explícitos para SVGs antes de que Tailwind cargue */
.global-mobile-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
#btnMobileMenu svg {
    width: 22px;
    height: 22px;
}
#btnSearchToggle svg {
    width: 22px;
    height: 22px;
}
#btnProfile svg,
#btnLoginToggle svg {
    width: 20px;
    height: 20px;
}
.profile-menu svg {
    width: 20px;
    height: 20px;
}
#mobileNav svg {
    width: 20px;
    height: 20px;
}
#mobileNav .nav-item.active svg {
    width: 28px;
    height: 28px;
}

#headerWrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    gap: 0;
    overflow: visible;
    position: relative;
}

/* Hamburger - pegado a la izquierda */
#btnMobileMenu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}
#btnMobileMenu:hover {
    background: rgba(255,255,255,0.1);
}
#btnMobileMenu svg {
    width: 22px;
    height: 22px;
}

/* Search container - sin espacio extra */
#searchContainer {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    width: fit-content;
    flex-shrink: 0;
}

#btnSearchToggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}
#btnSearchToggle:hover {
    background: rgba(255,255,255,0.1);
}
#btnSearchToggle svg {
    width: 22px;
    height: 22px;
}

#searchInputWrapper {
    display: none;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 0;
    flex-shrink: 0;
}

#searchInputWrapper.expanded {
    display: flex;
    width: auto;
}

#searchInput {
    padding: 6px 12px;
    font-size: 14px;
    width: 200px;
    min-width: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 20px;
    color: white;
    outline: none;
}
#searchInput::placeholder {
    color: rgba(255,255,255,0.5);
}
#searchInput:focus {
    box-shadow: 0 0 0 2px rgba(99,102,241,0.5);
}

#btnVoiceSearch {
    display: none;
}

#btnVoiceSearch.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    background: rgba(99,102,241,0.3);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}
#btnVoiceSearch svg {
    width: 18px;
    height: 18px;
}

/* Título - pegado al buscador */
#headerTitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    margin-left: 12px;
    padding: 0;
    white-space: nowrap;
    color: #6366f1;
    font-weight: bold;
}
#headerTitle > span:first-child {
    font-size: 20px;
}
#headerTitle > span:last-child {
    font-size: 16px;
    animation: textGlow 60s ease-in-out infinite;
}

/* Animación de brillo para el texto Ecuador Music */
@keyframes textGlow {
    /* Estado normal la mayor parte del tiempo */
    0%, 24% { text-shadow: none; color: #6366f1; }

    /* 4. GLOW - sincronizado con bandera (15-20s / 25%-33.33%) */
    26% { text-shadow: 0 0 10px rgba(255,209,0,0.9), 0 0 20px rgba(255,209,0,0.5); color: #FFD100; }
    28% { text-shadow: 0 0 5px rgba(255,209,0,0.3); color: #6366f1; }
    30% { text-shadow: 0 0 10px rgba(0,51,160,0.9), 0 0 20px rgba(0,51,160,0.5); color: #0033A0; }
    32% { text-shadow: 0 0 10px rgba(206,17,38,0.9), 0 0 20px rgba(206,17,38,0.5); color: #CE1126; }
    33.33% { text-shadow: none; color: #6366f1; }

    /* Normal entre efectos */
    33.34%, 74% { text-shadow: none; color: #6366f1; }

    /* 10. SHIMMER - sincronizado (45-50s / 75%-83.33%) */
    76% { text-shadow: -5px 0 10px rgba(255,255,255,0.8); }
    78% { text-shadow: 5px 0 15px rgba(255,255,255,1), 0 0 20px rgba(99,102,241,0.8); }
    80% { text-shadow: 15px 0 10px rgba(255,255,255,0.8); }
    82% { text-shadow: 5px 0 15px rgba(255,255,255,1); }
    83.33% { text-shadow: none; color: #6366f1; }

    /* Normal entre efectos */
    83.34%, 90% { text-shadow: none; color: #6366f1; }

    /* 12. MEGA PULSE - sincronizado (55-60s / 91.67%-100%) */
    92% { text-shadow: 0 0 5px rgba(255,209,0,0.5); transform: scale(1); }
    93.5% { text-shadow: 0 0 15px rgba(255,209,0,0.8), 0 0 25px rgba(255,209,0,0.4); }
    95% { text-shadow: 0 0 20px rgba(0,51,160,0.8), 0 0 35px rgba(0,51,160,0.4); }
    96.5% { text-shadow: 0 0 25px rgba(206,17,38,0.8), 0 0 40px rgba(206,17,38,0.4); }
    97.5% { text-shadow: 0 0 30px rgba(255,209,0,1), 0 0 50px rgba(255,209,0,0.6); color: #FFD100; }
    98.5% { text-shadow: 0 0 35px rgba(99,102,241,0.8); opacity: 0.3; }
    99.5% { text-shadow: none; opacity: 0; }
    100% { text-shadow: none; color: #6366f1; opacity: 1; }
}
#headerTitle.hidden {
    display: none;
}

/* Spacer - empuja todo a la derecha */
#headerSpacer {
    flex: 1;
    pointer-events: none;
}

/* Login button - pegado a la derecha */
#btnLoginToggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}
#btnLoginToggle:hover {
    background: rgba(255,255,255,0.1);
}
#btnLoginToggle svg {
    width: 20px;
    height: 20px;
}
#btnLoginToggle span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Profile button - pegado a la derecha */
#btnProfile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    margin: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    flex-shrink: 0;
}
#btnProfile:hover {
    background: rgba(255,255,255,0.1);
}
#btnProfile img,
#btnProfile > div:first-child {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}
#btnProfile span {
    font-size: 14px;
}

/* Avatar placeholder */
.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.avatar-placeholder span {
    font-size: 14px;
    font-weight: 600;
}

/* Login container */
#loginContainer {
    position: relative;
}

#btnLoginToggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
    touch-action: manipulation;
}
#btnLoginToggle:hover {
    background: rgba(255,255,255,0.1);
}
#btnLoginToggle svg {
    width: 20px;
    height: 20px;
}
#btnLoginToggle span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ========================================
   DROPDOWN DE BÚSQUEDA
   ======================================== */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 400px;
    max-height: 70vh;
    background: rgba(30, 27, 56, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-dropdown.hidden {
    display: none;
}

.search-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(99, 102, 241, 0.1);
}

.search-module-badge {
    font-size: 11px;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-results-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.search-dropdown-list {
    flex: 1;
    overflow-y: auto;
    max-height: 50vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.search-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    flex-wrap: wrap;
}

.search-result-item:hover,
.search-result-item.selected {
    background: rgba(99, 102, 241, 0.15);
}

.search-result-item.selected {
    background: rgba(99, 102, 241, 0.25);
}

.search-result-cover {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 14px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.search-result-artist:hover {
    color: #6366f1;
    text-decoration: underline;
}

.search-result-lyrics {
    font-size: 11px;
    color: #fbbf24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
    width: 100%;
    padding-top: 4px;
}

.search-result-action {
    font-size: 11px;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    padding: 4px 10px;
    border-radius: 12px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.search-result-item:hover .search-result-action,
.search-result-item.selected .search-result-action {
    opacity: 1;
}

.search-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.search-dropdown-footer span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-family: monospace;
}

/* Estados de carga y error */
.search-loading,
.search-no-results,
.search-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.search-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-error {
    color: #ef4444;
}

/* Toast notification */
.global-search-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(99, 102, 241, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.global-search-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Botones Deck A/B para DJ */
.search-result-deck-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.search-result-item:hover .search-result-deck-btns,
.search-result-item.selected .search-result-deck-btns {
    opacity: 1;
}

.deck-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deck-btn-a {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.deck-btn-a:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.deck-btn-b {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.deck-btn-b:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

/* ========================================
   MENÚ PERFIL
   ======================================== */
.profile-menu {
    z-index: 99999;
    pointer-events: auto;
}

.profile-menu-item {
    cursor: pointer;
    display: flex;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
    user-select: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.profile-menu-item * {
    pointer-events: none;
}

.profile-menu-item:active {
    background: rgba(255, 255, 255, 0.15);
}

/* Botones específicos del menú perfil */
#btnShowHistory,
#btnShowProfile,
#btnSettings,
#btnLogout {
    touch-action: manipulation;
    -webkit-appearance: none;
    border: none;
    background: transparent;
}

/* Contador de usuarios online */
.online-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    flex-shrink: 0;
}

/* ========================================
   MODO SIN ANIMACIONES - Header
   ======================================== */
body.reduce-animations .ecuador-flag {
    animation-name: none;
    animation-duration: 0s;
}
body.reduce-animations .ecuador-flag:hover {
    animation-name: none;
    transform: scale(1.1);
}
body.reduce-animations #headerTitle > span:last-child {
    animation-name: none;
    animation-duration: 0s;
}
body.reduce-animations .search-loading .spinner {
    animation-name: none;
}

/* ========================================
   RESPONSIVE - Título abreviado en móviles
   ======================================== */
@media (max-width: 480px) {
    #headerTitle {
        display: none;
    }
    #btnProfile > span {
        display: none;
    }
    .search-dropdown {
        width: calc(100vw - 16px);
        left: -8px;
    }
}

/* ========================================
   PWA Móvil - Nav compacto en header
   ======================================== */
.pwa-mobile-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pwa-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    background: transparent;
}

.pwa-nav-link.pwa-nav-active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* PWA Móvil - Quitar animaciones, transiciones y backdrop-blur */
@media (max-width: 768px) {
    body header.global-mobile-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: #1a1a2e;
        overflow: visible;
    }
    body #headerWrapper {
        overflow: visible;
    }
    body .pwa-nav-link,
    body .pwa-mobile-nav {
        transition-duration: 0s;
    }
}

/* Reducir animaciones/transiciones en movil */
body.reduce-animations *,
body.reduce-animations *::before,
body.reduce-animations *::after {
    animation-duration: 0s;
    animation-delay: 0s;
    transition-duration: 0s;
    transition-delay: 0s;
}

