body {
    margin: 0;
    padding: 20px 20px 60px;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ffa500, #ffcc80);
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

body > *:not(footer) {
    flex: 1 0 auto;
}

.profil {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icone {
    width: 100px;
    height: auto;
}

.texte {
    color: rgb(218, 0, 0);
    font-size: 1rem;
}

ul {
    color: rgb(218, 0, 0);
    padding-left: 20px;
}

.liens,
.liens-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #5eaaff, #357edd);
    background-size: 400% 400%;
    animation: gradientMove 2s linear infinite;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 16px;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    width: 80%;
    max-width: 600px;
    transition: transform 0.2s, padding 0.3s, font-size 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn img {
    width: 24px;
    height: 24px;
}

hr.separator {
    border: none;
    border-top: 3px dashed #ffffff;
    margin: 40px auto;
    width: 80%;
    opacity: 0.6;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@media (max-width: 768px) {
    .liens.naruto {
        display: block;
        width: 100%;
        padding: 0;
    }

    #btn1, #btn3 {
        float: left;
        width: 48%;
        margin: 1% 1% 10px 0;
        box-sizing: border-box;
    }

    #btn2, #btn4 {
        float: right;
        width: 48%;
        margin: 1% 0 10px 1%;
        box-sizing: border-box;
    }

    .btn {
        font-size: 1rem;
        padding: 12px;
    }

    .btn img {
        width: 20px;
        height: 20px;
    }
}

.separator-arrow {
    text-align: center;
    margin: 40px auto;
    font-size: 2rem;
    color: white;
    opacity: 0.8;
    letter-spacing: 10px;
    user-select: none;
}

.separator-arrow span {
    display: inline-block;
    animation: waveArrow 1s infinite ease-in-out;
}

.separator-arrow span:nth-child(1) { animation-delay: 0s; }
.separator-arrow span:nth-child(2) { animation-delay: 0.1s; }
.separator-arrow span:nth-child(3) { animation-delay: 0.2s; }
.separator-arrow span:nth-child(4) { animation-delay: 0.3s; }
.separator-arrow span:nth-child(5) { animation-delay: 0.4s; }
.separator-arrow span:nth-child(6) { animation-delay: 0.5s; }

@keyframes waveArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

footer {
    width: 100%;
    background-color: rgba(31, 31, 31, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 15px 0;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #eee;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 0.9rem;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 0;
}

footer a {
    color: #80c0ff;
    text-decoration: underline;
}
