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

body {
    font-family: 'DejaVu Sans Mono', 'Liberation Mono', 'Ubuntu Mono', 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    background-color: #000000;
    color: #00ff00;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000000;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Sélecteur de langue */
.language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.lang-btn {
    background-color: #000000;
    color: #666666;
    border: 1px solid #ffffff;
    padding: 8px 15px;
    font-family: 'DejaVu Sans Mono', 'Liberation Mono', 'Ubuntu Mono', 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn:hover {
    background-color: #0a0a0a;
    color: #00ff00;
}

.lang-btn.active {
    color: #00ff00;
    background-color: #0a0a0a;
    border-color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Header avec profil */
.profile-header {
    background-color: #0a0a0a;
    border: 2px solid #ffffff;
    border-style: double;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ffffff;
    opacity: 0.3;
    pointer-events: none;
}

.profile-image {
    width: 150px;
    height: 150px;
    border: 2px solid #ffffff;
    object-fit: cover;
    image-rendering: pixelated;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.profile-info .email {
    color: #00ff00;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.profile-info .email a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile-info .email a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    text-decoration: underline;
}

.cv-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #000000;
    color: #00ff00;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    font-family: 'DejaVu Sans Mono', 'Liberation Mono', 'Ubuntu Mono', 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    z-index: 10;
}

.cv-btn:hover {
    background-color: #0a0a0a;
    border-color: #00ff00;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.profile-info .bio {
    color: #cccccc;
    font-size: 0.9em;
    line-height: 1.5;
    word-spacing: -0.5px;
    letter-spacing: -0.2px;
}

/* Zone de contenu */
.content-area {
    background-color: #0a0a0a;
    border: 2px solid #ffffff;
    border-style: double;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Onglets */
.tabs {
    display: flex;
    border-bottom: 2px solid #ffffff;
    background-color: #000000;
}

.tab {
    background-color: #000000;
    color: #666666;
    border: none;
    border-right: 1px solid #ffffff;
    padding: 15px 25px;
    font-family: 'DejaVu Sans Mono', 'Liberation Mono', 'Ubuntu Mono', 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.tab:last-child {
    border-right: none;
}

.tab:hover {
    background-color: #0a0a0a;
    color: #00ff00;
}

.tab.active {
    color: #00ff00;
    background-color: #0a0a0a;
    border-bottom: 2px solid #0a0a0a;
    margin-bottom: -2px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.tab.active::before {
    content: '> ';
    margin-right: 5px;
    color: #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Contenu des onglets */
.tab-content {
    padding: 20px;
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.terminal-window {
    background-color: #000000;
    border: 1px solid #ffffff;
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
}

.terminal-text {
    color: #00ff00;
    font-family: 'DejaVu Sans Mono', 'Liberation Mono', 'Ubuntu Mono', 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 1em;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    animation: terminal-flicker 0.15s infinite;
}

@keyframes terminal-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.98;
    }
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .cv-btn {
        top: 10px;
        left: 10px;
        bottom: auto;
        right: auto;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        border-right: none;
        border-bottom: 1px solid #ffffff;
    }
    
    .tab.active {
        border-bottom: 2px solid #ffffff;
        margin-bottom: 0;
    }
}
