/* css/actividades.css */

:root {
    --brand-purple: #bf5af2;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-card: #ffffff;
    --border-light: #eee;
    scroll-behavior: smooth;
}

/* --- CORRECCIÓN ESPACIO FOOTER --- */
html, body {
    height: 100%;
    margin: 0;
}

body { 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.dark-theme {
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --bg-card: #1c1c1e;
    --border-light: rgba(255,255,255,0.1);
    background-color: #000000;
}

/* --- ANIMACIÓN GLASS MULTICOLOR (Lenta: 30s) --- */
@keyframes glassGradientAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- NAVBAR SECCION --- */
.header-seccion {
    min-height: 152px; /* 90% MÁS GRANDE (antes 80px) */
    background: linear-gradient(270deg, rgba(191,90,242,0.85), rgba(10,132,255,0.85), rgba(52,199,89,0.85), rgba(255,159,10,0.85));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 38px 20px; /* Incrementado acorde al tamaño */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRADO PERFECTO */
}
body.dark-theme .header-seccion {
    background: linear-gradient(270deg, rgba(142,68,173,0.7), rgba(10,100,200,0.7), rgba(30,150,60,0.7), rgba(200,100,10,0.7));
    background-size: 400% 400%;
}

/* --- TÍTULO ANIMADO (DORADO Y FLUIDO) --- */
.titulo-eventos {
    font-size: 2.5rem; /* AUMENTADO */
    margin: 0;
    font-weight: 800; /* MÁS GRUESO */
    letter-spacing: -0.5px;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap; /* Fix para evitar que se rompa la letra E en móviles */
    
    /* Animación dorada fluida */
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #FFD700 50%, #ffffff 55%, #ffffff 100%);
    background-size: 250% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: brilloDorado 60s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    
    /* Corrección de la 'E' cortada en móviles */
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.4;
}

@media (max-width: 450px) {
    .titulo-eventos {
        font-size: 2.1rem; /* Ajuste para encajar perfecto en pantallas pequeñas */
    }
}

@keyframes brilloDorado {
    0% { background-position: 250% center; }
    2.5% { background-position: -150% center; }
    100% { background-position: -150% center; }
}

.controles-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1050px;
    margin: 10px auto; /* Espacio reducido entre letras y botones */
    padding: 0 20px;
    flex-wrap: nowrap;
    gap: 10px;
}
.btn-volver-app {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 29, 31, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}
.btn-volver-app:hover { background: #000000; transform: translateY(-2px); }

.btn-dark-inline {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 90, 242, 0.3);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}
body.dark-theme .btn-dark-inline {
    background: rgba(44, 44, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.btn-dark-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* MAPA CONTENEDOR */
.map-section {
    padding: 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.map-container {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--border-light);
    position: relative;
}
#mapaInteractivo { width: 100%; height: 100%; }

.map-filters {
    position: absolute;
    top: 15px; left: 15px; right: 60px; /* Ajustado para no tapar el botón de pantalla completa */
    z-index: 10;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

/* SCROLLBAR FILTROS MAPA DESKTOP */
@media (max-width: 1023px) {
    .map-filters::-webkit-scrollbar { display: none; }
}
@media (min-width: 1024px) {
    .map-filters::-webkit-scrollbar {
        height: 8px;
        display: block;
    }
    .map-filters::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }
    body.dark-theme .map-filters::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    .map-filters::-webkit-scrollbar-thumb {
        background: rgba(191, 90, 242, 0.5); /* Color corporativo transparente */
        border-radius: 10px;
    }
    .map-filters::-webkit-scrollbar-thumb:hover {
        background: rgba(191, 90, 242, 0.8);
    }
}

.filter-btn {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}
body.dark-theme .filter-btn {
    background: rgba(40,40,42,0.9); color: white; border-color: rgba(255,255,255,0.1);
}

/* HOVER DE LOS FILTROS PARA SABER QUE ESTAN SELECCIONADOS */
.filter-btn:hover {
    background: rgba(191, 90, 242, 0.1);
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    transform: translateY(-2px);
}
body.dark-theme .filter-btn:hover {
    background: rgba(191, 90, 242, 0.2);
    color: #fff;
}

.filter-btn.active, .filter-btn.active:hover {
    background: var(--brand-purple);
    color: white;
    border-color: var(--brand-purple);
}

/* --- BOTONES TOGGLE TIPO GLASS (Abierto ahora y Domicilio) --- */
.glass-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    user-select: none;
}
body.dark-theme .glass-toggle-label {
    background: rgba(44, 44, 46, 0.8);
    border-color: rgba(255,255,255,0.1);
    color: #ffffff;
}
.glass-toggle-label input[type="checkbox"] { display: none; }

.glass-toggle-label.active {
    background: linear-gradient(270deg, rgba(191,90,242,0.85), rgba(10,132,255,0.85), rgba(52,199,89,0.85), rgba(255,159,10,0.85));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
body.dark-theme .glass-toggle-label.active {
    background: linear-gradient(270deg, rgba(142,68,173,0.7), rgba(10,100,200,0.7), rgba(30,150,60,0.7), rgba(200,100,10,0.7));
    background-size: 400% 400%;
}

/* SCROLL EVENTOS */
.scroll-eventos-container {
    padding: 10px 0;
    position: relative;
}

/* DISEÑO DE EVENTOS HERO ALTERNADOS */
.section-title {
    text-align: center;
    font-weight: 800;
    color: var(--text-primary);
    margin: 40px 0 30px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
}

/* --- ANIMACIÓN LETRAS DEL TÍTULO --- */
@keyframes waveText {
    0%, 5%, 100% { transform: translateY(0); text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    2.5% { transform: translateY(-8px); text-shadow: 0 10px 20px rgba(255,215,0,0.6); color: #FFD700; }
}
.wave-letter {
    display: inline-block;
    animation: waveText 60s ease-in-out infinite; /* Animación una vez cada minuto (60s) */
}

.agenda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.event-hero-block {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 50px;
    background: transparent;
    position: relative;
    transition: 0.3s;
    z-index: 2;
}

.event-media-side {
    width: 100%;
    height: 350px;
    position: relative;
    background: rgba(0,0,0,0.1);
}

.event-main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    border: none;
    cursor: zoom-in;
    transition: 0.3s;
}

/* FILTRO DE ESCALA DE GRISES PARA ACTIVIDADES CERRADAS */
.img-cerrada {
    filter: grayscale(100%) brightness(0.6) !important;
}

/* BANDERIN CERRADO */
.tag-cerrado-img {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 69, 58, 0.95);
    color: white;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 69, 58, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FONDO GLASSMORPHISM EN EL TEXTO --- */
.event-text-side {
    padding: 40px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255,255,255,0.4);
}
body.dark-theme .event-text-side {
    background: rgba(30, 30, 32, 0.7);
    border-left: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 992px) {
    .event-hero-block {
        flex-direction: row;
        min-height: 500px;
    }
    .event-hero-block.reverse {
        flex-direction: row-reverse;
    }
    .event-hero-block.reverse .event-text-side {
        border-left: none;
        border-right: 1px solid rgba(255,255,255,0.4);
    }
    body.dark-theme .event-hero-block.reverse .event-text-side {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .event-media-side {
        width: 50%;
        height: auto;
    }
    .event-text-side {
        width: 50%;
        padding: 50px;
    }
}

.event-date {
    display: inline-block;
    background: rgba(191, 90, 242, 0.15);
    color: var(--brand-purple);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    width: fit-content;
}

.event-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
}

.event-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.event-desc {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.6;
    white-space: pre-wrap;
    font-weight: 500;
}
body.dark-theme .event-desc { color: #e5e5ea; }

.event-meta p {
    font-size: 0.95rem; color: var(--text-primary); font-weight: 500;
    margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
body.dark-theme .event-meta p { color: #e5e5ea; }
.event-meta i { color: var(--brand-purple); font-size: 1.1rem; width: 20px; text-align: center;}

.event-buttons {
    display: flex; gap: 10px; margin-top: 25px; flex-wrap: wrap;
}

.event-btn {
    flex: 1; min-width: 130px;
    padding: 12px 15px; border-radius: 12px;
    text-align: center; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: 0.3s; color: white !important;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer;
}
.btn-llamar { background: #1d1d1f; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
body.dark-theme .btn-llamar { background: #ffffff; color: #000 !important; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }
.btn-wa { background: #34C759; box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3); }
.btn-fb { background: #1877F2; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3); }
.btn-ig { background: #E4405F; box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3); }
.btn-map { background: var(--brand-purple); box-shadow: 0 4px 15px rgba(191, 90, 242, 0.3); }

.event-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

/* --- ANIMACIÓN PULSO BOTÓN ESCUCHAR/DETENER --- */
@keyframes pulseAudio {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.leyendo-audio {
    animation: pulseAudio 1.5s infinite !important;
    background: #FF3B30 !important; /* Rojo alerta */
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4) !important;
}

.galeria-scroll-mini {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; margin-top: 20px; scroll-snap-type: x mandatory;
}
.galeria-scroll-mini::-webkit-scrollbar { display: none; }
.galeria-scroll-mini img {
    width: 90px; height: 90px; object-fit: cover; border-radius: 14px; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid transparent; flex-shrink: 0; scroll-snap-align: start;
}
.galeria-scroll-mini img:hover { transform: scale(1.05); border-color: var(--brand-purple); }

/* GALERIAS INFERIORES */
.galeria-scroll {
    display: flex; gap: 15px; overflow-x: auto; padding: 10px 20px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: 1200px; margin: 0 auto;
}
.galeria-scroll::-webkit-scrollbar { display: none; }
.img-galeria {
    width: 200px; height: 200px; object-fit: cover; border-radius: 20px;
    scroll-snap-align: center; flex-shrink: 0; cursor: pointer; transition: 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); border: 2px solid transparent;
}
.img-galeria:hover { transform: scale(1.05); border-color: var(--brand-purple); }

/* VIDEOS y ANUNCIOS */
.media-container {
    max-width: 900px; margin: 0 auto 40px; padding: 0 20px;
}
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); border: 1px solid var(--border-light);
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* MODALES REUTILIZADOS (GLASS) */
.modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.15); /* Removido fondo negro fuerte */
    backdrop-filter: blur(8px); /* Difuminación glass añadida */
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000; 
    align-items: flex-end; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.modal-glass { 
    background: rgba(255, 255, 255, 0.4) !important; /* MÁS TRANSPARENTE PARA EL GLASS */
    backdrop-filter: blur(35px) !important; 
    -webkit-backdrop-filter: blur(35px) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    width: 100%; max-width: 600px; max-height: 90vh; border-radius: 30px 30px 0 0; overflow-y: auto; position: relative; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); padding-bottom: 40px; box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
body.dark-theme .modal-glass {
    background: rgba(25, 25, 30, 0.3) !important; /* CRISTAL OSCURO REAL */
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}

.modal-glass::-webkit-scrollbar { display: none; }
.modal-drag-area { position: sticky; top: 0; left: 0; width: 100%; height: 30px; display: flex; align-items: center; justify-content: center; z-index: 2010; }
.modal-drag-handle { width: 50px; height: 6px; background: rgba(150, 150, 150, 0.5); border-radius: 6px; }
.btn-cerrar-modal { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.8); width: 40px; height: 40px; border-radius: 50%; border: none; font-size: 1.2rem; cursor: pointer; z-index: 2020; box-shadow: 0 4px 15px rgba(0,0,0,0.2); color: #1d1d1f; }
.modal-header-img { width: 100%; height: 220px; object-fit: cover; margin-top: -30px; }

.modal-body { padding: 25px 30px; background: transparent; border-radius: 30px 30px 0 0; margin-top: -20px; position: relative; z-index: 10; }

.modal-title { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-top: 10px; margin-bottom: 5px; flex-direction:column;}
.modal-desc { font-size: 0.95rem; color: var(--text-primary); line-height: 1.5; margin-bottom: 25px; white-space: pre-wrap; font-weight: 500;}
body.dark-theme .modal-desc { color: #e5e5ea; }
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-bottom:10px; margin-right: 5px;}
.status-open { background: #eafaf1; color: #27ae60; }
.status-closed { background: #fdeaea; color: #e74c3c; }

@media (min-width: 768px) {
    .modal-overlay { align-items: center; }
    .modal-glass { border-radius: 30px; transform: scale(0.9); height: auto; padding-bottom: 0;}
    .modal-drag-area { display: none; }
    .modal-header-img { margin-top: 0; }
}

/* CARRUSEL DE FOTOS */
.carrusel-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 4000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; flex-direction: column; }
.carrusel-img-container { width: 100%; flex-grow: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; touch-action: none;}
.img-carrusel-activa { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 12px; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.btn-cerrar-carrusel { position: absolute; top: 25px; right: 25px; background: rgba(255,255,255,0.15); border: none; color: white; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 4010; }

.btn-nav-carrusel { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: white; width: 55px; height: 55px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); z-index: 4010; transition: 0.3s; }
.btn-nav-carrusel:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.05); }
.btn-nav-carrusel.left { left: 20px; }
.btn-nav-carrusel.right { right: 20px; }

/* FOOTER DE INDEX OFICIAL REPARADO */
.footer-ayuntamiento {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: 50px 20px 0; 
    margin-top: auto; /* ESTO EMPUJA EL FOOTER AL FONDO SIEMPRE */
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3 { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 20px; }
.footer-col p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;}
.footer-col a { color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; margin-bottom: 12px; transition: 0.2s; }
.footer-col a:hover { color: var(--brand-purple); transform: translateX(5px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    padding-bottom: 100px; /* ESPACIO PARA EL MENÚ FLOTANTE */
    margin-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footer-bottom p { margin: 5px 0; }
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom p { order: 0 !important; }
}

.btn-download-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-purple);
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.3);
}
.btn-download-app:hover { transform: translateY(-2px); color: white !important; filter: brightness(1.1); }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a { color: var(--text-secondary); font-size: 1.2rem; transition: 0.3s; }
.social-links a:hover { color: var(--brand-purple); transform: scale(1.1); }

/* --- ESTILOS DEL MENÚ FLOTANTE (TAMAÑO INDEX) --- */
#floating-menu-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; align-items: center; }

.glass-menu-options {
    background: linear-gradient(270deg, rgba(191,90,242,0.85), rgba(10,132,255,0.85), rgba(52,199,89,0.85), rgba(255,159,10,0.85)) !important;
    background-size: 400% 400% !important;
    animation: glassGradientAnim 30s ease infinite !important;
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 24px; padding: 15px;
    flex-direction: column; gap: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    min-width: 200px; margin-bottom: 15px; display: none; opacity: 0; transform: translateY(20px); transition: all 0.3s ease;
}
body.dark-theme .glass-menu-options {
    background: linear-gradient(270deg, rgba(142,68,173,0.7), rgba(10,100,200,0.7), rgba(30,150,60,0.7), rgba(200,100,10,0.7)) !important;
    background-size: 400% 400% !important;
    animation: glassGradientAnim 30s ease infinite !important;
}

.nav-item-float {
    color: #ffffff; text-decoration: none; font-weight: 500;
    padding: 12px 18px; border-radius: 12px; display: flex; align-items: center; gap: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
body.dark-theme .nav-item-float {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}
.nav-item-float:hover, .nav-item-float.active {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
body.dark-theme .nav-item-float:hover, body.dark-theme .nav-item-float.active {
    background: rgba(255, 255, 255, 0.2);
}
.nav-item-float i { width: 25px; text-align: center; font-size: 1.2rem; }

#btn-floating-menu {
    background: linear-gradient(270deg, rgba(191,90,242,0.85), rgba(10,132,255,0.85), rgba(52,199,89,0.85), rgba(255,159,10,0.85));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); color: white; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 30px; padding: 12px 30px; font-size: 1.1rem; font-weight: 600; box-shadow: 0 10px 25px rgba(0,0,0,0.3); cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.3s; 
}
body.dark-theme #btn-floating-menu {
    background: linear-gradient(270deg, rgba(142,68,173,0.7), rgba(10,100,200,0.7), rgba(30,150,60,0.7), rgba(200,100,10,0.7));
    background-size: 400% 400%;
    animation: glassGradientAnim 30s ease infinite;
}
#btn-floating-menu:hover {
    transform: translateY(-2px) scale(1.02);
}

/* --- ANIMACION EMOJIS FIESTA --- */
@keyframes floatUpEmoji {
    0% { transform: translateY(50px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    75% { opacity: 0.6; }
    100% { transform: translateY(-800px) rotate(360deg); opacity: 0; }
}
.floating-emoji {
    position: absolute;
    bottom: 0px;
    font-size: 2.2rem;
    z-index: 990; 
    pointer-events: none;
    animation: floatUpEmoji linear forwards;
}
body.dark-theme .floating-emoji { opacity: 0.8; }

/* --- OCULTAR EVENTOS PASADOS EXTRAS --- */
.hidden-past-event {
    display: none !important;
}

/* --- ESTILO BOTON CARGAR MAS --- */
.btn-cargar-mas {
    padding: 12px 30px; 
    font-size: 1rem; 
    border-radius: 30px; 
    background: var(--bg-card); 
    color: var(--text-primary); 
    border: 1px solid var(--border-light); 
    cursor: pointer; 
    transition: 0.3s; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cargar-mas:hover {
    background: var(--brand-purple);
    color: white;
    border-color: var(--brand-purple);
    transform: translateY(-2px);
}
body.dark-theme .btn-cargar-mas {
    background: #2c2c2e;
    color: white;
    border-color: rgba(255,255,255,0.1);
}
body.dark-theme .btn-cargar-mas:hover {
    background: var(--brand-purple);
}