/* ===================================================== */
/* DEV LUSII - FINAL INTRO (ENGLISH) */
/* 6 SECONDS - ORANGE/RED/BLACK - PROGRESS + DRAMA + ORANGE FLASH */
/* ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

#intro-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    z-index: 9999;
    overflow: hidden;
    font-family: 'Roboto Mono', monospace;
    color: #fff;
    transition: opacity 0.6s ease-out;
}

.terminal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 10;
}

.scanline {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to bottom, transparent, #ff3e00);
    opacity: 0.25;
    animation: scan 2.2s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.code-lines {
    max-width: 900px;
    width: 100%;
    text-align: left;
    font-size: clamp(1rem, 2.3vw, 1.35rem);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.line {
    margin: 0.3rem 0;
    white-space: nowrap;
    overflow: hidden;
}

.prompt {
    color: #ff3e00; /* RED PROMPT */
    margin-right: 0.5rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.logo-reveal {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3.5rem, 11vw, 7rem);
    font-weight: 900;
    letter-spacing: 10px;
    background: linear-gradient(90deg, #ff3e00, #ff6b00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(255,62,0,0.7);
    margin-top: 1.5rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.progress-container {
    width: 90%;                    /* Daha geniş */
    max-width: 800px;              /* Maksimum genişlik artırıldı */
    height: 14px;                  /* Daha kalın bar */
    background: rgba(255,255,255,0.08);
    border-radius: 7px;
    overflow: hidden;
    margin: 1.8rem 0;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8),
        0 0 15px rgba(255,62,0,0.3);
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b00, #ff3e00);
    border-radius: 7px;
    transition: width 0.3s ease;
    box-shadow: 
        0 0 25px #ff3e00,
        0 0 40px #ff6b00;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #ffffff;               /* SAYI BEYAZ */
    font-size: 1rem;              /* SAYI BÜYÜTÜLDÜ */
    text-shadow: 0 0 12px #000;
    transition: color 0.3s;
}

.extra-line {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.4s ease, color 0.3s;
    color: #ff6b00;
}

/* FINAL ORANGE FLASH */
.final-flash {
    position: absolute;
    inset: 0;
    background: #ff3e00;           /* Sadece turuncu */
    opacity: 0;
    z-index: 20;
    pointer-events: none;
}

.final-flash.active {
    animation: orangeFlash 1.2s ease-out forwards;
}

@keyframes orangeFlash {
    0% { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    30% { 
        opacity: 1; 
        transform: scale(1.15); 
    }
    100% { 
        opacity: 0; 
        transform: scale(1.1); 
    }
}