:root {
    --primary-color: #000000;
    --secondary-color: #ffcc00;
    --accent-color: #cc9900;
    --text-color: #ffffff;
    --gradient: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 204, 0, 0.1);
    --card-hover: rgba(255, 204, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 1.2rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.15);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    background: rgba(255, 204, 0, 0.1);
    transform: translateY(-2px);
}

.nav-brand i {
    color: #ffcc00;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-brand:hover i {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    background: rgba(255, 204, 0, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffcc00, #cc9900);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 0.2;
}

.nav-links a.active {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        height: calc(100vh - 70px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 2rem 0;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    width: 180px; /* taille du logo */
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #888;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--gradient);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.features {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--primary-color), #000);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--card-hover);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--text-color);
}

.feature-content {
    text-align: center;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-content p {
    color: #888;
    line-height: 1.6;
}

.server-stats {
    background: linear-gradient(to bottom, #000, var(--primary-color));
    padding: 100px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats-container h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--card-hover);
    border-color: var(--secondary-color);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--text-color);
}

.stat-content {
    text-align: center;
}

.stat-content h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-content p {
    color: #888;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(255, 204, 0, 0.3);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 204, 0, 0.3),
        transparent
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.footer-content::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 204, 0, 0.3),
        transparent
    );
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 204, 0, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    border-radius: 20px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffcc00, #cc9900);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    transform: translateY(-2px);
}

.footer-links a:hover::before {
    opacity: 0.2;
}

.footer-copyright {
    color: #888;
    font-size: 1rem;
    text-align: right;
    padding: 1rem 2rem;
    background: rgba(255, 204, 0, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-brand {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-copyright {
        width: 100%;
        text-align: center;
    }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--card-hover);
}

.nav-logo {
    width: 40px; /* ajuste la taille selon ton logo */
    height: auto;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.5));
    border-radius: 8px; /* si tu veux des coins arrondis */
}

.tiktok-profile {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}

.tiktok-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.tiktok-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #ff0050; /* Couleur TikTok */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}

.tiktok-btn:hover {
    background: #e60045;
}

.instagram-btn {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}
.instagram-btn:hover {
    opacity: 0.85;
}

.instagram-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.instagram-profile {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}


.youtube-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #ff0050;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}
.youtube-btn:hover {
    opacity: 0.85;
}

.youtube-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.youtube-profile {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}


.twitch-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #c54ff3;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}
.twitch-btn:hover {
    opacity: 0.85;
}

.twitch-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.twitch-profile {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}


.linktree-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #39e09b; /* Vert Linktree */
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}
.linktree-btn:hover {
    background: #2ecc71;
    color: white;
}

.linktree-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.linktree-profile {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
}

.trailer {
    text-align: center;
    margin: 50px 0;
}

.trailer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff8314; /* couleur style RP futuriste */
}

.trailer-video video {
    width: 80%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery {
    text-align: center;
    margin: 50px 0;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff8314;
}

.carousel-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Lightbox (zoom image) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.video-carousel {
    text-align: center;
    margin: 50px 0;
}

.video-carousel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff8314;
}

.vc-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.vc-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.vc-track video {
    width: 100%;
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
    object-fit: cover;
}

.vc-prev, .vc-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.vc-prev { left: 10px; }
.vc-next { right: 10px; }

.vc-lightbox {
    display: none;                  /* caché par défaut */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);  /* arrière-plan noir presque opaque */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.vc-lightbox video {
    width: 90%;                    /* prend 90% de la largeur de l’écran */
    height: auto;
    max-height: 90%;               /* ne dépasse pas 90% de la hauteur */
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.7);
}

.vc-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}
