body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0a0b1e;
    color: white;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(10, 11, 30, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    font-weight: bold;
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    filter: brightness(1.15); /* 🌟 Rend la vidéo plus lumineuse */
}

/* Sur mobile, afficher la partie gauche de la vidéo */
@media (max-width: 768px) {
    .background-video {
        object-position: 15% center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Moins sombre pour laisser la vidéo visible */
    background: linear-gradient(to bottom, rgba(10, 11, 30, 0.4), rgba(10, 11, 30, 0.85));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(153, 69, 255, 0.8);
}

.hero-content h1 span {
    color: #14f195;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    margin-top: 20px;
    background: linear-gradient(90deg, #9945ff, #14f195);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #14f195, #9945ff);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}
.btn-secondary:hover {
    transform: scale(1.05);
}


/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.7);
}

.glow-card {
    box-shadow: 0 0 15px rgba(20, 241, 149, 0.3);
    transition: transform 0.3s;
}

.glow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.5);
}

/* Features */
.features {
    padding: 80px 10%;
    background: #0d0f2d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

/* About */
.about {
    padding: 60px 10%;
    background: #0a0b1e;
    text-align: center;
}

/* Join */
.join {
    padding: 60px 10%;
    background: linear-gradient(90deg, #9945ff, #14f195);
    text-align: center;
}

.join h2 {
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #0a0b1e;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(10, 11, 30, 0.95);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Curseur pointer sur les features */
.feature-card {
    cursor: pointer;
}

/* Overlay background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 0, 20, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Popup box */
.popup-content {
    position: relative;
    background: rgba(20, 0, 40, 0.95);
    border: 2px solid #00ffcc;
    border-radius: 12px;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 25px #00ffcc;
    animation: popupFade 0.3s ease-out;
}

/* Inside popup layout */
.popup-inner {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Image */
.popup-image {
    width: 250px;
    border-radius: 8px;
    box-shadow: 0 0 15px #00ffcc;
}

/* Text section */
.popup-text {
    flex: 1;
    color: #fff;
}

/* Title */
.popup-text h3 {
    font-size: 1.8em;
    color: #00ffcc;
    margin-bottom: 10px;
}

/* Button */
.popup-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: linear-gradient(90deg, #00ffcc, #7700ff);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s;
    text-align: center;
}

.popup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00ffcc;
}

/* Centrer le bouton */
.popup-text a {
    display: block;
    margin: 15px auto 0;
    max-width: 200px;
}

/* Close button */
.popup-close {
    font-size: 28px;
    color: #fff;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    text-shadow: 0 0 10px #00ffcc;
    transition: 0.2s;
}

.popup-close:hover {
    color: #ff0066;
    text-shadow: 0 0 15px #ff0066;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-inner {
        flex-direction: column;
        text-align: center;
    }

    .popup-image {
        width: 200px;
        margin: 0 auto;
    }
}

/* Animation */
@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}




.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 40px auto;
}

.btn {
    display: inline-block;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.6);
}

/* Dégradés uniques façon Solana */
.btn-join {
    background: linear-gradient(45deg, #00ffa3, #03e1ff);
    box-shadow: 0 0 20px rgba(0,255,163,0.6);
}

.btn-leaderboard {
    background: linear-gradient(45deg, #ff00f7, #7000ff);
    box-shadow: 0 0 20px rgba(255,0,247,0.6);
}

.btn-trendings {
    background: linear-gradient(45deg, #ff7e00, #ff00d0);
    box-shadow: 0 0 20px rgba(255,126,0,0.6);
}

.btn-support {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    box-shadow: 0 0 20px rgba(0,198,255,0.6);
}


