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

body, html { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: #000000; 
    font-family: 'Courier New', Courier, monospace; 
}

canvas { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
}

/* CARTEL D'EXPOSITION */
.gallery-cartel {
    position: absolute; 
    bottom: 40px; 
    left: 40px; 
    z-index: 2; 
    max-width: 440px;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-left: 2px solid #ff0055; 
    padding: 30px; 
    color: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9); 
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    pointer-events: auto;
}

.gallery-cartel.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

.art-title { 
    font-size: 1.6rem; 
    font-weight: bold; 
    margin-bottom: 5px; 
    font-family: sans-serif; 
    letter-spacing: -0.5px; 
}

.art-author { 
    font-size: 0.75rem; 
    color: #ff0055; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    letter-spacing: 2px; 
}

.art-statement { 
    font-size: 0.95rem; 
    line-height: 1.6; 
    color: #ccc; 
    margin-bottom: 25px; 
    font-style: italic; 
}

.mutation-tracker { 
    font-size: 0.85rem; 
    color: #888; 
    border-top: 1px solid #222; 
    padding-top: 15px; 
    margin-bottom: 20px; 
}

.tracker-row { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 8px; 
}

.highlight { color: #00ffcc; font-weight: bold; }
.countdown-count { color: #ff0055; font-weight: bold; }
.price-tag { font-size: 0.9rem; color: #aaa; margin-bottom: 25px; }
.price-tag span { color: #fff; font-weight: bold; }

.btn-next {
    width: 100%; 
    background: transparent; 
    border: 1px solid #ff0055; 
    color: #ff0055; 
    padding: 12px;
    cursor: pointer; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    transition: all 0.3s;
}

.btn-next:hover { 
    color: #fff; 
    background: #ff0055; 
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4); 
}

.btn-reduce {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: transparent; 
    border: none;
    color: #666; 
    font-size: 1.2rem; 
    cursor: pointer; 
    transition: color 0.3s;
}

.btn-reduce:hover { color: #fff; }

.btn-mute {
    position: absolute; 
    top: 15px; 
    right: 45px; 
    background: transparent; 
    border: none; 
    color: #00ffcc; 
    font-size: 1.2rem; 
    cursor: pointer; 
    transition: color 0.3s;
}

.gallery-cartel.minimized {
    max-width: 45px; 
    max-height: 45px; 
    padding: 14px; 
    overflow: hidden;
    border-left: none; 
    background: rgba(0, 0, 0, 0.9); 
    border-radius: 50%;
    bottom: 40px; 
    left: 40px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    border: 1px solid #333;
}

.gallery-cartel.minimized * { display: none; }
.gallery-cartel.minimized .btn-reduce { 
    display: block; 
    position: static; 
    font-size: 1.3rem; 
    color: #00ffcc; 
}

/* ÉCRAN DE CHARGEMENT CINÉMATIQUE RESONSIVE */
#manifesto-loader {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: #000000; 
    z-index: 4; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: #fff; 
    transition: opacity 1s ease; 
    padding: 24px;
}

.manifesto-box { 
    width: 100%; 
    max-width: 680px; 
    text-align: left; 
    border-left: 2px solid rgba(255, 0, 85, 0.3); 
    padding-left: 20px; 
    transition: all 0.5s ease; 
}

.manifesto-tag { 
    font-size: 0.72rem; 
    color: #ff0055; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
    font-weight: bold; 
    line-height: 1.4; 
}

.pulse-text { animation: pulse 1.5s infinite; }
.manifesto-text { font-size: 1.05rem; line-height: 1.7; color: #aaa; min-height: 120px; }
.manifesto-text strong { color: #fff; font-weight: normal; }

/* MULTI-PANNEAUX ADAPTATIFS */
.dual-panels-container {
    display: flex; 
    width: 100%; 
    max-width: 1050px; 
    gap: 40px; 
    padding: 10px;
    z-index: 5; 
    opacity: 0; 
    transform: translateY(10px); 
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.studio-panel { 
    flex: 1; 
    background: rgba(8, 8, 8, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.03); 
    padding: 25px; 
    height: 400px; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
}

.studio-panel.left-brief { border-left: 2px solid #00ffcc; }
.studio-panel.right-code { border-left: 2px solid #ff0055; }

.panel-tag { font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; font-weight: bold; }
.panel-tag.blue { color: #00ffcc; }
.panel-tag.pink { color: #ff0055; }
.brief-title { font-size: 1.3rem; color: #fff; font-family: sans-serif; margin-bottom: 12px; font-weight: bold; }

/* SCROLL INVISIBLE MAGIQUE */
.invisible-scroll {
    flex: 1; 
    overflow-y: auto; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    padding-right: 5px;
}
.invisible-scroll::-webkit-scrollbar { display: none; }

.brief-text { color: #aaa; font-style: italic; line-height: 1.6; font-size: 0.95rem; }
.code-terminal-area { font-family: monospace; color: #555; font-size: 0.8rem; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }

#loader-footer {
    position: absolute; 
    bottom: 20px; 
    left: 0; 
    width: 100%; 
    text-align: center; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.8rem; 
    color: rgba(255, 255, 255, 0.3); 
    letter-spacing: 1px; 
    z-index: 5;
}

#loader-footer a {
    color: rgba(0, 255, 204, 0.6); 
    text-decoration: none; 
    transition: color 0.3s;
}

#loader-footer a:hover {
    color: #00ffcc;
}

.bg-data-stream { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    opacity: 0.01; pointer-events: none; font-size: 0.8rem; overflow: hidden; color: #00ffcc; 
}

@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* MEDIA QUERIES : ADAPTATION SMARTPHONE */
@media (max-width: 768px) {
    #manifesto-loader { padding: 16px; justify-content: flex-start; overflow-y: auto; }
    .manifesto-text { font-size: 0.95rem; line-height: 1.6; }
    
    .dual-panels-container { 
        flex-direction: column; 
        gap: 15px; 
        height: calc(100vh - 120px); 
    }
    
    .studio-panel { 
        flex: none; 
        height: 48%; 
        min-height: 200px;
        padding: 15px; 
    }
    
    .brief-title { font-size: 1.1rem; margin-bottom: 8px; }
    .brief-text { font-size: 0.88rem; }
    .code-terminal-area { font-size: 0.75rem; }

    .gallery-cartel {
        left: 16px; bottom: 16px; right: 16px; max-width: none; padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    }
    
    .gallery-cartel.minimized {
        left: 16px; bottom: 16px; right: auto; max-width: 45px; max-height: 45px;
    }
    
    .art-title { font-size: 1.3rem; }
    .art-statement { font-size: 0.88rem; margin-bottom: 15px; }

    #loader-footer { bottom: 10px; font-size: 0.7rem; }
}