      /* --- ESTILOS DE LA PANTALLA DE CARGA --- */
        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
        }

        /* Clase para mostrar el loader */
        .loader-container.show {
            opacity: 1;
            visibility: visible;
        }

        .center-content {
            text-align: center;
            width: 100%;
            max-width: 400px;
            padding: 0 20px;
        }

        .logo {
            width: min(220px, 60vw);
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
            opacity: 0;
            animation: reveal 2s ease-in-out forwards;
        }

        @keyframes reveal {
            from {
                filter: blur(10px);
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                filter: blur(0);
                opacity: 1;
                transform: scale(1);
            }
        }

        .loading-circle {
            margin: clamp(20px, 5vw, 30px) auto 0;
            border: 2px solid var(--gold);
            border-top: 2px solid transparent;
            border-radius: 50%;
            width: clamp(30px, 8vw, 40px);
            height: clamp(30px, 8vw, 40px);
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            }

            50% {
                box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
            }
        }

        .loading-text {
            color: var(--gold);
            font-size: clamp(1rem, 3.5vw, 1.4rem);
            margin-top: clamp(15px, 4vw, 20px);
            letter-spacing: clamp(1px, 0.5vw, 2px);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0);
            opacity: 0;
            animation: fadeInText 2.5s ease-in-out 1s forwards;
        }

        @keyframes fadeInText {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

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

        @media (prefers-reduced-motion: reduce) {

            .logo,
            .loading-text {
                animation: none;
                opacity: 1;
            }

            .loading-circle {
                animation: none;
                border: 2px solid var(--gold);
            }
        }