@charset "UTF-8";

:root {
            --win-grey: #c0c0c0;
            --win-blue: #000080;
            --win-border-light: #dfdfdf;
            --win-border-dark: #808080;
            --terminal-green: #33ff33;
            --terminal-bg: #0a0a0a;
        }

        *, *::before, *::after { box-sizing: border-box; }

        body {
            margin: 0;
            background-color: var(--terminal-bg);
            color: var(--terminal-green);
            font-family: 'Fira Code', monospace;
            overflow-x: hidden;
        }

        /* --- EFFET CRT (D�sactiv� par d�faut) --- */
        body.crt-active::before {
            content: " ";
            display: block;
            position: fixed;
            top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), 
                        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
            z-index: 9999;
            background-size: 100% 3px, 3px 100%;
            pointer-events: none;
            animation: flicker 0.15s infinite;
        }

        @keyframes flicker {
            0% { opacity: 0.98; } 50% { opacity: 1; } 100% { opacity: 0.99; }
        }

        /* --- HEADER & NAVBAR --- */
        .retro-header {
            position: sticky; top: 0; z-index: 1000;
            display: flex; flex-direction: column;
            background: var(--win-grey);
            border-bottom: 2px solid var(--win-border-dark);
        }

        .retro-marquee {
            background: var(--win-blue); color: #ffff00;
            padding: 4px 0; border-bottom: 2px solid #fff;
            font-family: 'VT323', serif; font-size: 18px;
        }

        .retro-navbar {
            display: flex; gap: 2px; align-items: stretch;
            padding: 2px; height: 38px;
        }

        .retro-nav-item {
            display: flex; align-items: center; gap: 6px; padding: 0 10px;
            text-decoration: none; color: #000; font-size: 13px; font-weight: bold;
            border: 1px solid transparent;
        }

        .retro-nav-item:hover {
            border-top: 1px solid #fff; border-left: 1px solid #fff;
            border-right: 1px solid var(--win-border-dark); border-bottom: 1px solid var(--win-border-dark);
            background: #d0d0d0;
        }

        .retro-nav-icon { width: 18px; height: 18px; image-rendering: pixelated; }
        .retro-nav-divider { width: 2px; margin: 4px 6px; background: var(--win-border-dark); border-right: 1px solid #fff; }

        /* --- BOUTON TURBO --- */
        #crt-toggle { margin-left: auto; cursor: pointer; outline: none; background: var(--win-grey); font-family: 'VT323', monospace; font-size: 16px; }
		/* L'aspect physique de la LED (�teinte par d�faut) */
		#turbo-led {
    	   	width: 10px;
           	height: 10px;
    		background: #444; /* Gris fonc� = �teinte */
    		border-radius: 50%;
    		display: inline-block;
    		margin-right: 8px;
    		border: 1px solid #000;
    		box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5);
    		transition: all 0.2s ease; /* Pour un bel effet d'allumage */
		}

        /* --- RECHERCHE --- */
        .search-container { margin-left: ; display: flex; align-items: center; gap: 5px; padding-right: 10px; }
        .retro-input { background: #000; color: var(--terminal-green); border: 2px inset #fff; padding: 2px 8px; font-family: 'Fira Code', monospace; font-size: 12px; }

        .main-container { padding: 20px; max-width: 1200px; margin: 0 auto; min-height: 80vh; }
        footer { text-align: center; padding: 30px; font-size: 12px; opacity: 0.6; }
	

		.marquee-rail {
    		width: 100%;
    		overflow: hidden; /* Cache ce qui d�passe */
   			background: var(--win-blue);
    		color: #ffff00;
    		border-bottom: 2px solid #fff;
    		font-family: 'VT323', serif;
    		font-size: 18px;
    		padding: 4px 0;
    		white-space: nowrap; /* Emp�che le texte de revenir � la ligne */
    		position: relative;
    		cursor: default;
		}

		#marquee-text {
    		display: inline-block;
    		position: relative;
    		left: 100%; /* D�marre � droite du rail */
    		will-change: transform; /* Optimise pour Edge/Chrome */
		}


		/* --- FENETRE TEXTBOX AVERTISSEMENT SITE VERSION BETA (L'arri�re-plan qui bloque le clic) --- */


		.modal-overlay {
    		position: fixed;
    		top: 0; left: 0; width: 100%; height: 100%;
    		background: rgba(0, 0, 0, 0.5); /* Ombre l�g�re */
    		display: flex;
    		justify-content: center;
    		align-items: center;
    		z-index: 10000; /* Au-dessus de tout, m�me du CRT */
		}

		/* --- LA FEN�TRE MESSAGE BOX --- */
		.beta-window {
    		width: 350px;
    		box-shadow: 2px 2px 0 #000;
		}

		.message-container {
    		display: flex;
    		gap: 15px;
    		align-items: center;
    		color: #000;
    		background: var(--win-grey);
    		padding: 10px;
		}

		.msg-icon { width: 32px; height: 32px; }

		.window-footer {
    		display: flex;
    		justify-content: center;
    		padding-top: 15px;
		}

		/* Bouton Fermer (le X en haut � droite) */
		.close-btn {
    		background: var(--win-grey);
    		border: 1px solid #fff;
    		border-right-color: #000;
    		border-bottom-color: #000;
    		font-weight: bold;
    		cursor: pointer;
    		font-family: sans-serif;
    		font-size: 10px;
    		padding: 1px 4px;
		}

		/* --- FINNNN   FENETRE TEXTBOX AVERTISSEMENT SITE VERSION BETA (L'arri�re-plan qui bloque le clic) --- */



		.home-grid {
        	display: grid;
        	grid-template-columns: 1fr 1fr;
        	gap: 20px;
        	margin-top: 20px;
    	}

    	@media (max-width: 768px) { .home-grid { grid-template-columns: 1fr; } }

    	.hero-card {
        	background: var(--win-grey);
        	border: 2px solid #fff;
        	border-right-color: var(--win-border-dark);
        	border-bottom-color: var(--win-border-dark);
        	padding: 4px;
        	color: #000;
    	}

    	.card-header {
        	background: #808080;
        	color: white;
        	padding: 5px 10px;
        	display: flex;
        	align-items: center;
        	gap: 10px;
    	}

    	.card-header h2 { margin: 0; font-size: 1.2rem; font-family: 'VT323'; }

    	.card-content {
        	padding: 20px;
        	background: #000;
        	border: 2px inset #fff;
        	min-height: 250px;
        	display: flex;
        	flex-direction: column;
        	justify-content: space-between;
    	}

    	.retro-side .card-content { color: #ffcc00; text-shadow: 0 0 5px #ffcc0066; }
    	.modern-side .card-content { color: var(--terminal-green); text-shadow: 0 0 5px #33ff3366; }

    	.card-content h3 { font-family: 'VT323'; font-size: 1.5rem; margin-top: 0; }

    	/* BOUTONS RETRO */
    	.retro-btn {
			display: inline-block;
			padding: 10px 15px;
			text-align: center;
			text-decoration: none;
			font-weight: bold;
			font-family: 'VT323';
			font-size: 1.2rem;
			border: 2px solid #fff;
			border-right-color: #555;
			border-bottom-color: #555;
			background: var(--win-grey);
			color: #000;
			transition: all 0.1s;
    	}

    	.retro-btn:active {
			border: 2px solid #555;
			border-right-color: #fff;
			border-bottom-color: #fff;
    	}

		.btn-amber:hover { background: #ffcc00; color: #000; }
		.btn-green:hover { background: #33ff33; color: #000; }

    	/* TERMINAL */
		.window { background: var(--win-grey); border: 2px solid #fff; border-right-color: #808080; border-bottom-color: #808080; }
		.window-title { background: var(--win-blue); color: white; padding: 3px 8px; font-weight: bold; display: flex; justify-content: space-between; font-size: 13px; }
		.window-body { padding: 15px; background: #050505; color: #33ff33; border: 2px inset #fff; font-size: 14px; }

		.log-line { margin-bottom: 8px; }
		.tag-retro { color: #ffcc00; font-weight: bold; }
		.tag-tech { color: #00ccff; font-weight: bold; }
		.tag-video { color: #ff0000; font-weight: bold; }
		.user { color: #fff; text-decoration: underline; }
		.time { opacity: 0.5; font-size: 0.8rem; }

		@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
		.cursor { animation: blink 1s infinite; }

		.home-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
    	}

		@media (max-width: 768px) { .home-grid { grid-template-columns: 1fr; } }

		.hero-card {
			background: var(--win-grey);
			border: 2px solid #fff;
			border-right-color: var(--win-border-dark);
			border-bottom-color: var(--win-border-dark);
			padding: 4px;
			color: #000;
		}

		.card-header {
			background: #808080;
			color: white;
			padding: 5px 10px;
			display: flex;
			align-items: center;
			gap: 10px;
		}

		.card-header h2 { margin: 0; font-size: 1.2rem; font-family: 'VT323'; }

		.card-content {
			padding: 20px;
			background: #000;
			border: 2px inset #fff;
			min-height: 250px;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
		}

		.retro-side .card-content { color: #ffcc00; text-shadow: 0 0 5px #ffcc0066; }
		.modern-side .card-content { color: var(--terminal-green); text-shadow: 0 0 5px #33ff3366; }

		.card-content h3 { font-family: 'VT323'; font-size: 1.5rem; margin-top: 0; }

		/* BOUTONS RETRO */
		.retro-btn {
			display: inline-block;
			padding: 10px 15px;
			text-align: center;
			text-decoration: none;
			font-weight: bold;
			font-family: 'VT323';
			font-size: 1.2rem;
			border: 2px solid #fff;
			border-right-color: #555;
			border-bottom-color: #555;
			background: var(--win-grey);
			color: #000;
			transition: all 0.1s;
		}

		.retro-btn:active {
			border: 2px solid #555;
			border-right-color: #fff;
			border-bottom-color: #fff;
		}

		.btn-amber:hover { background: #ffcc00; color: #000; }
		.btn-green:hover { background: #33ff33; color: #000; }

		/* TERMINAL */
		.window { background: var(--win-grey); border: 2px solid #fff; border-right-color: #808080; border-bottom-color: #808080; }
		.window-title { background: var(--win-blue); color: white; padding: 3px 8px; font-weight: bold; display: flex; justify-content: space-between; font-size: 13px; }
		.window-body { padding: 15px; background: #050505; color: #33ff33; border: 2px inset #fff; font-size: 14px; }

		.log-line { margin-bottom: 8px; }
		.tag-retro { color: #ffcc00; font-weight: bold; }
		.tag-tech { color: #00ccff; font-weight: bold; }
		.tag-video { color: #ff0000; font-weight: bold; }
		.user { color: #fff; text-decoration: underline; }
		.time { opacity: 0.5; font-size: 0.8rem; }

		@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
		.cursor { animation: blink 1s infinite; }


		.article-text { padding: 20px; font-family: "Times New Roman", serif; }
		.article-text h2 { margin-top: 0; border-bottom: 2px solid #eee; }

		
			/* MENU DE GAUCHE TECH IT */

		
	:root {
            --bg-dark: #0d1117;
            --accent-blue: #00d4ff; /* Ton bleu tech */
            --accent-glow: rgba(0, 212, 255, 0.3);
            }

            .sidebar-network {
                width: 280px;
                background: var(--bg-dark);
                border-right: 1px solid #30363d;
                height: 100vh;
                padding: 20px;
                color: white;
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }

            .sidebar-header h2 {
                font-size: 1.2rem;
                color: var(--accent-blue);
                letter-spacing: 2px;
                border-bottom: 2px solid var(--accent-blue);
                padding-bottom: 10px;
                margin-bottom: 30px;
                text-shadow: 0 0 10px var(--accent-glow);
            }

            .sidebar-nav-item {
                display: flex;
                align-items: center;
                padding: 12px 15px;
                text-decoration: none;
                color: #8b949e;
                border-radius: 8px;
                margin-bottom: 10px;
                transition: all 0.3s ease;
                border: 1px solid transparent;
            }

            /* L'EFFET D'ILLUMINATION QUAND L'ONGLET EST ACTIF */
            .sidebar-nav-item.active {
                color: white;
                background: rgba(0, 212, 255, 0.05);
                border: 1px solid var(--accent-blue);
                /* Le Glow extérieur */
                box-shadow: 0 0 15px var(--accent-glow), inset 0 0 5px var(--accent-glow);
                /* Le Glow sur le texte */
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
            }

            .sidebar-nav-item:hover:not(.active) {
                background: rgba(255, 255, 255, 0.05);
                color: white;
            }

            .sidebar-nav-item .icon {
                margin-right: 15px;
                font-size: 1.2rem;
            }