 body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f4f6f9;
      background-image: url('explanada-biblioteca25.webp');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      display: flex;
      flex-direction: column;
      /* align-items: center; */
      padding: 40px; 
    }

     .nav-glass {
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(14px);
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .search-box {
        background: #ffffff;
        border-radius: 0.375rem;
        overflow: hidden;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
        width: 100%;
        max-width: 420px;
    }

    .search-input {
        border: none !important;
        padding: 12px 16px;
        font-size: 0.9rem;
        width: 100%;
    }

    .search-input:focus {
        outline: none;
        box-shadow: none !important;
    }


    .btn-unach-absolute {
        position: relative;
        right: 0.2rem;         
        top: 50%;               
        transform: translateY(-50%);
        background-color: #0A1F4A;  
        color: #fff !important;
        padding: 0.555rem 0.75rem; 
        font-size: 0.875rem;        
        border-radius: 0.375rem;    
        white-space: nowrap;        
        border: none;
        transition: background-color 0.2s ease-in-out; 
    }

    .btn-unach-absolute:hover {
        background-color: #0d2b63;   /* hover:bg-blue-700 */
    }

    .logo-text h1 {
        margin: 0;
        padding: 0;
        font-weight: 700;
        font-size: 1.4rem;
    }

    .logo-text p {
        margin: 0;
        font-size: 0.9rem;
        opacity: 0.85;
    }

    .input-full {
        width: 100%;               
        padding-left: 2.25rem;       
        padding-right: 5rem;         
        padding-top: .625rem;     
        padding-bottom: .625rem;    

        font-size: .875rem;         

        border: 1px solid #d1d5db;   
        border-radius: .5rem;       

        background-color: rgba(255,255,255,.8); 
        backdrop-filter: blur(8px); 

        color: #4b5563;            
    }

    .input-full::placeholder {
        color: #6b7280;            
    }

    .input-full:focus {
        border-color: transparent;  
        box-shadow: 0 0 0 2px rgba(59,130,246,.5);
        outline: none;
    }

    .bg-unach {
        background-color: #132652;
    }



            /* Aplicamos la fuente Inter para una estética moderna */
        .hologram-container {
            perspective: 1000px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 400px;
            height: 200px;
        }

        .hologram-seal {
            width: 250px;
            height: 150px;
            background: linear-gradient(145deg, #1a1a3a, #0d0d26);
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out;
            border: 3px solid #0f2b886c;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
        }

        .hologram-status {
            font-size: 0.8em;
            font-weight: 700;
            color: #fbfbfc6c;
            text-shadow: 0 0 5px #0f2b886c, 0 0 10px #0f2b886c;
            z-index: 2;
        }

        .hologram-id {
            font-size: 0.8em;
            margin-top: 5px;
            color: #ddbf15cb;
            /* Color de contraste verde claro */
            z-index: 2;
        }

        /* --- El Destello "Holográfico" (El corazón del efecto visual) --- */
        .hologram-glare {
            position: absolute;
            font-size: 10px;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(45deg,
                rgba(238, 238, 234, 0.938),
                rgba(128, 109, 27, 0.966) 10%,
                rgba(9, 21, 196, 0.349) 50%);
            opacity: 0.4;
            z-index: -1;
            pointer-events: none;
            animation: shine 15s linear infinite;
        }
        .ocelote-container{
            position: absolute;
            bottom: 0%;
            left: 50%;
            transform: translate(-50%,0);
            display: none;
        }
        .ocelote-showup{
            display: block;
            animation: showup 5s forwards;
        }
        .ocelote-logo{
            position: relative;
            margin: 0;
            top: 50%;
            left: 50%;
            width: 210px;
            height: 210px;
            transform: translate(-50%,-50%);
        }

        @keyframes shine {
            to {
                transform: rotate(360deg);
            }
        }
        @keyframes showup {
            0% {
                opacity: 0;
            }
            75% {
                opacity: 1;
            }
            100% {
                opacity: 0;
            }
        }


        /* --- NUEVA ANIMACIÓN: Águila Volando --- */
        .eagle-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            /* Asegurar que esté por encima de todo */
            opacity: 0;
            pointer-events: none;
            /* No bloquear clicks */
        }

        .eagle {
            width: 300px;
            /* Tamaño del emoji */
            display: block;
        }

        .logo-catch {
            margin: -50px 30px;
            width: 150px;
        }

        .flying {
            animation: fly 3s ease-in-out forwards;
            /* 2 segundos de animación */
        }

        @keyframes fly {
            0% {
                transform: translate(100vw, -100vh) scale(0.5) rotate(0deg);
                /* Inicia fuera de pantalla (izq.) */
                opacity: 0;
            }

            10% {
                opacity: 1;
                /* Aparece rápidamente */
            }

            100% {
                transform: translate(-100vw, 50vh) scale(1.5) rotate(15deg);
                /* Termina fuera de pantalla (der. superior) */
                opacity: 0;
            }
        }

        /* --- NUEVA ANIMACIÓN: Confetti Shower --- */
        #confetti-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            z-index: 9;
        }

        .confetti {
            position: absolute;
            width: 8px;
            height: 8px;
            background-color: #fff;
            opacity: 0;
            animation: fall linear forwards;
        }

        @keyframes fall {
            0% {
                transform: translateY(-10vh) rotateZ(0deg);
                opacity: 1;
            }

            100% {
                transform: translateY(100vh) rotateZ(720deg);
                opacity: 0;
            }
        }

        /* --- Responsividad --- */
        @media (max-width: 640px) {
            .hologram-container {
                width: 100%;
                height: 250px;
                margin-top: 2rem;
            }

            .hologram-seal {
                width: 90%;
            }
        }