/* ========================================
   MINIMAL PRELOADER with Pixelify Sans Font
   ======================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06030d;
    /* Match dark theme - was #2C1250 purple */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    /* Reduced gap to bring elements closer */
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Pixelify Sans', sans-serif;
    /* Pixelify Sans font */
    background: linear-gradient(135deg, var(--accent-gold), #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

/* Percentage Counter - Bigger & Closer to Bar */
.loader-counter {
    font-size: 1.5rem;
    /* Increased from 1rem */
    font-weight: 600;
    font-family: 'Pixelify Sans', sans-serif;
    /* Pixelify Sans font */
    color: rgba(255, 255, 255, 0.7);
    margin-top: -0.75rem;
    /* Closer to logo */
    margin-bottom: 0.5rem;
    /* Closer to progress bar */
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

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

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    position: absolute;
    left: 0;
    transition: width 0.3s ease-out;
}