/* ========================================= */
/* ================= Home ================== */
/* ========================================= */
.home-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree', sans-serif;
}

    .home-page .home-sub-title,
    .home-page .home-countdown-title,
    .home-page .home-countdown-item-value,
    .home-page .home-countdown-item-text,
    .home-page .home-text-end {
        font-family: 'Roboto', sans-serif;
    }

/* ========================================= */
/* ================= Hero ================== */
/* ========================================= */
.home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    box-sizing: border-box;
    text-align: center;
}

.home-logo {
    display: block;
    width: min(750px, 90%);
    height: auto;
    margin: 0 auto 55px;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.5));
}

/* ========================================= */
/* ================ Countdown ============== */
/* ========================================= */
.home-countdown {
    width: 100%;
}

.home-countdown-title {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #c99d53;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-countdown-value {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

.home-countdown-item {
    min-width: 130px;
    padding: 20px 25px;
    background: var(--oc-surface-soft);
    border: 1px solid var(--oc-border);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.home-countdown-item-value {
    font-size: 48px;
    font-weight: 800;
    color: #c99d53;
    line-height: 1;
}

.home-countdown-item-text {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
}

/* ========================================= */
/* ============== Presentation ============= */
/* ========================================= */
.home-presentation {
    max-width: 950px;
    margin: 0 auto 70px;
    padding: 30px 40px;
    background: var(--oc-surface-soft);
    border: 1px solid var(--oc-border);
    border-left: 3px solid #c99d53;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35), inset 0 0 25px rgba(255, 255, 255, 0.015);
    box-sizing: border-box;
}

    .home-presentation p {
        margin: 0;
        font-size: 17px;
        line-height: 1.8;
        text-align: justify;
    }

/* ========================================= */
/* ================= Cartes ================= */
/* ========================================= */
.home-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 70px;
}

.home-card {
    padding: 32px;
    background: var(--oc-surface-soft);
    border: 1px solid var(--oc-border);
    border-radius: 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35), inset 0 0 25px rgba(255, 255, 255, 0.015);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

    .home-card:hover {
    border-color: #c99d53;
}

.home-card-main {
    min-height: 250px;
}

.home-card-wide {
    grid-column: 1 / -1;
}

.home-card-warning {
    border-color: rgba(201, 157, 83, 0.7);
}

.home-sub-title {
    margin-bottom: 18px;
    font-size: 23px;
    font-weight: 800;
    color: #c99d53;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-card-content {
    font-size: 16px;
    line-height: 1.7;
}

.home-color-link {
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

    .home-color-link:hover {
        color: #c99d53;
        opacity: 1;
    }

.home-logo-lol {
    width: 105px;
    height: auto;
    margin: 0 5px;
    vertical-align: middle;
}

.home-logo-arena {
    width: 85px;
    height: auto;
    margin: 0 5px;
    vertical-align: middle;
}

/* ========================================= */
/* ============== Message final ============ */
/* ========================================= */
.home-text-end {
    margin: 90px 0;
    text-align: center;
    font-size: clamp(28px, 5vw, 55px);
    font-weight: 900;
    color: #c99d53;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* ========================================= */
/* ================ Sections =============== */
/* ========================================= */
.home-section {
    margin-bottom: 80px;
    text-align: center;
}

    .home-section > .home-sub-title,
    .home-partners > .home-sub-title {
        margin-bottom: 30px;
        text-align: center;
    }

/* Les icônes de réseaux sociaux et le widget Discord de cette page sont
   désormais gérés par les composants partagés <SocialLinks /> et
   <DiscordWidget /> (voir Components/Shared), avec les classes CSS
   mutualisées .social-links / .discord-widget dans site.css. */

/* ========================================= */
/* ================ Partenaires ============ */
/* ========================================= */
.home-partners {
    margin-top: 80px;
    text-align: center;
}

.home-partners-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

    .home-partners-content a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80px;
    }

.home-logo-partner {
    display: block;
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

    .home-logo-partner:hover {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(201, 157, 83, 0.45));
    }

/* ========================================= */
/* ================= Tablette ============== */
/* ========================================= */
@media (max-width: 900px) {

    .home-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .home-logo {
        width: min(650px, 95%);
        margin-bottom: 45px;
    }

    .home-cards {
        grid-template-columns: 1fr;
    }

    .home-card-wide {
        grid-column: auto;
    }
}

/* ========================================= */
/* ================== Mobile =============== */
/* ========================================= */
@media (max-width: 600px) {

    .home-page {
        padding: 0 12px 50px;
    }

    /* ========================================= */
    /* ================= Hero ================== */
    /* ========================================= */
    .home-hero {
        padding: 45px 5px 55px;
    }

    .home-logo {
        width: 100%;
        max-width: 450px;
        margin-bottom: 35px;
    }

    /* ========================================= */
    /* ================ Countdown ============== */
    /* ========================================= */
    .home-countdown-title {
        margin-bottom: 15px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .home-countdown-value {
        gap: 6px;
    }

    .home-countdown-item {
        min-width: 0;
        width: calc(33.333% - 4px);
        padding: 15px 5px;
    }

    .home-countdown-item-value {
        font-size: clamp(30px, 10vw, 42px);
    }

    .home-countdown-item-text {
        font-size: 9px;
        letter-spacing: 0.4px;
    }

    /* ========================================= */
    /* ============== Presentation ============= */
    /* ========================================= */
    .home-presentation {
        margin-bottom: 45px;
        padding: 24px 20px;
    }

        .home-presentation p {
            font-size: 15px;
            line-height: 1.7;
            text-align: left;
        }

    /* ========================================= */
    /* ================= Cartes ================= */
    /* ========================================= */
    .home-cards {
        gap: 15px;
        margin-bottom: 50px;
    }

    .home-card {
        padding: 24px 20px;
    }

    .home-card-main {
        min-height: auto;
    }

    .home-sub-title {
        font-size: 19px;
    }

    .home-card-content {
        font-size: 15px;
        line-height: 1.65;
    }

    .home-logo-lol {
        width: 80px;
    }

    /* ========================================= */
    /* ============== Message final ============ */
    /* ========================================= */
    .home-text-end {
        margin: 60px 10px;
        font-size: 30px;
    }

    /* ========================================= */
    /* ================ Partenaires ============ */
    /* ========================================= */
    .home-partners {
        margin-top: 55px;
    }

    .home-partners-content {
        gap: 20px;
    }

        .home-partners-content a {
            width: calc(50% - 10px);
        }

    .home-logo-partner {
        max-width: 140px;
        max-height: 70px;
    }
}

/* =========================================================
   EDITION EN COURS
   ========================================================= */

.home-countdown-live {
    animation: home-countdown-live-pulse 2.5s ease-in-out infinite;
}

@keyframes home-countdown-live-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}


/* =========================================================
   EDITION TERMINÉE
   ========================================================= */

.home-countdown-finished {
    text-align: center;
}

    .home-countdown-finished .home-countdown-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
        font-weight: 700;
    }

.home-countdown-message {
    margin-top: 15px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}