        /* Variables de color de temática ecológica */
        :root {
            --bg-color: #f1f9f5;
            --primary-color: #2d6a4f;
            --secondary-color: #52b788;
            --accent-color: #74c69d;
            --text-color: #1b4332;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--bg-color);
            /* Eliminamos overflow: hidden de aquí para que por defecto sí se pueda scrollear */
            min-height: 100vh; 
            display: flex;
            flex-direction: column; /* Cambiado a column para que el contenido de abajo fluya de forma natural */
        }

        /* Esta clase mantendrá la pantalla fija SOLO mientras carga la splash */
        .no-scroll {
            overflow: hidden;
            height: 100vh;
        }

        /* Contenedor Principal de la Splash Screen */
        .splash-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease, visibility 0.8s;
            padding: 20px;
        }

        .splash-content {
            text-align: center;
            max-width: 400px;
            width: 100%;
        }

        /* Animación del Icono (Efecto flotante y rotación suave) */
        .logo-wrapper {
            margin-bottom: 30px;
            animation: float 4s ease-in-out infinite;
            display: inline-block;
        }

        .eco-icon {
            width: 120px;
            height: 120px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 10px 25px rgba(45, 106, 79, 0.3);
            position: relative;
        }

        .eco-icon svg {
            width: 65px;
            height: 65px;
            fill: white;
            animation: rotateExchange 12s linear infinite;
        }

        /* Textos con aparición gradual (Fade In) */
        .title {
            color: var(--text-color);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
            animation-delay: 0.3s;
            letter-spacing: 1px;
        }

        .subtitle {
            color: var(--primary-color);
            font-size: 1.1rem;
            margin-bottom: 40px;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
            animation-delay: 0.6s;
        }

        /* Barra de carga animada */
        .loader-bar {
            width: 80%;
            height: 6px;
            background-color: rgba(45, 106, 79, 0.1);
            border-radius: 10px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
        }

        .loader-progress {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
            border-radius: 10px;
            animation: loadProgress 3.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        /* Estado oculto para cuando termine la carga */
        .splash-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none; /* Evita que intercepte los clics y toques del dedo */
            display: none !important; /* Desaparece por completo del flujo de la página */
        }

        /* --- ANIMACIONES CSS --- */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }

        @keyframes rotateExchange {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes loadProgress {
            0% { width: 0%; }
            100% { width: 100%; }
        }

        /* --- RESPONSIVIDAD (Media Queries) --- */
        @media (max-width: 480px) {
            .title {
                font-size: 2rem;
            }
            .subtitle {
                font-size: 0.95rem;
            }
            .eco-icon {
                width: 100px;
                height: 100px;
            }
            .eco-icon svg {
                width: 55px;
                height: 55px;
            }
        }