html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0a0a0a, #1a1a1a);
    background-size: 400% 400%;
    font-family: 'Arial', sans-serif;
    color: white;
    text-align: center;
    animation: gradientBG 15s ease infinite;
}

.back-to-top {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: fixed;
    bottom: 65px;
    right: 30px;
    background: #eb2d2d;
    color: rgb(74, 63, 63);
    text-decoration: none;
    padding: 5px 5px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.back-to-top:hover {
    background: #ff4d4d;
    transform: scale(1.1);
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #1a1a1a, #111, #1a1a1a);
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
    z-index: 100;
    gap: 50px;
}

nav .logo-nav {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid #ff0000;
    padding: 3px;
    box-shadow: 0 0 10px #ff4d4d;
    object-fit: cover;
    margin-right: auto;
    transition: all 0.4s ease;
}

nav .logo-nav:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px #ff4d4d, 0 0 30px red;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
    align-items: center;
}

nav ul li a {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.4s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff4d4d, #ff1a1a);
    border-radius: 3px;
    transition: width 0.4s ease;
}

nav ul li a:hover::after { width: 100%; }

nav ul li a:hover {
    color: #ff0000;
    transform: scale(1.15);
    text-shadow: 0 0 8px #ff4d4d, 0 0 16px red;
    background: linear-gradient(90deg, #ff0000, #ff4d4d, #ff1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.container {
    margin-top: 160px;
    margin-bottom: 150px;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

.logo {
    width: 300px;
    border-radius: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px red);
    animation: pulseLogo 2s infinite;
}

h1 {
    font-size: 45px;
    color: #ff2e2e;
    text-shadow: 0 0 10px red, 0 0 20px darkred;
    animation: glowText 2s infinite alternate;
}

p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 18px;
    animation: fadeInText 2s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

/* CONTENEUR */
.buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* BOUTONS PRINCIPAUX */
.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, #e60000, #990000);
    text-decoration: none;
    border: none;

    padding: 12px 26px;
    font-size: 16px;
    font-weight: 500;
    color: white;

    border-radius: 10px;
    cursor: pointer;

    transition: all 0.25s ease;
}

/* ICONES */
.download-btn i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

/* HOVER PRO */
.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* PETIT EFFET SUR ICONE */
.download-btn:hover i {
    transform: translateX(3px);
}

/* CLICK EFFECT */
.download-btn:active {
    transform: scale(0.96);
}

/* BOUTON TEST (SECONDARY STYLE) */
.test-btn {
    background: transparent;
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
}

/* HOVER TEST */
.test-btn:hover {
    background: #ff4d4d;
    color: white;
}

/* OPTIONNEL : HOVER ICON TEST */
.test-btn:hover i {
    transform: translateX(3px);
}
.social-bar {
    width: 100%;
    background-color: #111;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.6);
}

.social-bar a {
    color: #ff0000;
    font-size: 28px;
    transition: all 0.4s ease;
}

.social-bar a:hover {
    color: #ff4d4d;
    transform: rotate(-15deg) scale(1.3);
    text-shadow: 0 0 15px #ff4d4d, 0 0 30px red;
}

.section-title {
    font-size: 28px;
    color: #ff2e2e;
    margin: 40px 0 20px 0;
    text-align: center;
    text-shadow: 0 0 10px red;
}

.video-section {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
}

.video-section iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px auto;
    max-width: 900px;
}

.image-gallery img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #ff4d4d, 0 0 50px red;
}


.comment-section, .user-comments {
    max-width: 700px;
    margin: 80px auto 50px auto;
    padding: 20px;
    background: rgba(17,17,17,0.85);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
    text-align: left;
}

.comment-section h2, .user-comments h2 { text-align: center; color: #ff2e2e; margin-bottom: 20px; }

.comment-section textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ff0000;
    background-color: #1a1a1a;
    color: white;
    resize: none;
    height: 100px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}


.comment-section textarea:focus {
    border-color: #ff4d4d;
    box-shadow: 0 0 15px #ff4d4d;
}

.comment-section button {
    margin-top: 15px;
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-section button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #ff4d4d, 0 0 50px red;
}


.rating { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.rating input { display: none; }
.rating label {
    font-size: 30px;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}
.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #ff0000;
    text-shadow: 0 0 10px #ff4d4d, 0 0 20px red;
}


.user-comments .comment {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(255,0,0,0.3);
}
.user-comments .comment .author { font-weight: bold; color: #ff4d4d; margin-bottom: 5px; }
.user-comments .comment .text { color: #ccc; }

.top-scores { max-width: 700px; margin: 50px auto; text-align: center; }
.top-scores h2 { color: #ff2e2e; margin-bottom: 30px; }

.score-item { background: rgba(17,17,17,0.85); padding: 15px; margin-bottom: 15px;
    border-radius: 10px; box-shadow: 0 0 15px rgba(255,0,0,0.4);
}
.player-name { font-weight: bold; color: #ff4d4d; font-size: 18px; margin-bottom: 5px; }
.stars { color: #ff0000; font-size: 20px; margin-bottom: 5px; }
.score-text { color: #ccc; font-size: 16px; }


.copyright {
    width: 100%;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
    margin-bottom: 75px;
}

.copyright span {
    display: block;
}

.copyright a {
    color: #d89797;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.copyright a:hover {
    text-shadow: 0 0 10px red;
    color: #ff1a1a;
}


@keyframes gradientBG { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
@keyframes pulseLogo { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px red);} 50% { transform: scale(1.05); filter: drop-shadow(0 0 30px #ff4d4d);} }
@keyframes glowText { 0% { text-shadow: 0 0 10px red, 0 0 20px darkred; } 50% { text-shadow: 0 0 20px #ff4d4d, 0 0 40px darkred; } 100% { text-shadow: 0 0 10px red, 0 0 20px darkred; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInText { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseBtn { 0%, 100% { transform: scale(1); box-shadow: 0 0 15px red; } 50% { transform: scale(1.05); box-shadow: 0 0 30px #ff4d4d; } }

@media (max-width: 768px) {

    nav {
        padding: 8px 20px;
        gap: 20px;
    }

    nav .logo-nav {
        height: 35px;
        width: 35px;
    }

    nav ul {
        gap: 20px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .container {
        margin-top: 120px;
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }

    .logo {
        width: 180px;
    }

    .download-btn {
        font-size: 15px;
        padding: 10px 20px;
    }

    .image-gallery img {
        width: 200px;
        height: 120px;
    }

    .video-section iframe {
        height: 220px;
    }

    .social-bar {
        gap: 20px;
        padding: 10px 0;
    }

    .social-bar a {
        font-size: 22px;
    }

}@media (max-width: 768px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

}
@media (max-width: 768px) {

    nav {
        left: 15px;
        right: 15px;
        width: auto;
        border-radius: 10px;
    }

}
