/* =========================================================
   ECO6 - BLOCS LOGIN ET FOOTER SEPARES
   ========================================================= */

/* ---------------------------------------------------------
   BLOC 1 : Jouez en ligne
   Même aspect général, sans pseudo-éléments et sans déplacement
   --------------------------------------------------------- */

.eco6-login-play-block {
    width: 100%;
    text-align: center;
}

.eco6-play-online-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    min-height: 66px;
    padding: 9px 24px;

    box-sizing: border-box;

    border: 3px solid #fff;
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #28c9f3 0%,
            #0aa6dd 46%,
            #0477b8 100%
        );

    box-shadow:
        inset 0 0 0 3px rgba(3, 73, 123, .88),
        inset 0 2px 0 rgba(255, 255, 255, .48),
        0 5px 12px rgba(0, 0, 0, .34);

    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .38);

    cursor: pointer;
}

.eco6-play-online-button:hover,
.eco6-play-online-button:focus-visible {
    filter: brightness(1.06);
    outline: none;

    box-shadow:
        inset 0 0 0 3px rgba(3, 73, 123, .88),
        inset 0 2px 0 rgba(255, 255, 255, .52),
        0 5px 12px rgba(0, 0, 0, .34);
}

.eco6-play-online-button:active {
    filter: brightness(.98);
}

.eco6-play-online-button span {
    display: block;
    max-width: 160px;
}

/* Aucun before / after */
.eco6-play-online-button::before,
.eco6-play-online-button::after {
    display: none !important;
    content: none !important;
}

/* ---------------------------------------------------------
   BLOC 2 : 5 liens footer
   Boutons blancs arrondis dans la zone bleue étoilée
   --------------------------------------------------------- */

.eco6-footer-links-block {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 50;

    transform: translateX(-50%);

    width: calc(100% - 80px);
    max-width: 790px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    box-sizing: border-box;
}

.eco6-footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 118px;
    min-height: 46px;
    padding: 7px 16px;

    box-sizing: border-box;

    border: 2px solid rgba(255, 255, 255, .96);
    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 60%,
            #dfe7ed 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 5px 9px rgba(0,0,0,.30);

    color: #008ed6 !important;
    text-decoration: none !important;
    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;

    transition:
        background .16s ease,
        color .16s ease,
        box-shadow .16s ease;
}

.eco6-footer-pill:hover,
.eco6-footer-pill:focus-visible {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #eefaff 55%,
            #cfeaf7 100%
        );

    color: #006ba8 !important;
    outline: none;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 6px 11px rgba(0,0,0,.32);
}

.eco6-footer-pill:active {
    background: #e8f4fa;
}

.eco6-footer-links-block[dir="rtl"] .eco6-footer-pill {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* Page login / accueil : le parent doit rester positionné */
#page.accueil,
#page.login,
#page {
    position: relative;
}

@media screen and (max-width: 920px) {
    .eco6-footer-links-block {
        width: calc(100% - 30px);
        gap: 8px;
        bottom: 14px;
    }

    .eco6-footer-pill {
        min-width: 105px;
        min-height: 42px;
        padding: 6px 11px;
        font-size: 13px;
    }
}

@media screen and (max-width: 650px) {
    .eco6-footer-links-block {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;

        width: calc(100% - 20px);
        margin: 18px auto 0;

        flex-wrap: wrap;
    }

    .eco6-footer-pill {
        min-width: 125px;
    }

    .eco6-play-online-button {
        min-width: 170px;
        min-height: 60px;
        font-size: 20px;
    }
}
