:root {
    --bg-core: #000000;
    --bg-surface: #0a0a0a;
    --primary: #E50914;
    --primary-glow: rgba(229, 9, 20, 0.5);
    --text-main: #ffffff;
    --text-muted: #808080;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Vazirmatn', 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-main);
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dynamic Background */
.bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #4a0000;
    bottom: -5%;
    right: -5%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Main Container */
.landing-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* Logo Section */
.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: ripple 2s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.logo-icon {
    font-size: 3.5rem;
    color: var(--text-main);
    z-index: 2;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    animation: iconPulse 3s infinite ease-in-out;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

    .loader-progress {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 30%;
        background: var(--primary);
        border-radius: 4px;
        box-shadow: 0 0 10px var(--primary);
        animation: loading 1.5s infinite ease-in-out;
    }

    @keyframes loading {
        0% {
            left: -30%;
            width: 30%;
        }

        50% {
            width: 60%;
        }

        100% {
            left: 100%;
            width: 30%;
        }
    }

    .status-text {
        margin-top: 16px;
        font-size: 0.85rem;
        color: var(--text-muted);
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile Optimization */
    @media (max-width: 480px) {
        .landing-container {
            padding: 24px;
        }

        .logo-wrapper {
            width: 100px;
            height: 100px;
        }

        .logo-icon {
            font-size: 2.8rem;
        }

        .app-title {
            font-size: 1.75rem;
        }
    }