  #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 99999;
            background: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.6s ease-in-out;
            opacity: 1;
            visibility: visible;
        }

        #preloader.loaded {
            opacity: 0;
            visibility: hidden;
            transform: scale(1.1);
        }

        .preloader-container {
            text-align: center;
            position: relative;
        }

        /* Logo Animation - Rocket Style */
        .preloader-logo {
            width: 100px;
            height: 100px;
            margin: 0 auto 30px;
            position: relative;
            animation: rocketBounce 2s ease-in-out infinite;
        }

        .preloader-logo .rocket-icon {
            width: 100%;
            height: 100%;
            background: #E74C3C;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
            position: relative;
            overflow: hidden;
        }

        .preloader-logo .rocket-icon::before {
            content: '';
            position: absolute;
            width: 120%;
            height: 120%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
            top: -10%;
            left: -120%;
            animation: shine 2s ease-in-out infinite;
        }

        .preloader-logo .rocket-icon i {
            font-size: 3rem;
            color: white;
            transform: rotate(45deg);
            animation: rocketShake 0.5s ease-in-out infinite alternate;
        }

        @keyframes rocketBounce {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            25% { transform: translateY(-15px) rotate(-2deg); }
            50% { transform: translateY(-25px) rotate(0deg); }
            75% { transform: translateY(-15px) rotate(2deg); }
        }

        @keyframes rocketShake {
            0% { transform: rotate(43deg); }
            100% { transform: rotate(47deg); }
        }

        @keyframes shine {
            0% { left: -120%; }
            100% { left: 120%; }
        }

        /* Progress Ring */
        .progress-ring {
            width: 130px;
            height: 130px;
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

        .progress-ring circle {
            fill: none;
            stroke: rgba(231, 76, 60, 0.2);
            stroke-width: 3;
            r: 60;
            cx: 65;
            cy: 65;
            stroke-linecap: round;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
            transition: stroke-dasharray 0.3s ease;
        }

        .progress-ring .progress-circle {
            stroke: #E74C3C;
            stroke-dasharray: 377;
            stroke-dashoffset: 377;
            animation: progressRing 2s ease-in-out infinite;
        }

        @keyframes progressRing {
            0% { stroke-dashoffset: 377; }
            50% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 377; }
        }

        /* Text Loading Animation */
        .loading-text {
            margin-top: 40px;
        }

        .loading-title {
            font-size: 3.4rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 5px;
            letter-spacing: 2px;
            opacity: 0;
            animation: textFadeIn 0.8s ease-out 0.5s forwards;
        }

        .loading-subtitle {
            font-size: 1.3rem;
            color: #E74C3C;
            font-weight: 600;
            margin-bottom: 25px;
            opacity: 0;
            animation: textFadeIn 0.8s ease-out 0.8s forwards;
        }

        .loading-letters {
            display: inline-block;
            margin: 0 1px;
            font-size: 1.2rem;
            color: #7f8c8d;
            font-weight: 500;
            animation: letterBounce 1.5s ease-in-out infinite;
        }

        .loading-letters:nth-child(1) { animation-delay: 0.1s; }
        .loading-letters:nth-child(2) { animation-delay: 0.2s; }
        .loading-letters:nth-child(3) { animation-delay: 0.3s; }
        .loading-letters:nth-child(4) { animation-delay: 0.4s; }
        .loading-letters:nth-child(5) { animation-delay: 0.5s; }
        .loading-letters:nth-child(6) { animation-delay: 0.6s; }
        .loading-letters:nth-child(7) { animation-delay: 0.7s; }
        .loading-letters:nth-child(8) { animation-delay: 0.8s; }
        .loading-letters:nth-child(9) { animation-delay: 0.9s; }

        @keyframes letterBounce {
            0%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
            40% { transform: translateY(-10px); opacity: 1; }
        }

        @keyframes textFadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Floating particles */
        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 6px;
            height: 6px;
            background: #E74C3C;
            border-radius: 50%;
            animation: particleFloat 4s linear infinite;
            box-shadow: 0 0 6px rgba(231, 76, 60, 0.4);
        }

        @keyframes particleFloat {
            0% {
                opacity: 0;
                transform: translateY(100vh) scale(0) rotate(0deg);
            }
            10% {
                opacity: 1;
                transform: translateY(90vh) scale(1) rotate(45deg);
            }
            90% {
                opacity: 1;
                transform: translateY(10vh) scale(1) rotate(315deg);
            }
            100% {
                opacity: 0;
                transform: translateY(0vh) scale(0) rotate(360deg);
            }
        }

        /* Prevent scrolling during preloader */
        .no-scroll-y {
            overflow: hidden !important;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .loading-title {
                font-size: 2rem;
                letter-spacing: 2px;
            }
            
            .preloader-logo {
                width: 100px;
                height: 100px;
            }
        }

        /* Demo content styles for the page */
        .demo-content {
            min-height: 100vh;
            padding: 100px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .demo-card {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            max-width: 500px;
        }

        .demo-card h1 {
            color: #667eea;
            margin-bottom: 20px;
        }

        .demo-card p {
            color: #666;
            line-height: 1.6;
        }