       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Nunito', sans-serif;
            background: linear-gradient(135deg, #BBDEFB 0%, #E8F5E8 50%, #F1F8E9 100%);
            min-height: 100vh;
            overflow: hidden;
            position: relative;
        }

        .transition-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 10000;
            pointer-events: none;
        }

        .leaf {
            position: absolute;
            pointer-events: none;
            opacity: 0;
            animation: leafFall 2s ease-out forwards;
        }

        .leaf-type-1 {
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #4CAF50, #66BB6A);
            border-radius: 0 100% 0 100%;
            box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
        }

        .leaf-type-2 {
            width: 25px;
            height: 25px;
            background: linear-gradient(135deg, #66BB6A, #81C784);
            border-radius: 100% 0 100% 0;
            box-shadow: 0 2px 8px rgba(102, 187, 106, 0.3);
        }

        .leaf-type-3 {
            width: 18px;
            height: 18px;
            background: linear-gradient(135deg, #689F38, #8BC34A);
            border-radius: 50% 0 50% 50%;
            box-shadow: 0 2px 8px rgba(104, 159, 56, 0.3);
        }

        .leaf-type-4 {
            width: 22px;
            height: 22px;
            background: linear-gradient(135deg, #8BC34A, #9CCC65);
            border-radius: 0 50% 50% 50%;
            box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
        }

        .leaf-type-5 {
            width: 16px;
            height: 16px;
            background: linear-gradient(135deg, #AED581, #C5E1A5);
            border-radius: 100% 0 0 100%;
            box-shadow: 0 2px 8px rgba(174, 213, 129, 0.3);
        }

        @keyframes leafFall {
            0% {
                opacity: 0;
                transform: translateY(-50px) rotate(0deg) scale(0.5);
            }
            10% {
                opacity: 1;
                transform: translateY(0px) rotate(10deg) scale(1);
            }
            50% {
                opacity: 1;
                transform: translateY(50vh) rotate(180deg) scale(1);
            }
            100% {
                opacity: 0.8;
                transform: translateY(100vh) rotate(360deg) scale(0.8);
            }
        }

        /* Variaciones de animación para naturalidad */
        .leaf:nth-child(odd) {
            animation-duration: 2.2s;
            animation-timing-function: ease-in-out;
        }

        .leaf:nth-child(3n) {
            animation-duration: 1.8s;
            animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .leaf:nth-child(4n) {
            animation-duration: 2.4s;
            animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .leaf:nth-child(5n) {
            animation-duration: 2.1s;
            animation-timing-function: ease-out;
        }

        /* Efecto de desvanecimiento del fondo */
        .fade-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, #BBDEFB 0%, #E8F5E8 50%, #F1F8E9 100%);
            opacity: 0;
            animation: fadeIn 2s ease-in-out forwards;
            z-index: 9999;
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            70% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* Logo o texto central (opcional) */
        .transition-logo {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10001;
            text-align: center;
            opacity: 0;
            animation: logoAppear 2s ease-in-out forwards;
        }

        .transition-logo h1 {
            font-size: 36px;
            font-weight: 800;
            color: #2E7D32;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(46, 125, 50, 0.3);
        }

        .transition-logo p {
            font-size: 16px;
            color: #689F38;
            font-weight: 600;
        }

        @keyframes logoAppear {
            0% { 
                opacity: 0; 
                transform: translate(-50%, -50%) scale(0.8);
            }
            30% { 
                opacity: 1; 
                transform: translate(-50%, -50%) scale(1.1);
            }
            100% { 
                opacity: 1; 
                transform: translate(-50%, -50%) scale(1);
            }
        }

        /* Brillo sutil en las hojas */
        .leaf::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            opacity: 0;
            animation: leafShine 2s ease-in-out infinite;
        }

        @keyframes leafShine {
            0%, 100% { opacity: 0; }
            50% { opacity: 1; }
        }

        /* Botón para reiniciar la animación (solo para demo) */
        .restart-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #4CAF50, #66BB6A);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 25px;
            font-family: 'Nunito', sans-serif;
            font-weight: 600;
            cursor: pointer;
            z-index: 10002;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
        }

        .restart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }