/* ============================================================================
   LOADING SCREEN — Clean branded preload gate
   ============================================================================ */

.load-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0c0a08;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    image-rendering: pixelated;
    transition: opacity 0.6s ease-out;
}

.load-screen.load-fade-out {
    opacity: 0;
    pointer-events: none;
}

.load-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 32px;
    width: 100%;
    max-width: 360px;
}

/* --- Title --- */

.load-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: load-title-enter 0.8s ease-out forwards;
}

@keyframes load-title-enter {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.load-title-word {
    font-family: 'Press Start 2P', monospace;
    color: #c8a040;
    text-align: center;
    letter-spacing: 4px;
    text-shadow:
        0 0 24px rgba(200, 160, 64, 0.6),
        0 0 48px rgba(200, 160, 64, 0.25),
        0 4px 0 #4a3010,
        0 5px 0 #3a2008,
        0 6px 10px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.load-title-ferns {
    font-size: clamp(36px, 10vw, 72px);
    line-height: 1.0;
}

.load-title-wf {
    font-size: clamp(14px, 4vw, 32px);
    line-height: 1.0;
    margin-top: -2px;
    color: #b89038;
    letter-spacing: 3px;
}

/* --- Progress section --- */

.load-progress-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: load-progress-enter 0.5s ease-out 0.4s forwards;
}

@keyframes load-progress-enter {
    to { opacity: 1; }
}

.load-bar-outer {
    width: 100%;
    height: 12px;
    background: #1a1c16;
    border: 2px solid #2a2c20;
    position: relative;
    overflow: hidden;
}

.load-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(180deg, #e8c840 0%, #c8a040 40%, #8a6a28 100%);
    transition: width 0.15s ease-out;
}

.load-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
}

.load-status {
    font: 9px/1.4 'Press Start 2P', monospace;
    color: #808070;
    text-align: center;
}
