/* Estilos críticos mínimos para evitar FOUC */
body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

/* Ocultar contenido hasta que se cargue el CSS completo */
.fouc-hidden {
    visibility: hidden;
}

/* Mostrar contenido una vez que el CSS esté cargado */
.fouc-loaded {
    visibility: visible !important;
}


@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(3px);
    }
}


@keyframes floatingPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: scale(1.4);
        opacity: 0.8;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
}

/* Gradiente Animado para Hero - Tonos Azul/Púrpura/Turquesa */
@keyframes hero-gradient-animation {
    0% {
        --s-start-0: 14.489998991212337%;
        --s-end-0: 72%;
        --x-0: 93%;
        --c-0: hsla(212, 0%, 0%, 1);
        --y-0: 93%;
        --c-1: hsla(212, 0%, 0%, 1);
        --x-1: 26%;
        --s-start-1: 0%;
        --s-end-1: 45%;
        --y-1: 9%;
        --s-start-2: 2.9253667596993065%;
        --s-end-2: 22.388851682060018%;
        --y-2: 79%;
        --x-2: 15%;
        --c-2: hsla(257.14285714285717, 91%, 27%, 0.35);
        --c-3: hsla(212.47058823529412, 100%, 50%, 0.5);
        --y-3: 104%;
        --s-start-3: 3.985353824694249%;
        --s-end-3: 47.580278608924694%;
        --x-3: 40%;
        --y-4: 60%;
        --s-start-4: 2.391200382592061%;
        --s-end-4: 29.307684556768592%;
        --c-4: hsla(224.44444444444443, 72%, 36%, 1);
        --x-4: 0%;
        --c-5: hsla(248.30769230769235, 52%, 24%, 1);
        --s-start-5: 2.9253667596993065%;
        --s-end-5: 22.388851682060018%;
        --x-5: 92%;
        --y-5: 37%;
        --s-start-6: 13.173642363290591%;
        --s-end-6: 31.747336520355095%;
        --c-6: hsla(212.47058823529412, 100%, 50%, 0.19);
        --x-6: 101%;
        --y-6: 16%;
        --y-7: 13%;
        --s-start-7: 1%;
        --s-end-7: 31%;
        --x-7: 90%;
        --c-7: hsla(227.6470588235294, 98%, 53%, 1);
        --y-8: 56%;
        --x-8: 104%;
        --s-start-8: 3.985353824694249%;
        --s-end-8: 13.103042116379756%;
        --c-8: hsla(166.53061224489795, 71%, 60%, 0.32);
        --s-start-9: 18.597054544690312%;
        --s-end-9: 31%;
        --x-9: 97%;
        --c-9: hsla(219.2079207920792, 83%, 23%, 0.18);
        --y-9: 19%;
    }

    100% {
        --s-start-0: 2.391200382592061%;
        --s-end-0: 43.902064173373226%;
        --x-0: 7%;
        --c-0: hsla(306, 0%, 0%, 1);
        --y-0: 9%;
        --c-1: hsla(306, 0%, 0%, 1);
        --x-1: 96%;
        --s-start-1: 9%;
        --s-end-1: 54.805582404585024%;
        --y-1: 93%;
        --s-start-2: 3%;
        --s-end-2: 26.722813338714598%;
        --y-2: 103%;
        --x-2: -2%;
        --c-2: hsla(166.53061224489795, 72%, 60%, 1);
        --c-3: hsla(180, 100%, 50%, 0.26);
        --y-3: 82%;
        --s-start-3: 2.391200382592061%;
        --s-end-3: 32.0689540200964%;
        --x-3: 33%;
        --y-4: 81%;
        --s-start-4: 4.40642490323111%;
        --s-end-4: 37.23528104246256%;
        --c-4: hsla(212.43243243243245, 88%, 26%, 0.58);
        --x-4: 37%;
        --c-5: hsla(271.9148936170212, 98%, 53%, 0.31);
        --s-start-5: 3%;
        --s-end-5: 32.537089799783296%;
        --x-5: 54%;
        --y-5: 99%;
        --s-start-6: 6%;
        --s-end-6: 42.501105312974815%;
        --c-6: hsla(262.82352941176475, 100%, 50%, 0.15);
        --x-6: 104%;
        --y-6: 43%;
        --y-7: -16%;
        --s-start-7: 5%;
        --s-end-7: 13.10107024898374%;
        --x-7: 104%;
        --c-7: hsla(298.60465116279073, 36%, 23%, 1);
        --y-8: 30%;
        --x-8: 97%;
        --s-start-8: 2.391200382592061%;
        --s-end-8: 27.141813016850573%;
        --c-8: hsla(180, 100%, 50%, 0.11);
        --s-start-9: 5%;
        --s-end-9: 21.32164536610654%;
        --x-9: 78%;
        --c-9: hsla(219.2079207920792, 83%, 23%, 0.59);
        --y-9: 4%;
    }
}

@property --s-start-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 14.489998991212337%;
}

@property --s-end-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 72%;
}

@property --x-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 93%;
}

@property --c-0 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(212, 0%, 0%, 1);
}

@property --y-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 93%;
}

@property --c-1 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(212, 0%, 0%, 1);
}

@property --x-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 26%;
}

@property --s-start-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

@property --s-end-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 45%;
}

@property --y-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 9%;
}

@property --s-start-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2.9253667596993065%;
}

@property --s-end-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 22.388851682060018%;
}

@property --y-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 79%;
}

@property --x-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 15%;
}

@property --c-2 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(257.14285714285717, 91%, 27%, 0.35);
}

@property --c-3 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(212.47058823529412, 100%, 50%, 0.5);
}

@property --y-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 104%;
}

@property --s-start-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 3.985353824694249%;
}

@property --s-end-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 47.580278608924694%;
}

@property --x-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 40%;
}

@property --y-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 60%;
}

@property --s-start-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2.391200382592061%;
}

@property --s-end-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 29.307684556768592%;
}

@property --c-4 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(224.44444444444443, 72%, 36%, 1);
}

@property --x-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

@property --c-5 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(248.30769230769235, 52%, 24%, 1);
}

@property --s-start-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2.9253667596993065%;
}

@property --s-end-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 22.388851682060018%;
}

@property --x-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 92%;
}

@property --y-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 37%;
}

@property --s-start-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 13.173642363290591%;
}

@property --s-end-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 31.747336520355095%;
}

@property --c-6 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(212.47058823529412, 100%, 50%, 0.19);
}

@property --x-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 101%;
}

@property --y-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 16%;
}

@property --y-7 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 13%;
}

@property --s-start-7 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 1%;
}

@property --s-end-7 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 31%;
}

@property --x-7 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 90%;
}

@property --c-7 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(227.6470588235294, 98%, 53%, 1);
}

@property --y-8 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 56%;
}

@property --x-8 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 104%;
}

@property --s-start-8 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 3.985353824694249%;
}

@property --s-end-8 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 13.103042116379756%;
}

@property --c-8 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(166.53061224489795, 71%, 60%, 0.32);
}

@property --s-start-9 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 18.597054544690312%;
}

@property --s-end-9 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 31%;
}

@property --x-9 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 97%;
}

@property --c-9 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(219.2079207920792, 83%, 23%, 0.18);
}

@property --y-9 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 19%;
}

/* Aplicar el gradiente animado al hero */
.video-bienvenida-container {
    --x-0: 93%;
    --c-0: hsla(212, 0%, 0%, 1);
    --y-0: 93%;
    --c-1: hsla(212, 0%, 0%, 1);
    --x-1: 26%;
    --y-1: 9%;
    --y-2: 79%;
    --x-2: 15%;
    --c-2: hsla(257.14285714285717, 91%, 27%, 0.35);
    --c-3: hsla(212.47058823529412, 100%, 50%, 0.5);
    --y-3: 104%;
    --x-3: 40%;
    --y-4: 60%;
    --c-4: hsla(224.44444444444443, 72%, 36%, 1);
    --x-4: 0%;
    --c-5: hsla(248.30769230769235, 52%, 24%, 1);
    --x-5: 92%;
    --y-5: 37%;
    --c-6: hsla(212.47058823529412, 100%, 50%, 0.19);
    --x-6: 101%;
    --y-6: 16%;
    --y-7: 13%;
    --x-7: 90%;
    --c-7: hsla(227.6470588235294, 98%, 53%, 1);
    --y-8: 56%;
    --x-8: 104%;
    --c-8: hsla(166.53061224489795, 71%, 60%, 0.32);
    --x-9: 97%;
    --c-9: hsla(219.2079207920792, 83%, 23%, 0.18);
    --y-9: 19%;
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: hsla(305, 0%, 0%, 1);
    background-image: 
        radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), 
        radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), 
        radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2)), 
        radial-gradient(circle at var(--x-3) var(--y-3), var(--c-3) var(--s-start-3), transparent var(--s-end-3)), 
        radial-gradient(circle at var(--x-4) var(--y-4), var(--c-4) var(--s-start-4), transparent var(--s-end-4)), 
        radial-gradient(circle at var(--x-5) var(--y-5), var(--c-5) var(--s-start-5), transparent var(--s-end-5)), 
        radial-gradient(circle at var(--x-6) var(--y-6), var(--c-6) var(--s-start-6), transparent var(--s-end-6)), 
        radial-gradient(circle at var(--x-7) var(--y-7), var(--c-7) var(--s-start-7), transparent var(--s-end-7)), 
        radial-gradient(circle at var(--x-8) var(--y-8), var(--c-8) var(--s-start-8), transparent var(--s-end-8)), 
        radial-gradient(circle at var(--x-9) var(--y-9), var(--c-9) var(--s-start-9), transparent var(--s-end-9));
    animation: hero-gradient-animation 10s linear infinite alternate;
    background-blend-mode: normal;
}

/* Logo de bienvenida dentro del hero */
.video-bienvenida-container .logo-bienvenida {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-bienvenida-container .logo-bienvenida img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: none; /* Sin transform por defecto en desktop */
}

/* Estilos específicos para desktop (768px en adelante) */
@media (min-width: 769px) {
    .video-bienvenida-container .logo-bienvenida {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    #slide-logo .logo-bienvenida img,
    .video-bienvenida-container .logo-bienvenida img,
    .logo-bienvenida img {
        transform: translateX(0);
        max-width: 400px;
        width: auto;
        margin: 0 auto;
        display: block;
        position: relative;
        left: -120px;
        right: 0px;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    /* Reset completo de todos los contenedores */
    #slide-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    #slide-logo * {
        box-sizing: border-box !important;
    }
    
    #slide-logo .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #slide-logo .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    #slide-logo .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Centrado del logo - método triple */
    .video-bienvenida-container .logo-bienvenida,
    .logo-bienvenida {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .video-bienvenida-container .logo-bienvenida img,
    .logo-bienvenida img,
    .logo-bienvenida svg {
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
        max-width: 250px !important;
        width: auto !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Ajuste fino de centrado - mover ligeramente a la izquierda y subir */
    #slide-logo .logo-bienvenida img {
        transform: translateX(-12%) translateY(-80px) !important;
    }
    
    .video-bienvenida-container h4 {
        font-size: 28px !important;
    }
    
    .video-bienvenida-container p {
        font-size: 16px !important;
    }
}

/* Ocultar overlay para no interferir con el nuevo fondo */
.overlay2 {
    display: none;
}

/* Hero Fijo con Animación de Contenido basada en Scroll */
.hero-scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1; /* Debe estar debajo de la navbar (z-index: 1000) */
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, filter;
    transition: none; /* Controlamos con JavaScript y animaciones blur */
}

/* Logo - Slide 1 (inicialmente visible) */
#slide-logo {
    opacity: 1;
    filter: blur(0);
    z-index: 2;
    visibility: visible;
}





/* Animaciones de Blur */
.blur-in {
    animation: blurIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.blur-out {
    animation: blurOut 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes blurIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes blurOut {
    0% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        filter: blur(12px);
        transform: scale(1.05);
    }
}



/* Contenido Principal (después del hero) */
.main-content {
    position: relative;
    z-index: 10;
    background-color: #fff;
    margin-top: 100vh; /* Empuja el contenido debajo del hero */
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
}

/* Modal de Anuncio */
.modal-anuncio {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-anuncio.show {
    display: flex;
}

.modal-anuncio-content {
    background: transparent;
    border-radius: 15px;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-anuncio-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-anuncio-close:hover {
    color: #000;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modal-anuncio img {
    max-width: 90vw;
    max-height: calc(90vh - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
    display: block;
    flex-shrink: 0;
}

.modal-anuncio-boton {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 0 0 15px 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    height: 60px;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-anuncio-boton:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Responsive para desktop */
@media (min-width: 769px) {
    .modal-anuncio-content {
        max-width: 85vw;
        max-height: 88vh;
    }
    
    .modal-anuncio img {
        max-width: 85vw;
        max-height: calc(88vh - 60px);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .modal-anuncio-content {
        max-width: 95vw;
        max-height: 90vh;
    }
    
    .modal-anuncio img {
        max-width: 95vw;
        max-height: calc(90vh - 55px);
    }
    
    .modal-anuncio-boton {
        height: 55px;
        font-size: 15px;
        padding: 15px 20px;
    }
    
    .modal-anuncio-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}



/* =========================================
   ESTILOS DE NOTIFICACIONES
   Sistema de cápsulas flotantes para avisos
   ========================================= */

/* Contenedor principal de notificaciones */
.notification-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.notification-capsule {
    background: #000000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 50px;
    padding: 12px 28px;
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.2),
        0 0 8px rgba(59, 130, 246, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto de glow animado - Desactivado */

.notification-capsule:hover {
    transform: scale(1.03);
    background: #000000;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 12px rgba(59, 130, 246, 0.2),
        0 6px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
}

.notification-capsule.removing {
    animation: scaleOut 0.3s ease forwards;
}

/* Tipos de notificaciones - Sin bordes ni glow */

.notification-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.notification-icon::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-badge {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: rgba(255, 255, 255, 0.95);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 3px;
    display: inline-block;
    animation: badgePulse 2s infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    }
}

.notification-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.notification-message {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    margin: 2px 0 0 0;
    line-height: 1.4;
    font-weight: 400;
}

.notification-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.notification-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    color: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* Animaciones */
@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.5);
        opacity: 0;
    }
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .notification-container {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 340px;
    }
    
    .notification-capsule {
        padding: 10px 22px;
        border-radius: 45px;
        gap: 10px;
    }
    
    .notification-capsule::before {
        border-radius: 45px;
    }
    
    .notification-icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .notification-icon::after {
        width: 5px;
        height: 5px;
    }
    
    .notification-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 10px;
    }
    
    .notification-close {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}

/* =========================================
   NAVEGACIÓN MÓVIL FLOTANTE
   Estilos neumórficos para la barra inferior en móviles
   ========================================= */
/* Floating Mobile Navigation - Estilo Neumórfico */
.floating-mobile-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 95%;
    max-width: 380px;
}

.floating-mobile-nav .nav-container {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(255, 255, 255, 0.02) 100%),
        rgba(255, 255, 255, 0.005);
    border-radius: 22px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 25px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 1px 0 0 rgba(255, 255, 255, 0.2),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.floating-mobile-nav .nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.05) 0%, 
            rgba(255, 255, 255, 0.01) 30%,
            rgba(255, 255, 255, 0.005) 50%,
            rgba(255, 255, 255, 0.01) 70%,
            rgba(255, 255, 255, 0.04) 100%);
    border-radius: 28px;
    pointer-events: none;
    opacity: 0.4;
}

.floating-mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 18px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    min-width: 56px;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-mobile-nav .nav-item:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    text-decoration: none;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(255, 255, 255, 0.01);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15),
        inset 1px 0 0 rgba(255, 255, 255, 0.2),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(130%);
    -webkit-backdrop-filter: blur(15px) saturate(130%);
}

.floating-mobile-nav .nav-item:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Todos los elementos se ven iguales - sin distinción de activo */
.floating-mobile-nav .nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-mobile-nav .nav-item.active .nav-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.floating-mobile-nav .nav-item.active .nav-label {
    opacity: 1;
    font-weight: 700;
}

.floating-mobile-nav .nav-icon {
    color: #ffffff !important;
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 3;
}


.floating-mobile-nav .nav-item:hover .nav-icon {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.floating-mobile-nav .nav-label {
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* Efectos táctiles para móviles - iOS 26 style */
.floating-mobile-nav .nav-item:active {
    transform: translateY(-1px) scale(0.97);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.1s ease;
}


/* Mostrar solo en móvil */
@media (max-width: 768px) {

    .floating-mobile-nav {
        display: block !important;
        animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Espaciado al final de la página para la barra flotante */
    body {
        padding-bottom: 100px;
    }

    /* Ajustes para pantallas muy pequeñas - iOS 26 style */
    @media (max-width: 480px) {
        .floating-mobile-nav {
            width: 96%;
            max-width: 360px;
            bottom: 18px;
        }
        
        .floating-mobile-nav .nav-container {
            padding: 8px 10px;
            border-radius: 20px;
            backdrop-filter: blur(45px) saturate(190%) brightness(105%);
            -webkit-backdrop-filter: blur(45px) saturate(190%) brightness(105%);
        }
        
        .floating-mobile-nav .nav-item {
            padding: 8px 10px;
            min-width: 50px;
            border-radius: 16px;
        }
        
        .floating-mobile-nav .nav-icon {
            font-size: 18px;
            margin-bottom: 3px;
        }
        
        .floating-mobile-nav .nav-label {
            font-size: 10px;
            font-weight: 600;
        }
    }

    /* Ajustes para pantallas extra pequeñas */
    @media (max-width: 375px) {
        .floating-mobile-nav {
            width: 97%;
            max-width: 340px;
            bottom: 16px;
        }
        
        .floating-mobile-nav .nav-container {
            padding: 6px 8px;
            border-radius: 18px;
        }
        
        .floating-mobile-nav .nav-item {
            padding: 6px 8px;
            min-width: 46px;
        }
        
        .floating-mobile-nav .nav-icon {
            font-size: 16px;
        }
        
        .floating-mobile-nav .nav-label {
            font-size: 9px;
        }
    }
}

/* Animación de entrada */
@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Ocultar navbar desktop en móvil */
@media (max-width: 768px) {
    #header-navbar {
        display: none !important;
    }
}


