/* ZLV LORE CSS // ESTRUTURA AGORISTA RESPONSIVA */

:root {
    --kix-pink: #ff69b4;
    --terminal-green: #00ff41;
    --bg-dark: #050505;
    --text-gray: #b0b0b0;
    --highlight: #ffffff;
}

body { 
    background-color: var(--bg-dark); 
    color: var(--text-gray); 
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Efeito de Scanline Monitor CRT */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    z-index: 1000;
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
}

.lore-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.dossier-header {
    border: 1px solid #222;
    padding: 30px;
    margin-bottom: 60px;
    background: #0a0a0a;
    border-left: 5px solid var(--kix-pink);
}

.terminal-text {
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.source-tag {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #444;
    font-family: monospace;
}

.chapter {
    margin-bottom: 100px;
    clear: both;
    overflow: hidden; /* Mantém o float contido */
}

/* O "QUADRADO BRANCO" DO MOCKUP */
.chapter-img-wrapper {
    float: left;
    width: 350px;
    height: 260px;
    margin-right: 35px;
    margin-bottom: 20px;
    background-color: #ffffff; /* Fundo branco caso a imagem falhe */
    border: 3px solid var(--kix-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(255, 105, 180, 0.1);
}

.lore-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chapter h2 {
    color: var(--highlight);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-family: 'JetBrains Mono', monospace;
}

.chapter p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.1rem;
}

.highlight { color: var(--highlight); font-weight: bold; }
.pink-term { color: var(--kix-pink); font-weight: bold; }

.quote-box {
    border-top: 1px solid #222;
    padding: 80px 20px;
    text-align: center;
    clear: both;
}

.signature {
    margin-top: 30px;
    color: #555;
    font-family: 'JetBrains Mono', monospace;
}

/* RESPONSIVIDADE PARA CELULARES */
@media (max-width: 800px) {
    .chapter-img-wrapper {
        float: none;
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .chapter h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .chapter p {
        font-size: 1rem;
    }
}
