.smsonay-plugin-footer {
    --footer-font-size: 0.98rem;
    margin-top: auto;
    background:
        radial-gradient(circle at top left, var(--footer-surface-glow), transparent 26%),
        linear-gradient(180deg, var(--footer-surface-start) 0%, var(--footer-surface-end) 100%);
    border-top: 1px solid var(--footer-surface-border);
    color: var(--footer-surface-text);
}

.smsonay-plugin-footer,
.smsonay-plugin-footer * {
    font-family: inherit;
}

.smsonay-plugin-footer__inner {
    padding: 60px 0 22px;
}

.smsonay-plugin-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr) minmax(0, 0.92fr) minmax(0, 0.92fr);
    gap: 40px 48px;
    align-items: start;
}

.smsonay-plugin-footer__brand,
.smsonay-plugin-footer__stack,
.smsonay-plugin-footer__column {
    min-width: 0;
}

.smsonay-plugin-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.smsonay-plugin-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: var(--footer-surface-text);
    text-decoration: none;
}

.smsonay-plugin-footer__brand-link:hover {
    color: var(--footer-surface-text);
}

.smsonay-plugin-footer__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.2);
}

.smsonay-plugin-footer__brand-name {
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.smsonay-plugin-footer__description {
    max-width: 23rem;
    margin: 0;
    color: var(--footer-link-color, var(--footer-surface-muted));
    font-size: var(--footer-font-size);
    line-height: 1.75;
}

.smsonay-plugin-footer__contact-list {
    display: grid;
    gap: 12px;
}

.smsonay-plugin-footer__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--footer-link-color, var(--footer-surface-muted));
    text-decoration: none;
    font-size: var(--footer-font-size);
    font-weight: 600;
}

.smsonay-plugin-footer__contact-item:hover {
    color: var(--footer-surface-text);
}

.smsonay-plugin-footer__icon,
.smsonay-plugin-footer__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--footer-surface-icon);
}

.smsonay-plugin-footer__icon svg,
.smsonay-plugin-footer__social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.smsonay-plugin-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.smsonay-plugin-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--footer-card-border, var(--footer-surface-border));
    background: rgba(255, 255, 255, 0.58);
    color: var(--footer-surface-text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.smsonay-plugin-footer__social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 197, 94, 0.26);
    background: rgba(255, 255, 255, 0.9);
    color: var(--footer-surface-text);
}

.smsonay-plugin-footer__payment-block {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-bottom-border, var(--footer-surface-border));
}

.smsonay-plugin-footer__payment-title {
    margin: 0 0 14px;
    color: var(--footer-surface-muted);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smsonay-plugin-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.smsonay-plugin-footer__payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 10px 14px;
    border-radius: 13px;
    border: 1px solid var(--footer-card-border, var(--footer-surface-border));
    background: rgba(255, 255, 255, 0.72);
    color: var(--footer-surface-text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
}

.smsonay-plugin-footer__payment-badge.is-stripe {
    color: #1f9d55;
}

.smsonay-plugin-footer__payment-badge.is-card {
    color: #2563eb;
}

.smsonay-plugin-footer__payment-badge.is-bank {
    color: #0f766e;
}

.smsonay-plugin-footer__payment-badge.is-crypto {
    color: #16a34a;
}

.smsonay-plugin-footer__payment-badge.is-wallet {
    color: #475569;
}

.smsonay-plugin-footer__payment-badge.is-mastercard,
.smsonay-plugin-footer__payment-badge.is-visa,
.smsonay-plugin-footer__payment-badge.is-troy,
.smsonay-plugin-footer__payment-badge.is-secure {
    color: #ffffff;
}

.smsonay-plugin-footer__payment-badge.is-mastercard {
    background: linear-gradient(135deg, #2a313d 0%, #3e444f 100%);
}

.smsonay-plugin-footer__payment-badge.is-visa {
    background: linear-gradient(135deg, #1d2d82 0%, #2143c6 100%);
}

.smsonay-plugin-footer__payment-badge.is-troy {
    background: linear-gradient(135deg, #24a47e 0%, #35c38d 100%);
}

.smsonay-plugin-footer__payment-badge.is-secure {
    background: linear-gradient(135deg, #d2273b 0%, #ef4343 100%);
}

.smsonay-plugin-footer__stack {
    display: grid;
    gap: 30px;
}

.smsonay-plugin-footer__heading {
    margin: 0 0 18px;
    color: var(--footer-surface-text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.smsonay-plugin-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.smsonay-plugin-footer__links li {
    position: relative;
    padding-left: 18px;
}

.smsonay-plugin-footer__links li::before {
    content: '';
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.smsonay-plugin-footer__links a {
    color: var(--footer-link-color, var(--footer-surface-muted));
    text-decoration: none;
    font-size: var(--footer-font-size);
    line-height: 1.7;
    transition: color 0.2s ease, transform 0.2s ease;
}

.smsonay-plugin-footer__links a:hover {
    color: var(--footer-surface-text);
    transform: translateX(2px);
}

.smsonay-plugin-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 54px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-bottom-border, var(--footer-surface-border));
}

.smsonay-plugin-footer__bottom p {
    margin: 0;
    color: var(--footer-copy-color, var(--footer-surface-muted));
    font-size: 0.94rem;
    line-height: 1.7;
}

.smsonay-plugin-footer__meta {
    text-align: right;
}

html[data-theme="dark"] .smsonay-plugin-footer__social-link,
html[data-theme="dark"] .smsonay-plugin-footer__payment-badge:not(.is-mastercard):not(.is-visa):not(.is-troy):not(.is-secure) {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .smsonay-plugin-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .smsonay-plugin-footer__bottom {
        margin-top: 38px;
    }
}

@media (max-width: 640px) {
    .smsonay-plugin-footer__inner {
        padding: 40px 0 18px;
    }

    .smsonay-plugin-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .smsonay-plugin-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .smsonay-plugin-footer__meta {
        text-align: left;
    }
}
