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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17233d;
    background-color: #ffffff;
}


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

header {
    height: 80px;
    padding: 0 8%;

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

    background-color: rgba(255, 255, 255, 0.9);

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo {
    font-size: 25px;
    font-weight: 700;
    color: #5a7bff;
    text-decoration: none;

    flex-shrink: 0;
}

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

nav a {
    color: #65738b;
    text-decoration: none;
    font-size: 15px;

    transition: color 0.2s;
}

nav a:hover {
    color: #5a7bff;
}

nav a.active {
    color: #5a7bff;
    font-weight: 600;
}


/* ============================= */
/* PAGE D'ACCUEIL                */
/* ============================= */

/* HERO */

.hero {
    min-height: calc(100vh - 80px);
    padding: 80px 10%;

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

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #eef8ff 55%,
        #d9f0ff 100%
    );
}

.hero-content {
    max-width: 620px;
}

.tag {
    display: inline-block;

    margin-bottom: 22px;
    padding: 9px 16px;

    color: #5a7bff;
    background-color: #dff3ff;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;
}

h1 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.05;
    letter-spacing: -3px;

    margin-bottom: 25px;
}

h1 span {
    color: #5a7bff;
}

.description {
    max-width: 530px;

    color: #65738b;
    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 35px;
}

.button {
    display: inline-block;

    padding: 15px 26px;

    background-color: #5a7bff;
    color: white;

    border-radius: 10px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.2s;
}

.button:hover {
    background-color: #4969ee;
    transform: translateY(-2px);
}


/* DÉCORATION */

.decoration {
    flex-shrink: 0;
}


/* LOGO HANTA */

.hanta-logo {
    width: 350px;
    height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hanta-logo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: contain;
}


/* ============================= */
/* PREMIÈRE VIDÉO                */
/* ============================= */

.discover {
    padding: 100px 10%;
    text-align: center;
}

.section-label {
    color: #5a7bff;
    font-weight: 600;

    margin-bottom: 12px;
}

.discover h2 {
    font-size: 38px;

    margin-bottom: 15px;
}

.discover > p:not(.section-label) {
    color: #738096;

    margin-bottom: 40px;
}

.video-container {
    width: min(850px, 100%);
    aspect-ratio: 16 / 9;

    margin: auto;

    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 20px 50px rgba(43, 104, 145, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 100%;

    border: none;
}


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

footer {
    padding: 30px;

    text-align: center;

    color: #94a0b1;
    background-color: #f4faff;

    font-size: 14px;
}


/* ============================= */
/* PAGE DISCORD                  */
/* ============================= */

/* HERO DISCORD */

.discord-hero {
    min-height: calc(100vh - 80px);
    padding: 80px 10%;

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

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #eef8ff 55%,
        #d9f0ff 100%
    );
}

.discord-content {
    max-width: 620px;
}


/* CARTE DISCORD */

.discord-decoration {
    width: 360px;

    flex-shrink: 0;
}

.discord-card {
    padding: 45px 35px;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.85);

    border: 1px solid rgba(90, 123, 255, 0.2);
    border-radius: 24px;

    box-shadow: 0 25px 60px rgba(73, 158, 216, 0.15);
}

.discord-icon {
    width: 100px;
    height: 100px;

    margin: 0 auto 22px;

    border-radius: 30px;

    overflow: hidden;

    box-shadow: 0 8px 20px rgba(73, 158, 216, 0.15);
}

.discord-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.discord-card h2 {
    font-size: 28px;

    margin-bottom: 8px;
}

.discord-card > p {
    color: #7a879b;

    margin-bottom: 25px;
}

.online {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 14px;

    background-color: #f1f9ff;

    border-radius: 20px;

    color: #65738b;

    font-size: 13px;
}

.online span {
    width: 8px;
    height: 8px;

    background-color: #5a7bff;

    border-radius: 50%;
}


/* ============================= */
/* COMMUNAUTÉ                    */
/* ============================= */

.community {
    padding: 110px 10%;

    text-align: center;
}

.community h2 {
    font-size: 38px;

    margin-bottom: 15px;
}

.community-description {
    max-width: 650px;

    margin: 0 auto 55px;

    color: #738096;

    line-height: 1.7;
}

.community-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.community-card {
    padding: 35px;

    text-align: left;

    background-color: #f7fbfe;

    border: 1px solid #e5f3fc;
    border-radius: 18px;

    transition: 0.25s;
}

.community-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(73, 158, 216, 0.1);
}

.community-number {
    margin-bottom: 25px;

    color: #5a7bff;

    font-size: 14px;
    font-weight: bold;
}

.community-card h3 {
    margin-bottom: 12px;

    font-size: 20px;
}

.community-card p {
    color: #738096;

    line-height: 1.6;

    font-size: 15px;
}


/* ============================= */
/* MINECRAFT                     */
/* ============================= */

.minecraft-section {
    padding: 20px 10% 110px;
}

.minecraft-box {
    max-width: 1100px;

    margin: auto;
    padding: 65px;

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

    background: linear-gradient(
        135deg,
        #eef9ff,
        #dcefff
    );

    border-radius: 25px;
}

.minecraft-text {
    max-width: 620px;
}

.minecraft-text h2 {
    margin-bottom: 18px;

    font-size: 34px;
}

.minecraft-text > p:not(.section-label) {
    color: #65738b;

    line-height: 1.7;
}

.minecraft-info {
    margin-top: 15px;
}


/* LOGO MINECRAFT */

.minecraft-visual {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.minecraft-icon {
    width: 200px;
    height: 200px;
}

.minecraft-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* EMOJIS */

.emoji {
    width: 1.4em;
    height: 1.4em;

    object-fit: contain;
    vertical-align: -0.3em;

    margin: 0 2px;
}


/* ============================= */
/* TABLETTE                      */
/* ============================= */

@media (max-width: 850px) {

    .discord-hero {
        flex-direction: column;

        padding: 70px 7%;

        text-align: center;
    }

    .discord-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .discord-decoration {
        width: min(360px, 100%);
    }

    .community {
        padding: 80px 7%;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-card {
        text-align: center;
    }

    .minecraft-section {
        padding: 10px 7% 80px;
    }

    .minecraft-box {
        padding: 45px 30px;

        flex-direction: column;

        text-align: center;
    }
}


/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 800px) {

    header {
        height: auto;
        min-height: 70px;
        padding: 14px 5% 12px;

        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .logo {
        font-size: 22px;
    }

    nav {
        gap: 6px;
    }

    nav a {
        padding: 7px 11px;

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

        border-radius: 8px;

        transition: 0.2s;
    }

    nav a:hover {
        color: #5a7bff;
        background-color: #f3f6ff;
    }

    nav a.active {
        color: #5a7bff;
        background-color: #eef2ff;

        font-weight: 600;
    }

    .hero {
        min-height: calc(100vh - 100px);

        padding: 60px 7%;

        flex-direction: column;

        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .hanta-logo {
        width: 250px;
        height: 250px;
    }

    .discover {
        padding: 80px 7%;
    }

    .discord-hero {
        min-height: calc(100vh - 100px);
    }
}


/* ============================= */
/* PETITS ÉCRANS                 */
/* ============================= */

@media (max-width: 500px) {

    header {
        padding: 12px 4% 10px;
        gap: 8px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        width: 100%;

        justify-content: center;

        gap: 4px;
    }

    nav a {
        padding: 7px 9px;

        font-size: 12px;
    }

    h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .description {
        font-size: 16px;
    }

    .hanta-logo {
        width: 220px;
        height: 220px;
    }

    .minecraft-icon {
        width: 160px;
        height: 160px;
    }

    .minecraft-box {
        padding: 40px 25px;
    }
}