

.site-footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.shell-web-desktop .site-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px 40px;
    gap: 12px;
}


.site-footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.site-footer-brand-img {
    height: 96px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.25));
}

body.shell-web-desktop .site-footer-brand-img {
    height: 108px;
    max-width: 360px;
}

.site-footer-lang-pill {
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 4px 2px 10px;
}

.site-footer-brand-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.site-footer-brand-aside .site-footer-legal-links {
    justify-content: flex-end;
}

.site-footer-legal-sep {
    opacity: 0.35;
    user-select: none;
}

.site-footer-lang-select {
    border: none;
    background: transparent;
    color: var(--text-primary, #fff);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 7px 26px 7px 0;
    max-width: 130px;
    cursor: pointer;
}


.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    padding: 7px 11px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1;
}

.site-footer-nav-item:hover {
    border-color: rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.08);
    color: #fff;
}

.site-footer-nav-item:active {
    transform: scale(0.97);
}

.site-footer-nav-ico {
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

.site-footer-nav-item--muted {
    opacity: 0.55;
    cursor: default;
}


.site-footer-crypto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 1px solid rgba(0, 212, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(10, 14, 22, 0.6) 55%),
        rgba(28, 29, 35, 0.75);
    border-radius: 14px;
    padding: 10px 12px;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.site-footer-crypto:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.site-footer-crypto:active {
    transform: scale(0.99);
}

.site-footer-crypto-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer-crypto-head {
    display: flex;
    align-items: center;
    gap: 7px;
}

.site-footer-crypto-ico {
    width: 16px;
    height: 16px;
    color: #00d4ff;
    flex-shrink: 0;
}

.site-footer-crypto-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.site-footer-crypto-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.2;
}

.site-footer-pay-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.site-footer-coin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #dff8ff;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.site-footer-coin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.7);
    flex-shrink: 0;
}

.site-footer-crypto-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #041018;
    background: linear-gradient(135deg, #00d4ff, #7ae7ff);
    white-space: nowrap;
}


.site-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 2px;
}

.site-footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.site-footer-social-btn .site-footer-social-svg {
    display: block;
    flex-shrink: 0;
}

.site-footer-social-btn--telegram {
    background: #229ed9;
    border-color: transparent;
}

.site-footer-social-btn--vk {
    background: #0077ff;
    border-color: transparent;
}

.site-footer-social-btn--x {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.14);
}

.site-footer-social-btn--instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
    border-color: transparent;
}

.site-footer-social-btn:active {
    transform: scale(0.96);
}

.site-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    min-width: 0;
}

.site-footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.3;
    min-width: 0;
}

.site-footer-legal-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer-legal-link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

.site-footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-age {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}


body.shell-telegram .site-footer,
body.shell-web-mobile .site-footer {
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

body.shell-telegram .main-content,
body.shell-web-mobile .main-content {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 10px)) !important;
}

body.shell-telegram.tg-desktop .main-content {
    padding-bottom: calc(100px + 48px + env(safe-area-inset-bottom, 0px)) !important;
}


#site-fab-root {
    pointer-events: none;
}

.site-fab {
    position: fixed;
    right: max(12px, env(safe-area-inset-right, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

body.shell-telegram.tg-desktop .site-fab {
    bottom: calc(72px + 48px + env(safe-area-inset-bottom, 0px));
}

body.shell-web-desktop .site-fab {
    left: auto;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: 24px;
    width: auto;
    gap: 10px;
    flex-direction: column-reverse;
}

.site-fab-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(28, 29, 35, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-fab-btn--support {
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.98), rgba(0, 180, 255, 0.9));
    border-color: transparent;
}

.site-fab-btn[hidden] {
    display: none !important;
}

@media (max-width: 390px) {
    .site-footer {
        padding-left: 12px;
        padding-right: 12px;
    }
    .site-footer-brand-img {
        height: 88px;
        max-width: 280px;
    }
}
