/* ===========================
   AREA-7 Loading Screen
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Courier New', monospace;
    background: #0a0a0a;
    color: #cccccc;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

/* Container */
.container {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 100;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    text-align: center;
}

.logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: #ddd;
}

/* Player Info */
.player-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 0.85rem;
    padding-bottom: 20px;
    border-bottom: 2px solid #222;
}

.player-info span {
    color: #666;
    letter-spacing: 1px;
}

.player-info span span {
    color: #ccc;
    font-weight: bold;
    margin-left: 5px;
}

/* Terminal */
.terminal {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    min-height: 400px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #666;
}

.terminal-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.85rem;
    font-family: 'Consolas', monospace;
}

.terminal-line {
    padding: 4px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: terminalFadeIn 0.2s ease-in;
    transition: color 0.5s ease;
}

/* Fade effect - newest lines are white, older lines fade to grey */
.terminal-line:nth-last-child(n+2) {
    color: #cccccc;
}

.terminal-line:nth-last-child(n+4) {
    color: #aaaaaa;
}

.terminal-line:nth-last-child(n+6) {
    color: #888888;
}

.terminal-line:nth-last-child(n+8) {
    color: #666666;
}

.terminal-line:nth-last-child(n+12) {
    color: #555555;
}

.file-type-indicator {
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 15px;
}

@keyframes terminalFadeIn {
    from { 
        opacity: 0;
        transform: translateY(-5px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar for Terminal */
.terminal-content::-webkit-scrollbar {
    width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 2px;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Status Bar */
.status-bar {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    text-align: center;
}

#loading-status {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #999;
    font-weight: 300;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #222;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .logo {
        height: 50px;
    }
    
    .header h1 {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
    
    .player-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-percent {
        text-align: center;
        width: 100%;
    }
    
    .terminal {
        min-height: 300px;
        max-height: 300px;
    }
}
    .tree-column {
        min-height: 150px;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.2rem;
    }
    
    .player-info {
        flex-direction: column;
        gap: 8px;
    }
}
    text-transform: uppercase;
}

#player-name {
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}

.map-name {
    color: var(--text-dim);
    font-size: 0.85dth 0.3s ease;
    position: relative;
    box-shadow: 
        0 0 20px var(--glow),
        0 0 30px var(--glow);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size20px;
    background: var(--darker);
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--dark);
    border: 2px solid var(--primary);
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.2s linear;
    position: relative;
}

.progress-shine {
    display: none;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.9rem;
    letter-spacing: 0px;
    gap: 20px;
}

#loading-status {
    color: var(--text);
    text-transform: uppercase;
    font-weight: 400;
    flex: 1;
}

#loading-status::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

#loading-percent {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 5
        width: 95%;
        gap: 25px;
    }
}
padding: 15px;
    background: var(--darker);
    border-top: 2px solid var(--primary);
}

.motto {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;1.5rem;
        letter-spacing: 4px;
    }
    
    .player-section {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .avatar-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .motto {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .container {
        width: 95%