/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: white;
}

/* HEADER */
.header {
    background: #020617;
    padding: 15px;
    border-bottom: 1px solid #1e293b;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav h1 {
    color: #facc15;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav a:hover {
    color: #22c55e;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 25px;
    cursor: pointer;
}

/* PROMO */
.promo {
    text-align: center;
    padding: 30px;
    margin: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #1e293b, #020617);
}

.code {
    font-size: 40px;
    color: #22c55e;
    font-weight: bold;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: #22c55e;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
}

/* SECTION */
.section {
    padding: 20px;
    text-align: center;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.card {
    background: linear-gradient(145deg, #1e293b, #020617);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);

    /* pour l'animation fade-in */
    opacity: 0;
    transform: translateY(30px);
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

/* TEAMS */
.teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team {
    text-align: center;
}

.team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.team span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

/* VS */
.vs {
    font-weight: bold;
    color: #facc15;
}

/* DETAILS */
.details {
    margin-top: 15px;
}

.prono {
    color: #22c55e;
    font-weight: bold;
}

.cote {
    color: #facc15;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    background: #020617;
}

/* TABLET */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 700px) {

    .menu-toggle {
        display: block;
    }

    .nav ul {
        position: absolute;
        top: 60px;
        right: 0;
        background: #020617;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
    }

    .nav ul.show {
        display: flex;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .team img {
        width: 40px;
        height: 40px;
    }

    .code {
        font-size: 30px;
    }
}