/* Hide scrollbar for Chrome, Safari and Opera */
        html.home::-webkit-scrollbar, html.home body::-webkit-scrollbar, .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        /* Hide scrollbar for IE, Edge and Firefox */
        html.home, html.home body, .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* ======================================= */
        /* GRUNGE / VHS GLITCH ANIMATION           */
        /* ======================================= */
        
        /* Effet Zapping de Télévision Cathodique */
        @keyframes static-burst {
            0% { opacity: 0; }
            10% { opacity: 0.9; }
            30% { opacity: 1; }
            50% { opacity: 0.8; }
            100% { opacity: 0; }
        }
        .animate-static-burst {
            animation: static-burst 0.5s ease-out forwards;
        }

        /* L'image saute quand la chaîne accroche */
        @keyframes crt-lock {
            0% { transform: translateY(20px); filter: grayscale(100%) contrast(200%); }
            40% { transform: translateY(-5px); filter: grayscale(50%) contrast(150%); }
            70% { transform: translateY(2px); filter: contrast(100%); }
            100% { transform: translateY(0); filter: none; }
        }
        .animate-crt-lock {
            animation: crt-lock 0.35s ease-out both;
        }

        /* ======================================= */
        /* CLASSIC WINAMP SKIN STYLES              */
        /* ======================================= */
        .wa-window {
            background-color: #2C2C31;
            border-top: 2px solid #EAEAEA;
            border-left: 2px solid #EAEAEA;
            border-bottom: 2px solid #000000;
            border-right: 2px solid #000000;
        }
        .wa-inset {
            background-color: #000000;
            border-top: 2px solid #161616;
            border-left: 2px solid #161616;
            border-bottom: 2px solid #5A5A5A;
            border-right: 2px solid #5A5A5A;
        }
        .wa-outset {
            background-color: #A9A9A9;
            border-top: 2px solid #FFFFFF;
            border-left: 2px solid #FFFFFF;
            border-bottom: 2px solid #404040;
            border-right: 2px solid #404040;
        }
        .wa-btn {
            background-color: #A9A9A9;
            border-top: 2px solid #FFFFFF;
            border-left: 2px solid #FFFFFF;
            border-bottom: 2px solid #404040;
            border-right: 2px solid #404040;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #000;
        }
        .wa-btn:active {
            border-top: 2px solid #404040;
            border-left: 2px solid #404040;
            border-bottom: 2px solid #FFFFFF;
            border-right: 2px solid #FFFFFF;
        }
        @keyframes wa-marquee {
            from { transform: translateX(100%); }
            to { transform: translateX(-100%); }
        }
        .wa-marquee { display: inline-block; animation: wa-marquee 12s linear infinite; }
        @media (prefers-reduced-motion: reduce) {
            .wa-marquee, .animate-static-burst, .animate-crt-lock { animation: none; }
        }
        .wa-text-green {
            color: #00FF00;
            text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
        }
    
/* ======================================= */
/* PAGES SECONDAIRES / EXTRAS              */
/* ======================================= */
.bg-noise { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.card { background: rgba(0,0,0,.6); border: 1px solid rgba(223,177,37,.3); border-radius: .75rem; backdrop-filter: blur(4px); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: .5rem; font-weight: 600; font-size: .875rem; border: 1px solid rgba(223,177,37,.5); color: #dfb125; background: rgba(0,0,0,.7); transition: background-color .3s, color .3s, transform .3s; }
.btn:hover, .btn:focus-visible { background: #dfb125; color: #000; transform: translateY(-1px); }
.btn-solid { background: #dfb125; color: #000; }
.btn-solid:hover { background: #fff; border-color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #dfb125; outline-offset: 2px; }

@keyframes cat-wiggle { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-14deg) scale(1.25); } 50% { transform: rotate(12deg) scale(1.25); } 80% { transform: rotate(-6deg) scale(1.1); } }
.cat-wiggle { animation: cat-wiggle .6s ease-in-out; }

.toast { position: fixed; left: 50%; bottom: 5rem; transform: translateX(-50%); z-index: 9999; padding: .5rem 1rem; border-radius: .5rem; background: #dfb125; color: #000; font-family: "Special Elite", monospace; font-size: .875rem; box-shadow: 0 10px 30px rgba(0,0,0,.6); animation: toast-in .3s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Mode "MTV 1995" (code Konami ou 5 clics sur le logo) */
html.mtv95::after { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.75) 100%);
    box-shadow: inset 0 0 0 100vmax rgba(255,170,60,.06); }
html.mtv95 h1, html.mtv95 h2, html.mtv95 h3, html.mtv95 .font-grunge, html.mtv95 img { text-shadow: 2px 0 rgba(255,0,60,.55), -2px 0 rgba(0,220,255,.55); }
html.mtv95 img { filter: saturate(1.6) contrast(1.15) hue-rotate(-8deg); }
#mtv-osd { display: none; position: fixed; z-index: 9999; top: .75rem; left: 1rem; pointer-events: none; font-family: "VT323", monospace; font-size: 1.5rem; color: #fff; text-shadow: 0 0 6px rgba(255,255,255,.8), 2px 0 rgba(255,0,60,.7); line-height: 1.1; }
html.mtv95 #mtv-osd { display: block; animation: mtv-jitter 3s steps(1) infinite; }
#mtv-osd .rec { color: #f33; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes mtv-jitter { 0%,92% { transform: none; } 93% { transform: translate(3px,-1px); } 95% { transform: translate(-2px,1px); } 97% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cat-wiggle, #mtv-osd, #mtv-osd .rec { animation: none !important; } }

/* L'attribut hidden doit toujours gagner, même sur un élément avec une classe display (grid, flex…) */
[hidden] { display: none !important; }

/* Administration */
.inp { width: 100%; padding: .5rem .75rem; font-size: .875rem; color: #f3f4f6; background: rgba(0,0,0,.6); border: 1px solid #4b5563; border-radius: .5rem; }
.inp:focus { outline: none; border-color: #dfb125; box-shadow: 0 0 0 2px rgba(223,177,37,.3); }
textarea.inp { min-height: 5rem; resize: vertical; }
.lbl { display: block; font-size: .75rem; letter-spacing: .05em; color: #9ca3af; margin-bottom: .25rem; }
.btn-sm { padding: .25rem .6rem; font-size: .75rem; }
.btn-danger { border-color: rgba(248,113,113,.6); color: #f87171; }
.btn-danger:hover { background: #ef4444; color: #fff; }
.fa-rotate-90 { transform: rotate(90deg); } .fa-rotate-180 { transform: rotate(180deg); }
