/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body { height: 100%; }

/* ================= BODY ================= */
body {
    background: #0b0b0b;
    color: #f5f5f5;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    padding: 40px 20px;

    display: flex;
    flex-direction: column; /* empile tout verticalement */
    align-items: center;    /* centre horizontalement */
}

/* ================= BACKGROUND ================= */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,0,255,0.2), transparent 35%),
                radial-gradient(circle at 80% 70%, rgba(0,255,255,0.2), transparent 25%),
                radial-gradient(circle at 50% 50%, rgba(0,255,255,0.05), transparent 60%);
    z-index: -1;
    animation: slowMove 20s infinite alternate ease-in-out, glowBg 6s infinite alternate ease-in-out;
}

@keyframes slowMove {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-8px,-8px) scale(1.05); }
    100% { transform: translate(-15px,-15px) scale(1.1); }
}

@keyframes glowBg {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

/* ================= MAIN LAYOUT ================= */
.main-container {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    max-width: 1100px;
    width: 100%;
    position: relative;
    gap: 40px;
}

/* ================= VERTICAL SEPARATOR ================= */
.main-container::before {
    content: '';
    width: 3px;
    background: linear-gradient(to bottom, #00ffff, #ff00ff);
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ================= HERO / PROFILE LEFT ================= */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* centré par rapport à la barre */
    text-align: right;
    flex: 1;
    padding-right: 20px;
}

.hero img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff00ff;
    box-shadow: 0 0 25px #00ffff55, 0 0 25px #ff00ff55;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.5;
    opacity: 0.85;
}

/* ================= BIO ================= */
.bio {
    margin-top: 20px;
    text-align: right;
    max-width: 400px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ================= BUTTONS RIGHT ================= */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    align-items: flex-start; 
    padding-left: 20px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    padding: 14px 0;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid #00ffff;
    color: #00ffff;
    background: rgba(255,255,255,0.02);
    transition: all 0.35s ease;
    box-shadow: 0 0 5px rgba(0,255,255,0.2), 0 0 5px rgba(255,0,255,0.2);
}

.btn i {
    font-size: 1.2rem;
}

.btn:hover {
    transform: scale(1.08);
    color: #fff;
    border-color: #ff00ff;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 15px #00ffffaa, 0 0 15px #ff00ffaa, 0 0 30px #00ffff55, 0 0 30px #ff00ff55;
}

/* ================= FOOTER ================= */
footer {
    margin-top: 60px;
    text-align: center;
    width: 100%;
    font-size: 0.85rem;
    color: #aaa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .main-container::before {
        display: none;
    }

    .hero, .buttons {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .buttons {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { width: 180px; padding: 10px 0; font-size: 0.95rem; gap: 8px; }
}
