/* Page Loader - Phase 3 (Enhanced) */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-loader.loaded {
    transform: translateY(-100%);
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-loader.loaded .loader-content {
    opacity: 0;
    transform: translateY(-50px);
}

.counter-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.counter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15vw;
    font-weight: 700;
    line-height: 1;
    color: #D9FF00;
    letter-spacing: -0.05em;
}

.counter-symbol {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4vw;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.5rem;
}

/* Adjust font sizes for desktop to prevent it from being too huge */
@media (min-width: 768px) {
    .counter {
        font-size: 8rem;
    }

    .counter-symbol {
        font-size: 2rem;
    }
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: #D9FF00;
    transition: width 0.1s linear;
}

.loading-text {
    font-family: 'Archivo', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: #888;
    margin-top: 1rem;
    text-transform: uppercase;
}