/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #050505;
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --neon-green: #00ff41;
    --text-main: #e0e0e0;
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Roboto Mono', monospace; /* Police style "code" */
    overflow-x: hidden;
}

/* Police spéciale pour les gros titres */
h1, h2, .logo, .cyber-btn {
    font-family: 'Orbitron', sans-serif;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid var(--neon-blue);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    color: var(--neon-blue);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-blue);
}

.blink {
    animation: blinker 1s linear infinite;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 70%);
}

.glitch-title {
    font-size: 4rem;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.status {
    color: var(--neon-green);
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Bouton Cyber */
.cyber-btn {
    margin-top: 40px;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--neon-blue);
}

.cyber-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 30px var(--neon-blue);
}

/* --- SECTION À PROPOS (YABNÉ) --- */
.about-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #000 0%, #0e0e0e 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-bottom: 60px;
    text-shadow: 0 0 10px var(--neon-purple);
}

.grid-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.data-box {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-left: 4px solid var(--neon-blue);
    padding: 30px;
    transition: transform 0.3s;
}

.data-box:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.2);
}

.box-header {
    font-weight: bold;
    color: var(--neon-blue);
    margin-bottom: 15px;
    border-bottom: 1px dashed #444;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

/* --- SECTION MODULES --- */
.modules-section {
    padding: 100px 20px;
    background-color: var(--bg-dark);
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tech-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
}

.tech-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.html h3 { color: #e34c26; }
.css h3 { color: #264de4; }
.js h3 { color: #f7df1e; }

.tech-card:hover {
    background: rgba(255,255,255,0.08);
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

/* Animation curseur */
@keyframes blinker {
    50% { opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .glitch-title {
        font-size: 2.5rem;
    }
}