@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --black: #050609;
    --dark-blue: #080d18;
    --blue: #101a2d;
    --orange: #ff9d00;
    --yellow: #ffc400;
    --white: #ffffff;
    --text: #c9ced8;
    --muted: #7f8796;
    --border: rgba(255, 174, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

::selection {
    background: var(--orange);
    color: #000000;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    min-height: 72px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 6, 9, 0.9);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 1000;
}

.logo-text {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--white);
}

.logo-text::first-letter {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    position: relative;

    color: #b9bfca;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: color 0.25s ease;
}

nav a:hover {
    color: var(--white);
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition: width 0.25s ease;
}

nav a:hover::after {
    width: 100%;
}


/* =========================
   ACCUEIL
========================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(255, 157, 0, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--black),
            var(--dark-blue)
        );
}


/* Logo en arrière-plan */

.hero-logo {
    position: absolute;

    width: 650px;
    height: 650px;

    right: -50px;
    top: 50%;

    transform: translateY(-50%);

    background-image: url("./assets/logo.png");

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.18;

    filter: blur(0.5px);

    z-index: 0;

    pointer-events: none;
}


/* Contenu de l'accueil */

.hero-content {
    position: relative;

    max-width: 720px;

    z-index: 2;
}

.small-title {
    color: var(--orange);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(52px, 7vw, 92px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 800;

    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--orange);
}

.hero p:not(.small-title) {
    max-width: 600px;

    color: var(--text);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.button {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        var(--yellow),
        var(--orange)
    );

    color: #090909;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    box-shadow:
        0 10px 30px rgba(255, 157, 0, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(255, 157, 0, 0.30);
}


/* =========================
   SECTIONS
========================= */

.section {
    position: relative;

    padding: 110px 8%;

    background: var(--black);
}

.section:nth-of-type(even) {
    background: var(--dark-blue);
}

.section-title {
    margin-bottom: 45px;
}

.section-title p {
    color: var(--orange);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(36px, 5vw, 55px);

    letter-spacing: -2px;
}


/* =========================
   CARTES
========================= */

.empty-card,
.game-card {
    border: 1px solid var(--border);

    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(16, 26, 45, 0.85),
        rgba(7, 10, 17, 0.95)
    );

    overflow: hidden;
}

.empty-card {
    padding: 40px;
}

.empty-card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.empty-card p {
    color: var(--muted);

    line-height: 1.7;
}


/* =========================
   JEU
========================= */

.games-section {
    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 157, 0, 0.06),
            transparent 35%
        ),
        var(--dark-blue);
}

.game-card {
    min-height: 350px;

    display: flex;
    align-items: flex-end;

    position: relative;
}

.game-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(5, 6, 9, 0.98) 0%,
        rgba(5, 6, 9, 0.78) 50%,
        rgba(5, 6, 9, 0.35) 100%
    );
}

.game-card-content {
    position: relative;

    z-index: 2;

    padding: 45px;

    max-width: 700px;
}

.status {
    display: inline-block;

    padding: 7px 11px;

    border: 1px solid rgba(255, 157, 0, 0.35);

    border-radius: 50px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 18px;
}

.game-card h3 {
    font-size: clamp(28px, 4vw, 45px);

    margin-bottom: 18px;
}

.game-card p {
    color: var(--text);

    line-height: 1.8;

    font-size: 16px;

    margin-bottom: 25px;
}

.coming-soon {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 120px 8%;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 157, 0, 0.08),
            transparent 45%
        ),
        var(--black);
}

.contact-section .section-title {
    margin-bottom: 20px;
}

.contact-section > p {
    max-width: 550px;

    margin: 0 auto 25px;

    color: var(--text);

    line-height: 1.7;
}

.email {
    color: var(--orange);

    text-decoration: none;

    font-weight: 600;

    transition: color 0.25s ease;
}

.email:hover {
    color: var(--yellow);
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 35px 8% 25px;

    text-align: center;

    background: #030407;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
    font-size: 16px;

    margin-bottom: 18px;
}

.footer-powered {
    color: #626977;

    font-size: 11px;

    letter-spacing: 1px;
}

.footer-powered span {
    color: #8f96a3;

    font-weight: 700;
}

.footer-year {
    margin-top: 10px;

    color: #3f444d;

    font-size: 10px;
}


/* =========================
   ANIMATIONS
========================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   TABLETTES
========================= */

@media (max-width: 800px) {

    .navbar {
        min-height: 68px;

        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }

    nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 20px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        padding: 150px 7% 80px;
    }

    .hero-logo {
        width: 500px;
        height: 500px;

        right: -160px;

        opacity: 0.13;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero p:not(.small-title) {
        font-size: 15px;
    }

    .section,
    .contact-section {
        padding: 80px 7%;
    }

    .game-card-content {
        padding: 30px;
    }
}


/* =========================
   TELEPHONE
========================= */

@media (max-width: 480px) {

    .logo-text {
        font-size: 22px;
    }

    nav {
        gap: 10px 14px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-logo {
        width: 380px;
        height: 380px;

        right: -130px;

        opacity: 0.10;
    }

    .empty-card {
        padding: 28px;
    }

    .game-card {
        min-height: 400px;
    }

    .game-card-content {
        padding: 25px;
    }
}
/* =========================
   LOGO DE FOND GLOBAL
========================= */

.background-logo {
    position: fixed;

    top: 50%;
    left: 50%;

    width: 850px;
    height: 850px;

    transform: translate(-50%, -50%);

    background-image: url("./assets/logo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.055;

    filter: blur(1px);

    pointer-events: none;

    z-index: 0;
}

/* Le contenu reste au-dessus du logo */

.navbar,
main,
footer {
    position: relative;
    z-index: 1;
}

/* On garde le logo d'accueil actuel moins visible
   pour éviter d'avoir deux logos trop forts */

.hero-logo {
    opacity: 0.08;
}

@media (max-width: 800px) {
    .background-logo {
        width: 600px;
        height: 600px;

        opacity: 0.045;
    }
}

@media (max-width: 480px) {
    .background-logo {
        width: 450px;
        height: 450px;

        opacity: 0.035;
    }
}
.description {
    font-weight: 700;
    margin-bottom: 30px;
}
.bold-text {
    font-weight: 700 !important;
    margin-bottom: 35px !important;
}
/* =========================
   LIENS
========================= */

.link-description {
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    color: var(--white) !important;
}

.link-description + .button {
    margin-bottom: 35px;
}

.link-category {
    margin-top: 15px;
    margin-bottom: 20px;
}
