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

body {
    background: #000;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    margin-bottom: 0.5rem;
    animation: subtle-glitch 8s ease-in-out infinite;
}

.subtitle {
    color: #00ffff;
    font-size: 1.2rem;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

h2 {
    color: #00ffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #00ffff;
    padding-bottom: 0.5rem;
}

h3 {
    color: #00ff00;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Alert section */
.alert {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    animation: alert-flicker 12s ease-in-out infinite;
}

@keyframes alert-flicker {
    0%, 98%, 100% { 
        opacity: 1;
        filter: hue-rotate(0deg);
        transform: translate(0);
    }
    99% { 
        opacity: 0.95;
        filter: hue-rotate(5deg);
        transform: translate(-0.2px, 0.2px);
    }
}

.alert h2 {
    color: #ff0000;
    border-bottom: 1px solid #ff0000;
}


/* Links */
a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    animation: link-glitch 0.5s ease-in-out;
}

/* Effets de glitch subtils et raffinés */
@keyframes subtle-glitch {
    0%, 95%, 100% { 
        transform: translate(0);
        filter: hue-rotate(0deg);
        text-shadow: 0 0 10px #00ff00;
    }
    1% { 
        transform: translate(-0.5px, 0.5px);
        filter: hue-rotate(15deg);
        text-shadow: 0 0 8px #00ff00, 1px 0 0 #ff00ff;
    }
    2% { 
        transform: translate(0.5px, -0.5px);
        filter: hue-rotate(-15deg);
        text-shadow: 0 0 8px #00ff00, -1px 0 0 #00ffff;
    }
    3% { 
        transform: translate(-0.3px, -0.3px);
        filter: hue-rotate(8deg);
        text-shadow: 0 0 6px #00ff00;
    }
    4% { 
        transform: translate(0.3px, 0.3px);
        filter: hue-rotate(-8deg);
        text-shadow: 0 0 6px #00ff00;
    }
}

@keyframes link-glitch {
    0%, 100% { 
        transform: translate(0);
        filter: hue-rotate(0deg);
        text-shadow: 0 0 5px #00ff00;
    }
    20% { 
        transform: translate(-0.3px, 0.3px);
        filter: hue-rotate(20deg);
        text-shadow: 0 0 4px #00ff00, 0.5px 0 0 #ff00ff;
    }
    40% { 
        transform: translate(0.3px, -0.3px);
        filter: hue-rotate(-20deg);
        text-shadow: 0 0 4px #00ff00, -0.5px 0 0 #00ffff;
    }
    60% { 
        transform: translate(-0.2px, -0.2px);
        filter: hue-rotate(10deg);
        text-shadow: 0 0 3px #00ff00;
    }
    80% { 
        transform: translate(0.2px, 0.2px);
        filter: hue-rotate(-10deg);
        text-shadow: 0 0 3px #00ff00;
    }
}

/* Effet de scan subtil et raffiné sur le body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 255, 0, 0.008) 3px,
        rgba(0, 255, 0, 0.008) 6px
    );
    z-index: -1;
    animation: scan-lines 0.15s linear infinite;
    pointer-events: none;
}

@keyframes scan-lines {
    0% { 
        transform: translateY(0);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(2px);
        opacity: 0.6;
    }
    100% { 
        transform: translateY(4px);
        opacity: 0.3;
    }
}

/* Footer */
footer {
    text-align: center;
    border-top: 1px solid #00ff00;
    padding-top: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}
