/* Loading Screen Styles */
    #storeLoadingScreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #00b9ff 0%, #ED3237 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    #storeLoadingScreen.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .loading-logo {
        font-size: 48px;
        font-weight: bold;
        color: white;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        letter-spacing: 2px;
        margin-bottom: 10px;
        animation: logoFloat 2s ease-in-out infinite;
    }

    .loading-tagline {
        color: rgba(255, 255, 255, 0.9);
        font-size: 16px;
        margin-bottom: 50px;
        animation: fadeInUp 0.8s ease;
    }

    /* Spinner Animation */
    .store-spinner {
        width: 60px;
        height: 60px;
        border: 5px solid rgba(255, 255, 255, 0.3);
        border-top: 5px solid white;
        border-radius: 50%;
        animation: spinRotate 1s linear infinite;
    }

    /* Loading Text */
    .loading-status {
        color: white;
        font-size: 16px;
        margin-top: 30px;
        font-weight: 500;
    }

    .loading-status::after {
        content: '';
        animation: loadingDots 1.5s steps(4, end) infinite;
    }

    /* Progress Bar */
    .store-progress {
        width: 280px;
        height: 3px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        margin-top: 25px;
        overflow: hidden;
    }

    .store-progress-bar {
        height: 100%;
        background: white;
        border-radius: 10px;
        width: 0%;
        animation: progressFill 2s ease-out forwards;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }

    /* Animations */
    @keyframes spinRotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @keyframes loadingDots {
        0%, 20% { content: ''; }
        40% { content: '.'; }
        60% { content: '..'; }
        80%, 100% { content: '...'; }
    }

    @keyframes progressFill {
        0% { width: 0%; }
        50% { width: 70%; }
        100% { width: 100%; }
    }

    @keyframes logoFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

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

    /* Hide page content initially */
    body.loading {
        overflow: hidden;
    }

    .page-content {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .page-content.loaded {
        opacity: 1;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .loading-logo {
            font-size: 36px;
        }

        .loading-tagline {
            font-size: 14px;
        }

        .store-progress {
            width: 220px;
        }
    }
