/* --- RESET ET BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- TOP NAVIGATION BAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #07db95;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-logo:hover {
    color: #0ffa9f;
    text-shadow: 0 0 10px rgba(7, 219, 149, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover {
    color: #07db95;
    text-shadow: 0 0 10px rgba(7, 219, 149, 0.5);
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    min-height: 100vh;
    overflow-y: auto; /* Permet le scroll vertical */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: black; /* Fond animé (GIF sombre) */
    background-size: cover;
    background-position: center;
    padding-top: 60px;
}

/* --- ÉCRAN "CLICK TO ENTER" --- */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

#overlay h1 {
    font-size: 1.5rem;
    color: #07db95;
}

/* --- CARTE DE PROFIL (Glassmorphism) --- */
.profile-container {
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s ease;
    position: relative;
    margin: 50px auto;
    max-width: 600px;
    padding: 0 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Image de profil */
.pfp {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #07db95;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(7, 219, 149, 0.4);
}

.username {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(7, 219, 149, 0.6);
    color: #07db95;
}

.bio {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 30px;
    min-height: 1.2em;
    font-weight: 300;
}

/* --- CONTENU PRINCIPAL --- */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skills-terminal,
.social-section {
    border-left: 2px solid #07db95;
    padding-left: 20px;
}

/* --- WINDOWS TERMINAL STYLE --- */
.windows-terminal {
    background: #000000;
    border: 1px solid #666666;
    border-radius: 4px;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: linear-gradient(to right, #000080, #1084d7);
    color: #ffffff;
    padding: 3px 5px;
    font-size: 0.85rem;
    border-bottom: 1px solid #666666;
    display: flex;
    align-items: center;
}

.terminal-title {
    flex: 1;
}

.terminal-body {
    background: #000000;
    padding: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-x: auto;
}

.terminal-line {
    color: #ffffff;
    margin: 2px 0;
}

.cmd-path {
    color: #ffffff;
    font-weight: bold;
}

.cmd-prompt {
    color: #ffffff;
    margin: 0 3px;
}

.terminal-output {
    margin: 5px 0 5px 20px;
    color: #ffffff;
}

.output-item {
    margin: 2px 0;
    color: #00ff00;
}

.blinking-cursor {
    animation: blink-cursor 0.7s infinite;
    display: inline-block;
}

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

/* --- LIENS SOCIAUX --- */
.links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.links a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
    text-decoration: none;
}

.links a:hover {
    transform: translateY(-3px);
    color: #dcdcdc;
    text-shadow: 0 0 15px #ffffff;
}

/* --- LIENS FLOTTANTS (BAS GAUCHE) --- */
.floating-socials {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 20px;
}

.floating-socials a {
    color: #07db95;
    font-size: 2rem;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
    text-decoration: none;
}

.floating-socials a:hover {
    color: #0ffa9f;
    text-shadow: 0 0 15px rgba(7, 219, 149, 0.6);
    transform: scale(1.1);
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { opacity: 0.5; text-shadow: 0 0 0 #fff; }
    50% { opacity: 1; text-shadow: 0 0 10px #fff; }
    100% { opacity: 0.5; text-shadow: 0 0 0 #fff; }
}

/* Classe pour afficher le contenu après le clic */
.visible {
    opacity: 1;
    transform: scale(1);
}

/* Curseur clignotant pour l'effet machine à écrire */
.cursor {
    display: inline-block;
    width: 2px;
    background-color: white;
    animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- COMING SOON PAGE --- */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    text-align: center;
    padding: 20px;
}

.coming-soon-box {
    background: linear-gradient(135deg, rgba(7, 219, 149, 0.1) 0%, rgba(15, 250, 159, 0.05) 100%);
    border: 2px solid #07db95;
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 600px;
    margin-bottom: 40px;
    box-shadow: 0 0 40px rgba(7, 219, 149, 0.4), inset 0 0 30px rgba(7, 219, 149, 0.05);
    backdrop-filter: blur(10px);
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    color: #07db95;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(7, 219, 149, 0.6);
    animation: glow-pulse 2s ease-in-out infinite;
}

.coming-soon-text {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 30px 0;
    line-height: 1.8;
}

.animated-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #07db95, #0ffa9f, transparent);
    margin: 30px 0;
    animation: slide-line 2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #07db95;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 10px rgba(7, 219, 149, 0.6);
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes glow-pulse {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(7, 219, 149, 0.6);
        color: #07db95;
    }
    50% { 
        text-shadow: 0 0 30px rgba(15, 250, 159, 0.8);
        color: #0ffa9f;
    }
}

@keyframes slide-line {
    0%, 100% { 
        opacity: 0.3;
        width: 0%;
        left: 50%;
    }
    50% { 
        opacity: 1;
        width: 100%;
        left: 0%;
    }
}

@keyframes bounce {
    0%, 80%, 100% { opacity: 0.4; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.back-link {
    color: #07db95;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.back-link:hover {
    color: #0ffa9f;
    text-shadow: 0 0 10px rgba(7, 219, 149, 0.5);
}
