
        :root {
            --primary: #38be70;
            --primary-dark: #128341;
            --accent: #ffde59;
            --white: #ffffff;
        }
        
        #splash {
            position: fixed;
            inset: 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            z-index: 9999;
            animation: hideSplash 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2.2s forwards;
            will-change: opacity, transform;
        }
        
        .splash-content {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            z-index: 2;
        }
        
        .logo-container {
            position: relative;
        }
        
        .logo {
            width: 140px;
            height: 140px;
            animation: 
                logoBounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both,
                logoGlow 2s ease-in-out 1s infinite alternate;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
            z-index: 2;
        }
        
        .logo-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 160px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: ringPulse 2s ease-in-out infinite;
            z-index: 1;
        }
        
        .loading-bar {
            width: 200px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }
        
        .loading-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background: var(--accent);
            animation: loading 2s ease-in-out forwards;
            border-radius: 2px;
        }
        
        .loading-text {
            color: var(--white);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 14px;
            font-weight: 500;
            margin-top: 8px;
            opacity: 0;
            animation: fadeIn 0.5s ease 0.5s forwards;
            letter-spacing: 0.5px;
        }
        
        /* Animated Background Elements */
        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }
        
        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            animation: particleFloat 15s infinite linear;
        }
        
        /* Animations */
        @keyframes logoBounceIn {
            0% { 
                transform: scale(0) rotate(-180deg);
                opacity: 0;
            }
            70% { 
                transform: scale(1.1) rotate(10deg);
            }
            100% { 
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }
        
        @keyframes logoGlow {
            0% {
                filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
            }
            100% {
                filter: drop-shadow(0 10px 25px rgba(255, 222, 89, 0.3));
            }
        }
        
        @keyframes ringPulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.7;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.4;
            }
        }
        
        @keyframes loading {
            0% { width: 0%; }
            30% { width: 40%; }
            70% { width: 80%; }
            100% { width: 100%; }
        }
        
        @keyframes particleFloat {
            0% {
                transform: translateY(100vh) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) translateX(calc(100vw * var(--x-offset)));
                opacity: 0;
            }
        }
        
        @keyframes hideSplash {
            0% {
                opacity: 1;
                transform: translateY(0);
            }
            70% {
                opacity: 0;
                transform: translateY(0);
            }
            100% {
                opacity: 0;
                transform: translateY(-100%);
                visibility: hidden;
                pointer-events: none;
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Performance Optimizations */
        * {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            #splash,
            .logo,
            .logo-ring,
            .loading-progress,
            .particle {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
            }
        }