body {
    margin: 0;
    padding: 0;
    background: #1e1e1e;
    color: white;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    overflow-x: hidden;
}

.container {
    padding: 20px;
}

/* === TITRE ANIMÉ === */
header h1 {
    font-size: 22px;
    animation: neon-glow 0.8s infinite alternate, shake 1s infinite;
}

@keyframes neon-glow {
    from { text-shadow: 0 0 10px #00f, 0 0 20px #0ff, 0 0 30px #00f; }
    to { text-shadow: 0 0 20px #ff0, 0 0 30px #ff0, 0 0 40px #f00; }
}

@keyframes shake {
    0% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}

/* === AVATAR GLITCH ANIMÉ === */
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #00ffcc;
    margin: 20px auto;
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    100% { transform: translateX(-2px); }
}

/* === BOUTONS FLUO DÉCHAINÉS === */
.links {
    margin: 20px;
}

.btn {
    display: inline-block;
    padding: 15px;
    margin: 10px;
    text-decoration: none;
    background: #ff0055;
    color: white;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

/* Animation crazy sur hover */
.btn:hover {
    transform: scale(1.3) rotate(5deg);
    box-shadow: 0px 0px 20px rgba(255, 0, 85, 0.8);
    animation: rgb-glow 0.3s infinite alternate;
}

/* Effet RGB */
@keyframes rgb-glow {
    0% { background: #ff0055; }
    50% { background: #00ff00; }
    100% { background: #0000ff; }
}

/* === ANIMATION DU NOM QUI CHANGE + ONDULE === */
.name {
    display: inline-block;
    animation: wave 0.8s infinite, shake 0.5s infinite;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

/* === PASSIONS : ANIMATIONS COMPLETEMENT CRAZY === */
.fun {
    margin-top: 40px;
}

.passions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.box {
    background: #ffcc00;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    animation: floaty 1.5s infinite alternate ease-in-out;
}

/* Hover TRÈS abusé */
.box:hover {
    transform: rotate(-10deg) scale(1.4) skewX(-10deg);
    background: linear-gradient(45deg, #ff0000, #ffcc00, #00ff00, #00ffff, #0000ff, #ff00ff);
    animation: glitch2 0.15s infinite;
}

@keyframes glitch2 {
    0% { transform: rotate(-10deg) scale(1.2) skewX(-10deg) translateX(-3px); }
    50% { transform: rotate(10deg) scale(1.2) skewX(10deg) translateX(3px); }
    100% { transform: rotate(-10deg) scale(1.2) skewX(-10deg) translateX(-3px); }
}

/* Flottement pour un effet plus vivant */
@keyframes floaty {
    from { transform: translateY(-5px); }
    to { transform: translateY(5px); }
}

/* === FOOTER RAINBOW === */
footer {
    margin-top: 50px;
    font-size: 12px;
    color: white;
    animation: rainbow 1s infinite linear;
}

@keyframes rainbow {
    0% { color: red; }
    20% { color: orange; }
    40% { color: yellow; }
    60% { color: green; }
    80% { color: blue; }
    100% { color: purple; }
}


/* RESPONSIVE PASSIONS - Version mobile */
@media screen and (max-width: 480px) {
    .passions {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%; /* Évite tout dépassement */
        font-size: 12px;
        padding: 10px; /* Ajustement pour éviter que ça paraisse trop gros */
    }
}

/* RESPONSIVE FOOTER */
@media screen and (max-width: 768px) {
    footer {
        font-size: 10px;
    }
}