.site-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-footer {
    padding: 0;
    color: #cbd9e9;
    background: #031f40;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    padding-top: 42px;
    padding-bottom: 34px;
}

.footer-main.no-app-promo {
    grid-template-columns: minmax(280px, 360px);
    justify-content: center;
}

.site-footer section {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    justify-self: center;
}

.site-footer.is-android-app .footer-stats,
.site-footer.is-android-app .footer-app {
    display: none !important;
}

.site-footer.is-android-app .footer-main {
    grid-template-columns: minmax(280px, 360px);
    justify-content: center;
}

.site-footer h2 {
    margin: 0 0 13px;
    color: #ffc928;
    font-size: 16px;
}

.site-footer p {
    line-height: 1.55;
}

.footer-brand > img {
    width: 172px;
    max-height: 54px;
    margin-bottom: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand > p {
    margin-bottom: 0;
}

.trustpilot-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    width: fit-content;
    margin-top: 18px;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    text-decoration: none;
}

.trustpilot-link > span {
    color: #00b67a;
    line-height: 1;
    letter-spacing: 1px;
}

.trustpilot-link strong {
    font-size: 13px;
    line-height: 1;
}

.trustpilot-link small {
    display: block;
    flex: 0 0 100%;
    padding-top: 2px;
    color: #b9c9dc;
    font-size: 10px;
    line-height: 1.3;
}

.footer-stats > h2 {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-stats > small {
    display: block;
    margin-top: 7px;
    color: #b9c9dc;
    font-size: 10px;
    line-height: 1.3;
}

.live-stats {
    display: grid;
    gap: 8px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.stat-card > span:first-child:not(.online-dot) {
    font-size: 11px;
}

.stat-card p {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
}

.stat-card strong {
    display: block;
    margin-top: 2px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.15;
}

.online-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: #31d57b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(49, 213, 123, 0.14);
}

.footer-app {
    padding: 17px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
}

.footer-app-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-app-heading img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    padding: 4px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 14px;
}

.footer-app-heading h2 {
    margin-bottom: 3px;
    font-size: 15px;
}

.footer-app-heading strong {
    color: #ffffff;
    font-size: 15px;
}

.footer-app > p {
    margin: 13px 0;
    color: #cbd9e9;
    font-size: 12px;
}

.google-play-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 178px;
    padding: 8px 13px;
    color: #ffffff;
    background: #101318;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-decoration: none;
}

.google-play-link > span:first-child {
    color: #ffc928;
    font-size: 21px;
}

.google-play-link small,
.google-play-link strong {
    display: block;
}

.google-play-link small {
    margin-bottom: 1px;
    color: #d3d8de;
    font-size: 9px;
    line-height: 1.1;
    text-transform: uppercase;
}

.google-play-link strong {
    font-size: 16px;
    line-height: 1.1;
}

.footer-bottom {
    background: #02172f;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom .site-container {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-contact-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.footer-contact-inline strong {
    color: #ffffff;
    font-size: 12px;
}

.footer-contact-inline a,
.footer-bottom > .site-container > a {
    color: #dce8f5;
    font-size: 11px;
    text-decoration: none;
}

.footer-contact-inline a:hover,
.footer-bottom > .site-container > a:hover {
    color: #ffc928;
}

.footer-bottom p {
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
    text-align: right;
}

@media (max-width: 900px) {
    .footer-main,
    .footer-main.no-app-promo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-stats {
        display: none;
    }

    .footer-main.no-app-promo {
        grid-template-columns: 1fr;
    }

    .footer-bottom .site-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .footer-bottom p {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .footer-main,
    .footer-main.no-app-promo {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 30px;
        padding-bottom: 25px;
    }

    .footer-brand > img {
        width: 150px;
    }

    .footer-app {
        padding: 14px;
    }

    .footer-contact-inline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px 13px;
        white-space: normal;
    }

    .footer-bottom .site-container {
        gap: 10px 15px;
        padding: 16px 0;
        text-align: center;
    }

    .footer-bottom p {
        flex: 0 0 100%;
    }
}
