/* Loading screen — appears briefly on page load, then fades out */
.loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0a1a3f;
    background-image: url('images/reality.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 63, 0.55);
    z-index: 0;
}

.neural-grid,
.loading-particles {
    display: none;
}

.loading-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.loader-logo {
    margin-bottom: 24px;
}

.progress-container {
    width: 200px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #b63806;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}