/* ===== VARIABLES GLOBALES ===== */
:root {
    --netflix-red: #e50914;
    --netflix-dark: #141414;
    --netflix-dark-transparent: rgba(20, 20, 20, 0.9);
    --netflix-gray: #808080;
    --netflix-light: #e5e5e5;
    
    --squid-pink: #ff1476;
    --squid-green: #00e0a8;
    --squid-blue: #354e8c;
    --squid-dark: #0f0f0f;
    
    --card-width: 220px;
    --card-height: 330px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--netflix-dark);
}

body {
    font-family: 'NetflixFont', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--netflix-dark);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVIGATION NETFLIX ===== */
.netflix-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    transition: background-color 0.3s;
}

.netflix-nav.scrolled {
    background: var(--netflix-dark);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.netflix-logo {
    width: 100px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--netflix-light);
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s, border 0.3s;
    object-fit: cover;
}

.profile-img:hover {
    transform: scale(1.1);
}

.profile-img.mystery {
    border: 3px solid var(--netflix-red);
    box-shadow: 0 0 15px var(--netflix-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== BANNER SECTIONS ===== */
.banner-section {
    position: relative;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--netflix-dark-transparent) 0%,
        rgba(20, 20, 20, 0.7) 50%,
        transparent 100%
    );
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 4%;
    max-width: 600px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-info {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--netflix-light);
}

.banner-overview {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 550px;
}

.banner-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

/* ===== ACTION BUTTONS ===== */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.action-button.primary {
    background: white;
    color: black;
}

.action-button.primary:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.05);
}

.action-button.secondary {
    background: rgba(109, 109, 110, 0.7);
    color: white;
}

.action-button.secondary:hover {
    background: rgba(109, 109, 110, 0.9);
    transform: scale(1.05);
}

.action-button svg {
    width: 24px;
    height: 24px;
}

/* ===== CARD SECTIONS ===== */
.cards-section {
    padding: 60px 4%;
    background: var(--netflix-dark);
}

.cards-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.cards-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.cards-container::-webkit-scrollbar {
    display: none;
}

.netflix-card {
    flex: 0 0 var(--card-width);
    height: var(--card-height);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.netflix-card:hover {
    transform: scale(1.2);
    z-index: 10;
}

.netflix-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.netflix-card:hover .card-info {
    opacity: 1;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--netflix-light);
}

/* ===== DETAILS PAGES ===== */
.details-page {
    padding-top: 80px;
    min-height: 100vh;
}

.details-banner {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.details-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--netflix-dark) 0%,
        rgba(20, 20, 20, 0.9) 40%,
        transparent 100%
    );
}

.details-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.details-logo {
    width: 100px;
    margin-bottom: 30px;
}

.details-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.details-meta {
    color: var(--netflix-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-separator {
    color: var(--netflix-gray);
}

.bar-separator::after {
    content: "|";
}

.content-rating {
    border: 1px solid var(--netflix-gray);
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 0.8rem;
}

.details-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.details-list {
    list-style: none;
    margin: 20px 0;
}

.details-list li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.details-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--squid-pink);
}

.back-button {
    display: inline-block;
    background: var(--netflix-red);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background: #ff1a1a;
}

/* ===== CONVERSATION STYLES ===== */
.conversation-section {
    padding: 80px 4%;
    background: var(--squid-dark);
    min-height: 100vh;
}

.conversation-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.9);
    border-radius: 15px;
    border: 2px solid var(--netflix-red);
    overflow: hidden;
}

.conversation-header {
    background: #1a1a1a;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--netflix-red);
}

.conversation-header h2 {
    color: var(--netflix-red);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chat-messages {
    height: 400px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 70%;
    padding: 15px;
    border-radius: 20px;
    animation: fadeIn 0.3s ease;
}

.message.fan {
    background: linear-gradient(135deg, var(--netflix-red), var(--squid-pink));
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.user {
    background: #333;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.response-options {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #333;
}

.response-button {
    background: #333;
    border: 1px solid #555;
    color: white;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.response-button:hover {
    background: #444;
    transform: translateY(-2px);
}
.control-panel-section {
    background: #050505;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid #333;
}

.console-casing {
    background: #1a1a1a;
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 
        inset 0 0 50px rgba(0,0,0,0.9),
        0 30px 60px rgba(0,0,0,0.7);
    border: 1px solid #333;
    position: relative;
}

/* Vis pour l'effet réaliste aux 4 coins */
.console-casing::after {
    content: '+ +';
    position: absolute;
    top: 10px; right: 10px;
    color: #555;
    font-family: monospace;
    font-size: 20px;
    word-spacing: 1120px; /* Ecarte les + pour les coins */
    pointer-events: none;
}

/* --- ÉCRAN DE SURVEILLANCE --- */
.monitor-bezel {
    background: #111;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    border: 4px solid #333;
    border-bottom: none;
    box-shadow: inset 0 0 20px #000;
}

.surveillance-screen {
    height: 450px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #222;
    transition: background-image 0.3s ease;
}

/* Effet lignes de scan télé */
.screen-scanline {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.3));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

.camera-ui {
    position: absolute;
    top: 20px; left: 20px; right: 20px;
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', monospace;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
    z-index: 5;
    font-weight: bold;
    font-size: 1.1rem;
}

.cam-rec { animation: blink 1s infinite; color: red; text-shadow: 0 0 5px red; }
@keyframes blink { 50% { opacity: 0; } }

.screen-data-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0, 20, 0, 0.8);
    border: 1px solid #0f0;
    padding: 15px;
    font-family: 'Courier New', monospace;
    color: #0f0;
    z-index: 5;
    min-width: 250px;
}

.screen-data-overlay .data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px dashed rgba(0,255,0,0.3);
}

/* --- TABLEAU DE BORD (Boutons Physiques) --- */
.control-deck {
    background: linear-gradient(to bottom, #cfcfcf, #999); /* Métal */
    padding: 30px;
    border-radius: 0 0 10px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    border-top: 8px solid #111;
}

.deck-module {
    background: #b0b0b0;
    border: 1px solid #888;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.6), 
        inset -1px -1px 0 rgba(0,0,0,0.3),
        5px 5px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module-label {
    background: #111;
    color: #fff;
    padding: 4px 10px;
    font-family: sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid #000;
    box-shadow: 0 1px 0 rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

/* Interrupteurs (Switches) */
.switch-row {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.retro-switch {
    background: linear-gradient(to bottom, #444, #222);
    border: none;
    border-radius: 5px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    box-shadow: 0 6px 0 #000, 0 15px 20px rgba(0,0,0,0.4);
    transition: all 0.1s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.retro-switch:active, .retro-switch.active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #000, inset 0 0 10px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #222, #111);
}

.switch-light {
    width: 30px;
    height: 8px;
    background: #400;
    margin-bottom: 8px;
    border-radius: 2px;
    box-shadow: inset 0 0 3px #000;
    transition: 0.3s;
}

.retro-switch.active .switch-light {
    background: #ff0000;
    box-shadow: 0 0 15px #ff0000;
}

.switch-label {
    color: #aaa;
    font-size: 0.6rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

/* Panneau LED central */
.led-panel {
    display: flex;
    gap: 15px;
    background: #222;
    padding: 10px 20px;
    border-radius: 4px;
    border: 2px solid #555;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px #000;
}

.led-row { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 0.7rem; font-weight: bold; }
.led { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #000; }
.led.green { background: #00ff00; box-shadow: 0 0 8px #00ff00; }
.led.red { background: #500; }
.led.red.blink { animation: ledAlert 0.5s infinite alternate; }

@keyframes ledAlert { from { background: #500; } to { background: #ff0000; box-shadow: 0 0 15px red; } }

/* Bouton Hazard */
.hazard-btn {
    background: repeating-linear-gradient(45deg, #d00, #d00 10px, #a00 10px, #a00 20px);
    border: 4px solid #500;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    cursor: pointer;
    box-shadow: 0 6px 0 #300, 0 10px 20px rgba(0,0,0,0.5);
    transition: 0.1s;
    text-shadow: 0 1px 2px #000;
    display: grid;
    place-items: center;
}

.hazard-btn:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #300;
}

/* Compteurs digitaux */
.counter-display {
    width: 100%;
    background: #222;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 2px solid #555;
}

.counter-label {
    display: block;
    font-size: 0.6rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.digital-readout {
    background: #000;
    color: #ffaa00; /* Orange rétro */
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    padding: 5px;
    letter-spacing: 2px;
}

/* ================== DOSSIERS SECRETS ================== */
.dossiers-section {
    background: #111;
    padding: 80px 20px;
    min-height: 100vh;
    text-align: center;
}

.desk-surface {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 60px;
    perspective: 1000px;
}

.file-folder {
    width: 300px;
    height: 400px;
    background-color: #e3cbb1; /* Couleur papier Manille */
    position: relative;
    border-radius: 2px 10px 2px 2px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.6);
    cursor: pointer;
    transition: transform 0.4s ease;
    border: 1px solid #c9b09a;
    /* Texture papier vieilli */
    background-image: repeating-linear-gradient(transparent, transparent 19px, #d1bba4 20px);
}

.file-folder:nth-child(1) { transform: rotate(-4deg); }
.file-folder:nth-child(2) { transform: rotate(3deg); }
.file-folder:nth-child(3) { transform: rotate(-2deg); }

.file-folder:hover {
    transform: scale(1.05) rotate(0deg) translateY(-20px) !important;
    z-index: 10;
    box-shadow: 20px 20px 40px rgba(0,0,0,0.7);
}

.folder-tab {
    position: absolute;
    top: -30px; left: 0;
    width: 140px; height: 35px;
    background-color: #e3cbb1;
    border-radius: 8px 8px 0 0;
    color: #5d4037;
    font-weight: bold;
    line-height: 35px;
    font-size: 0.9rem;
    border: 1px solid #c9b09a;
    border-bottom: none;
}

.folder-body {
    padding: 40px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-secret-stamp {
    border: 4px solid rgba(220, 20, 20, 0.7);
    color: rgba(220, 20, 20, 0.8);
    font-size: 2rem;
    font-weight: 900;
    padding: 10px 20px;
    transform: rotate(-15deg);
    font-family: 'Courier New', sans-serif;
    letter-spacing: 4px;
    margin-bottom: 40px;
    mask-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/8399/grunge.png'); /* Effet grunge optionnel */
}

.folder-label {
    background: #fff;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    border: 1px solid #aaa;
    transform: rotate(1deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    width: 100%;
}

.paper-stack {
    position: absolute;
    top: 10px; left: 10px; right: 5px; bottom: 5px;
    background: #fff;
    z-index: -1;
    transform: rotate(2deg);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ================== MODAL (DOSSIER OUVERT) ================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.opened-file {
    width: 100%;
    max-width: 900px;
    height: 85vh;
    background: #f4e4bc;
    position: relative;
    box-shadow: 0 0 100px rgba(0,0,0,1);
    animation: slideUp 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    overflow-y: auto;
    color: #222;
}

@keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.paper-texture {
    padding: 60px;
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.png');
    font-family: 'Courier New', monospace;
}

.close-btn {
    position: absolute;
    top: 20px; right: 30px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #a00;
    color: #a00;
    padding: 5px 15px;
    text-transform: uppercase;
}

.close-btn:hover { background: #a00; color: #fff; }

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 30px;
}

.modal-image {
    width: 100%;
    height: 250px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    border: 5px solid #fff;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    margin-bottom: 20px;
}

.report-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.report-stats {
    margin-top: 30px;
    background: rgba(0,0,0,0.05);
    padding: 20px;
    border-left: 4px solid #d00;
}

/* Responsive */
@media (max-width: 768px) {
    .control-deck { grid-template-columns: 1fr; }
    .desk-surface { flex-direction: column; align-items: center; }
    .modal-content-grid { grid-template-columns: 1fr; }
    .paper-texture { padding: 30px 20px; }
}


/* ===== DOSSIERS SECTION ===== */
.dossiers-section {
    padding: 80px 4%;
    background: #0a0a0a;
    min-height: 100vh;
}

.dossiers-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.dossier-folder {
    width: 300px;
    height: 420px;
    position: relative;
    perspective: 2000px;
    cursor: pointer;
}

.folder-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    backface-visibility: hidden;
}

.folder-tab {
    position: absolute;
    top: -25px;
    right: 0;
    width: 120px;
    height: 35px;
    border-radius: 10px 10px 0 0;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.folder-label {
    background: #fcfcfc;
    padding: 20px 25px;
    width: 70%;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    transform: rotate(1deg);
    color: #111;
}

.folder-label span {
    font-size: 0.7rem;
    color: #777;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.folder-label strong {
    font-size: 1.2rem;
    color: #222;
    display: block;
    margin-top: 5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== UTILITY CLASSES ===== */
.text-red { color: var(--netflix-red); }
.text-pink { color: var(--squid-pink); }
.text-green { color: var(--squid-green); }
.text-gray { color: var(--netflix-gray); }

.bg-dark { background: var(--netflix-dark); }
.bg-darker { background: var(--squid-dark); }

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .netflix-nav {
        padding: 15px 4%;
    }
    
    .nav-links {
        display: none;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-info {
        font-size: 1.2rem;
    }
    
    .banner-overview {
        font-size: 1rem;
    }
    
    .banner-actions {
        flex-direction: column;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
    
    .cards-section {
        padding: 40px 4%;
    }
    
    .netflix-card {
        flex: 0 0 160px;
        height: 240px;
    }
    
    .details-title {
        font-size: 2rem;
    }
    
    .surveillance-screen {
        height: 300px;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .dossier-folder {
        width: 250px;
        height: 350px;
    }
    
    .conversation-container {
        margin: 0 4%;
    }
}
/* ===== EFFET SYSTEM SCANNING (ROUGE) ===== */

/* La classe qui active le filtre rouge sur l'écran */
.scan-mode-active {
    /* Transforme l'image en rouge saturé type infrarouge/alerte */
    filter: grayscale(100%) sepia(100%) hue-rotate(-50deg) saturate(700%) contrast(1.5) !important;
    transition: all 0.2s ease;
}

/* Le texte d'alerte au centre */
.scan-alert-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 100;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
    white-space: nowrap;
    animation: alertBlink 0.3s infinite alternate;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border: 2px solid #ff0000;
    pointer-events: none; /* Pour pouvoir cliquer au travers si besoin */
}

@keyframes alertBlink {
    0% { opacity: 1; text-shadow: 0 0 10px #f00; }
    100% { opacity: 0.5; text-shadow: 0 0 20px #f00, 0 0 40px #f00; }
}


