/* =========================================================
   COURSE AUX LP
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(
            circle at 50% 0%,
            #24164d 0%,
            #0b0918 40%,
            #060610 100%
        );

    color: white;

    font-family: Arial, sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(7, 6, 17, 0.75);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 1000;
}

.logo {
    color: white;

    text-decoration: none;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 1px;
}

.navbar nav {
    display: flex;

    gap: 30px;
}

.navbar nav a {
    color: #bdb8d0;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #c8a2ff;
}

.nav-button {
    text-decoration: none;

    color: white;

    padding: 11px 22px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6d28d9
        );

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 0 25px rgba(139, 92, 246, 0.25);

    transition: 0.3s;
}

.nav-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 35px rgba(139, 92, 246, 0.45);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 140px 20px 80px;

    position: relative;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    background: #7c3aed;

    filter: blur(180px);

    opacity: 0.12;

    top: 10%;
    left: 50%;

    transform: translateX(-50%);

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;
}

.event-badge {
    display: inline-block;

    padding: 8px 16px;

    border: 1px solid rgba(167, 139, 250, 0.35);

    border-radius: 50px;

    background: rgba(139, 92, 246, 0.08);

    color: #c4b5fd;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 25px;
}

.game-name {
    color: #aaa4bd;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(65px, 10vw, 130px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #c4b5fd,
            #8b5cf6
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-description {
    width: 100%;

    max-width: 650px;

    margin: auto;

    color: #aaa5bb;

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.button {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    transition: 0.3s;
}

.button.primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6d28d9
        );

    box-shadow:
        0 10px 30px rgba(109, 40, 217, 0.25);
}

.button.primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(139, 92, 246, 0.4);
}

.button.secondary {
    color: #ddd6fe;

    border: 1px solid rgba(196, 181, 253, 0.25);

    background: rgba(255, 255, 255, 0.03);
}

.button.secondary:hover {
    background: rgba(139, 92, 246, 0.1);

    border-color: rgba(196, 181, 253, 0.5);
}


/* =========================================================
   INFORMATIONS RAPIDES
   ========================================================= */

.event-info {
    width: 100%;

    max-width: 850px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin-top: 80px;

    position: relative;

    z-index: 2;
}

.info-box {
    min-width: 0;

    padding: 25px 20px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    backdrop-filter: blur(10px);

    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);

    border-color:
        rgba(139, 92, 246, 0.35);

    background:
        rgba(139, 92, 246, 0.06);
}

.info-box strong {
    display: block;

    font-size: 28px;

    margin-bottom: 8px;
}

.info-box span {
    display: block;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #c4b5fd;
}

.info-box small {
    display: block;

    color: #858096;

    margin-top: 5px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 120px 20px;
}


/* =========================================================
   TITRES DES SECTIONS
   ========================================================= */

.section-header {
    width: 100%;

    max-width: 850px;

    margin: 0 0 50px 0;

    text-align: left;
}


/* Nom de la section */

.section-label {
    color: #a78bfa;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 12px;

    text-align: left;
}


/* Gros titre */

.section-header h2 {
    width: 100%;

    font-size: 42px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 20px;

    text-align: left;
}


/* Texte violet du titre */

.section-header h2 span {
    display: inline;

    color: #a78bfa;
}


/* Description */

.section-header > p:last-child {
    width: 100%;

    max-width: 850px;

    color: #918ca0;

    font-size: 17px;

    line-height: 1.7;

    text-align: left;
}


/* =========================================================
   CARTES CONCEPT
   ========================================================= */

.cards {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.card {
    min-width: 0;

    min-height: 280px;

    padding: 35px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.35s;
}

.card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(139, 92, 246, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.08);
}

.card-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(139, 92, 246, 0.12);

    font-size: 25px;

    margin-bottom: 25px;
}

.card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.card p {
    color: #8e899b;

    font-size: 15px;
}


/* =========================================================
   COMMENT ÇA MARCHE
   ========================================================= */

.how-section {
    width: 100%;

    padding: 120px 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(139, 92, 246, 0.06),
            transparent 50%
        );
}


/* Titre Comment ça marche */

.how-section .section-header {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto 60px;

    padding: 0 20px;

    text-align: left;
}


/* Étapes */

.steps {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.step {
    position: relative;

    min-width: 0;

    min-height: 300px;

    padding: 35px 25px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        );

    border:
        1px solid rgba(255, 255, 255, 0.08);

    transition: 0.35s;
}

.step:hover {
    transform: translateY(-8px);

    border-color:
        rgba(139, 92, 246, 0.4);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;

    top: 18px;

    right: 20px;

    font-size: 12px;

    font-weight: 800;

    color:
        rgba(167, 139, 250, 0.45);

    letter-spacing: 1px;
}

.step-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        rgba(139, 92, 246, 0.12);

    font-size: 27px;

    margin-bottom: 25px;
}

.step h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.step p {
    color: #8e899b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CLASSEMENT / STREAMERS
   ========================================================= */

.placeholder-section {
    width: 100%;

    min-height: 500px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 100px 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);
}

.placeholder-section > p:not(.section-label) {
    width: 100%;

    max-width: 600px;

    color: #858091;
}


/* =========================================================
   PARTICIPATION
   ========================================================= */

.participation {
    width: calc(100% - 40px);

    max-width: 1100px;

    margin: 80px auto;

    padding: 60px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.15),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(139, 92, 246, 0.2);
}

.participation p:not(.section-label) {
    color: #928d9f;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 50px 20px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    color: #777283;
}

.footer-logo {
    color: white;

    font-size: 18px;

    font-weight: 800;

    margin-bottom: 8px;
}

footer p {
    font-size: 13px;
}

footer .copyright {
    margin-top: 20px;

    color: #4f4a58;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .navbar nav {
        gap: 15px;
    }

    .cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .navbar .nav-button {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size:
            clamp(55px, 17vw, 90px);

        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: center;
    }

    .button {
        width: 250px;

        text-align: center;
    }

    .event-info {
        grid-template-columns: 1fr;

        max-width: 400px;

        margin-top: 50px;
    }

    .section {
        padding: 90px 20px;
    }

    .section-label {
        font-size: 15px;

        letter-spacing: 2px;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .how-section {
        padding: 90px 20px;
    }

    .how-section .section-header {
        margin-bottom: 50px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .placeholder-section {
        padding: 90px 20px;
    }

    .participation {
        width: calc(100% - 40px);

        margin: 50px 20px;

        padding: 40px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .participation .button {
        width: 100%;

        text-align: center;
    }
}
/* =========================================================
   ÉQUIPE DU PROJET
   ========================================================= */

.footer-team {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
}

.team-title {
    color: #a78bfa;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.team-member {
    padding: 25px 20px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);

    border-color: rgba(139, 92, 246, 0.4);

    background: rgba(139, 92, 246, 0.06);
}

.team-role {
    display: block;

    color: #8b5cf6;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.team-member strong {
    display: block;

    color: white;

    font-size: 17px;
}


/* Téléphone */

@media (max-width: 700px) {

    .team-members {
        grid-template-columns: 1fr;
    }

    .footer-team {
        margin-bottom: 40px;
    }

}
/* =========================================================
   STREAMERS
   ========================================================= */

.streamers-section {
    width: 100%;
    padding: 120px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.streamers-section .section-header {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto 50px;

    padding: 0 20px;

    text-align: left;
}

.streamers-grid {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.streamer-card {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 25px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.35s;
}

.streamer-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(139, 92, 246, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}

.streamer-avatar {
    width: 70px;
    height: 70px;
}

.streamer-avatar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.streamer-info {
    min-width: 0;
}

.streamer-status {
    display: block;

    color: #a78bfa;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.streamer-info h3 {
    font-size: 22px;

    margin-bottom: 5px;
}

.streamer-info p {
    color: #8e899b;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 15px;
}

.streamer-button {
    display: inline-block;

    padding: 9px 15px;

    border-radius: 8px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6d28d9
        );

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s;
}

.streamer-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(139, 92, 246, 0.3);
}


/* Téléphone */

@media (max-width: 700px) {

    .streamers-section {
        padding: 90px 20px;
    }

    .streamers-grid {
        grid-template-columns: 1fr;
    }

    .streamer-card {
        align-items: flex-start;
    }

}
/* =========================================================
   ANIMATION AU SCROLL
   ========================================================= */

.card,
.step,
.streamer-card,
.info-box {

    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.card.show,
.step.show,
.streamer-card.show,
.info-box.show {

    opacity: 1;

    transform: translateY(0);
}
/* =========================================================
   ANIMATIONS PREMIUM
   ========================================================= */


/* =========================================================
   1. TITRE PRINCIPAL
   ========================================================= */

.hero-content {
    opacity: 0;
    transform: translateY(35px);
}

.hero-content.hero-animate {
    animation: heroAppear 1s ease forwards;
}


@keyframes heroAppear {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   2. LOGO
   ========================================================= */

.logo {
    transition:
        transform 0.3s ease,
        text-shadow 0.3s ease;
}

.logo.logo-hover {

    transform: scale(1.04);

    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.5),
        0 0 25px rgba(139, 92, 246, 0.25);
}


/* =========================================================
   3. PARTICULES
   ========================================================= */

.particles {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    overflow: hidden;

    z-index: 0;
}


.particle {

    position: absolute;

    bottom: -10px;

    width: var(--particle-size);
    height: var(--particle-size);

    border-radius: 50%;

    background: rgba(167, 139, 250, 0.6);

    box-shadow:
        0 0 8px rgba(139, 92, 246, 0.4);

    animation:
        particleFloat linear infinite;
}


@keyframes particleFloat {

    0% {

        transform:
            translateY(0)
            translateX(0);

        opacity: 0;

    }

    10% {
        opacity: 0.7;
    }

    50% {

        transform:
            translateY(-50vh)
            translateX(30px);

        opacity: 0.5;

    }

    100% {

        transform:
            translateY(-110vh)
            translateX(-30px);

        opacity: 0;

    }

}


/* =========================================================
   4. PETITE LUEUR SUPPLÉMENTAIRE DU HERO
   ========================================================= */

.hero::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.06),
            transparent 70%
        );

    top: 20%;
    left: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    animation:
        heroGlow 8s ease-in-out infinite alternate;

}


@keyframes heroGlow {

    from {
        opacity: 0.4;
        transform:
            translate(-50%, -50%)
            scale(0.9);
    }

    to {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.1);
    }

}


/* =========================================================
   5. ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation: none !important;

        transition: none !important;

    }

    .hero-content {

        opacity: 1;

        transform: none;

    }

}
/* ==================== PAGE PARTICIPANTS ==================== */

.participants-section {
    min-height: 100vh;
    padding: 180px 20px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITRE */

.participants-section .section-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 55px;
    text-align: center;
}

.participants-section h1 {
    margin: 20px 0;
    color: white;
    font-size: clamp(40px, 6vw, 75px);
    font-weight: 900;
}

.participants-section .section-header p:last-child {
    color: #c4b5fd;
    line-height: 1.8;
}


/* MESSAGE EN COURS */

.participants-coming-soon {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 65px 35px;
    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(139, 92, 246, 0.16),
            rgba(20, 10, 40, 0.95)
        );

    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 24px;

    box-shadow:
        0 0 35px rgba(109, 40, 217, 0.15),
        inset 0 0 30px rgba(139, 92, 246, 0.03);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* EFFET AU SURVOL */

.participants-coming-soon:hover {
    transform: translateY(-6px);

    border-color: rgba(167, 139, 250, 0.7);

    box-shadow:
        0 0 50px rgba(139, 92, 246, 0.25),
        inset 0 0 35px rgba(139, 92, 246, 0.05);
}


/* ICÔNE */

.coming-soon-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    margin: 0 auto 30px;

    border-radius: 50%;

    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.4);

    font-size: 48px;

    animation: floatingIcon 3s ease-in-out infinite;
}


/* TITRE DU MESSAGE */

.participants-coming-soon h2 {
    margin-bottom: 20px;

    color: white;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
}


/* DESCRIPTION */

.participants-coming-soon p {
    max-width: 500px;
    margin: 0 auto 35px;

    color: #c4b5fd;
    font-size: 15px;
    line-height: 1.8;
}


/* ANIMATION DE L'ICÔNE */

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* RESPONSIVE MOBILE */

@media (max-width: 600px) {

    .participants-section {
        padding: 140px 18px 70px;
    }

    .participants-coming-soon {
        padding: 45px 22px;
    }

    .coming-soon-icon {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }

    .participants-coming-soon h2 {
        font-size: 25px;
    }

    .participants-coming-soon p {
        font-size: 14px;
    }

}