body {
    background-color: #0D0F12;
    margin: 0;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0D0F12;
}

header,
main,
footer {
    display: none !important;
    visibility: hidden !important;
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #FBFCFE;
        color: #FBFCFE;
    }

    #loading-screen {
        background: linear-gradient(135deg, #FBFCFE 0%, #EFF2F7 100%);
    }

    .epic-hire-logo {
        filter: brightness(0);
    }

    .loading-text {
        color: #000000;
    }

    .loading-spinner::before {
        border: 3px solid rgba(43, 136, 255, 0.2);
        border-top: 3px solid #2B88FF;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #0D0F12;
    }

    #loading-screen {
        background: linear-gradient(135deg, #0D0F12 0%, #1B1F28 100%);
    }
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    margin-bottom: 40px;
}

.epic-hire-logo {
    width: 300px;
    height: auto;
    max-width: 80vw;
    animation: logoFadeIn 1.5s ease-out;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(130, 110, 255, 0.2);
    border-top: 3px solid #826eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.progress-container {
    width: 240px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0095ff 0%, #826eff 100%);
    border-radius: 2px;
    width: 0%;
    animation: progressAnimation 3s ease-in-out infinite;
}

.loading-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    margin-top: 12px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 100%;
        transform: translateX(0%);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

@media (max-width: 600px) {
    .epic-hire-logo {
        width: 250px;
    }

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

@media (max-width: 400px) {
    .epic-hire-logo {
        width: 200px;
    }
}