.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    color: var(--text);
    font-family: var(--font-en);
    line-height: 1.9;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer a {
    text-decoration: none;
    color: inherit;
}

.site-footer img {
    display: block;
    max-width: 100%;
}

.site-footer button {
    cursor: pointer;
    color: inherit;
    background: none;
    border: none;
}

.site-footer .container {
    max-width: var(--footer-container);
    margin-inline: auto;
    padding-inline: 24px;
}

.site-footer .container>div {
    transition: transform 0.5s;
}

.site-footer .container>div:hover {
    transform: translateY(-5px) scale(1.02);
}

.trust-strip {
    border-bottom: 1px solid var(--line);
}

.trust-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    padding-block: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.trust-item > svg {
    color: var(--pink);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.trust-item small {
    color: var(--muted);
    font-size: 0.78rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 44px;
    padding: 64px 24px 50px;
}

.f-brand .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.f-brand .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.f-brand .brand:hover .logo-img {
    transform: rotate(-6deg) scale(1.06);
}

.f-brand .logo-word {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
    color: var(--text);
    white-space: nowrap;
}

.f-brand .logo-word b {
    font-family: var(--font-en) !important;
    color: var(--pink);
    font-weight: 700;
}

.f-title {
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1rem;
    color: var(--text);
}

.f-brand .f-title {
    margin-top: 18px;
    margin-bottom: 10px;
}

.f-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
    max-width: 42ch;
    line-height: 1.9;
}

.f-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-links li {
    position: relative;
}

.f-links a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s, padding 0.2s;
    display: block;
}

.f-links a:hover {
    color: var(--pink);
    padding-inline-start: 7px;
}

.f-links.rtl-links a {
    text-align: right;
}

.f-links.ltr-links a {
    text-align: left;
}

.f-desc {
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 14px;
    line-height: 1.9;
}

.nl-channel {
    display: inline-block;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nl-channel:hover {
    transform: translateY(-3px);
    border-color: var(--pink);
    box-shadow: 0 14px 34px -14px rgba(var(--pink-rgb), 0.5);
}

.nl-channel img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.social-btns {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-btns a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.social-btns a:hover {
    color: var(--pink);
    border-color: var(--pink);
    transform: translateY(-3px);
}

.social-btns a svg {
    display: block;
    pointer-events: none;
}

.footer-bottom {
    border-top: 1px solid var(--line);
}

.fb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 22px;
    color: var(--faint);
    font-size: 0.82rem;
}

.heart-pink {
    color: var(--pink);
    font-size: 0.75rem;
    margin-inline: 3px;
}

body:has(.announcement-bar:not(.hidden)) .site-footer {
    padding-bottom: var(--ann-h, 56px);
}

.to-top {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 24px;
    z-index: 250;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    border: none;
    background: var(--pink);
    color: var(--ink);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.3s;
    box-shadow: 0 12px 28px -10px rgba(var(--pink-rgb), 0.6);
    cursor: pointer;
}
.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.to-top:hover {
    transform: translateY(-3px);
}

.theme-switcher {
    position: fixed;
    top: 50%;
    right: 14px;
    z-index: 240;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 5px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow:
        0 14px 34px -16px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(var(--pink-rgb), 0.05),
        inset 0 0 24px -16px rgba(var(--pink-rgb), 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(calc(100% + 20px));
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1),
        background 0.35s,
        border-color 0.35s,
        box-shadow 0.35s;
    -webkit-appearance: none;
    appearance: none;
}

.theme-switcher.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.ts-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--faint);
    cursor: pointer;
    padding: 0;
    transition:
        background 0.3s,
        color 0.3s,
        border-color 0.3s,
        transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1),
        box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.ts-btn svg {
    width: 17px;
    height: 17px;
    display: block;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.ts-btn:hover {
    color: var(--pink);
    background: rgba(var(--pink-rgb), 0.08);
    transform: scale(1.06);
}

.ts-btn:hover svg {
    transform: rotate(15deg);
}

.ts-btn.is-active {
    background: var(--pink);
    color: var(--ink);
    border-color: var(--pink);
    box-shadow:
        0 6px 18px -6px rgba(var(--pink-rgb), 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.ts-btn.is-active svg {
    transform: rotate(0deg);
}

.theme-wipe {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    transform: translateX(100%);
    will-change: transform;
    background: #0b0b12;
}

@media (max-width: 1024px) {
    .footer-grid {
        gap: 32px;
        padding: 56px 24px 44px;
    }

    .f-brand p {
        max-width: unset;
    }

    .nl-channel img {
        width: 220px;
        height: 220px;
    }

    .theme-switcher {
        right: 12px;
    }
}

@media (max-width: 768px) {
    .site-footer .container {
        padding-inline: 18px;
    }

    .trust-strip .container {
        gap: 18px;
        padding-block: 22px;
    }

    .trust-item > svg {
        font-size: 1.15rem;
        width: 20px;
        height: 20px;
    }

    .trust-item strong {
        font-size: 0.85rem;
    }

    .trust-item small {
        font-size: 0.72rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        padding: 48px 18px 40px;
    }

    .f-title {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .f-links a {
        font-size: 0.85rem;
    }

    .fb-inner {
        justify-content: center;
        text-align: center;
        gap: 8px;
        padding-block: 18px;
    }

    .nl-channel img {
        width: 200px;
        height: 200px;
    }

    .theme-switcher {
        top: auto;
        bottom: 88px;
        right: auto;
        left: 12px;
        padding: 4px;
        gap: 2px;
        transform: translateY(0) translateX(calc(-100% - 20px));
    }
    .theme-switcher.is-visible {
        transform: translateY(0) translateX(0);
    }
    .ts-btn {
        width: 34px;
        height: 34px;
    }
    .ts-btn svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .site-footer .container {
        padding-inline: 14px;
    }

    .trust-strip .container {
        gap: 14px;
        justify-content: space-around;
    }

    .trust-item {
        gap: 10px;
    }

    .trust-item > svg {
        width: 18px;
        height: 18px;
    }

    .trust-item strong {
        font-size: 0.8rem;
    }

    .trust-item small {
        font-size: 0.68rem;
    }

    .footer-grid {
        padding: 40px 14px 32px;
        gap: 24px;
        grid-template-columns: 1fr 1fr;
    }

    .f-brand {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1 !important;
    }

    .site-footer .footer-grid>div {
        text-align: center;
    }

    .footer-grid > div:last-child {
        grid-column: 1;
    }

    .f-title {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }

    .f-links {
        gap: 10px;
    }

    .f-links a {
        font-size: 0.82rem;
    }

    .nl-channel img {
        width: 100%;
        max-width: 260px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .social-btns {
        justify-content: center;
    }

    .social-btns a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .fb-inner {
        font-size: 0.75rem;
    }

    .theme-switcher {
        bottom: 78px;
        left: 10px;
    }
    .ts-btn {
        width: 32px;
        height: 32px;
    }
    .ts-btn svg {
        width: 14px;
        height: 14px;
    }
}