/* ======================================================= */
/* UXT CUSTOM FOOTER PLUGIN STYLES - UI KIT COMPLIANT */
/* ======================================================= */

.uxt-site-footer {
    background: transparent !important;
    color: var(--text-primary);
    padding: 0;
    font-family: var(--font-main);
    position: relative;
    z-index: 10;
}

.uxt-site-footer .footer-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--header-inline-padding) var(--space-lg);
    box-sizing: border-box;
}

/* 1. SUBSCRIBE BLOCK - UI KIT GRADIENT STYLE */
.uxt-site-footer .footer-subscribe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: color-mix(in oklab, var(--surface-1) 30%, transparent) !important;
    background-image: linear-gradient(135deg, color-mix(in oklab, var(--bg-grad-2) 15%, transparent), color-mix(in oklab, var(--bg-grad-1) 15%, transparent)) !important;
    -webkit-backdrop-filter: blur(var(--header-blur, 12px)) !important;
    backdrop-filter: blur(var(--header-blur, 12px)) !important;
    border: 1px solid color-mix(in oklab, var(--border) 20%, transparent);
    padding: 40px 60px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 24px -8px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.uxt-site-footer .sub-content {
    flex: 1;
    min-width: 300px;
}

.uxt-site-footer .sub-content h3 {
    color: var(--text-headings);
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.uxt-site-footer .sub-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--fs-body);
}

.uxt-site-footer .sub-form {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    align-items: center;
}

.uxt-site-footer .sub-input {
    width: 300px !important;
    height: 48px !important;
    box-sizing: border-box !important;
}

.uxt-site-footer .sub-btn {
    height: 48px !important;
    padding: 0 32px !important;
    width: auto !important;
    min-width: 140px !important;
    display: inline-flex !important;
}

/* 2. GRID SYSTEM */
.uxt-site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.uxt-site-footer .footer-col h4 {
    color: var(--text-headings);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.uxt-site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
}

.uxt-site-footer .uxt-footer-custom-logo {
    max-height: 40px;
    width: auto;
}

.uxt-site-footer .footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: var(--fs-body);
    margin-bottom: 30px;
}

.uxt-site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uxt-site-footer .footer-links li {
    margin-bottom: 12px;
}

.uxt-site-footer .footer-links a {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.uxt-site-footer .footer-links a:hover {
    color: var(--accent) !important;
    transform: translateX(6px);
}

/* TAGS CLOUD - UI KIT STYLE */
.uxt-site-footer .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uxt-site-footer .tags-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background-color: color-mix(in oklab, var(--surface-1) 30%, transparent);
    background-image: linear-gradient(135deg, color-mix(in oklab, var(--bg-grad-2) 15%, transparent), color-mix(in oklab, var(--bg-grad-1) 15%, transparent));
    color: var(--text-secondary);
    border-radius: 22px;
    text-decoration: none;
    font-size: 0.85rem !important;
    font-weight: 600;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 0 rgba(0, 179, 204, 0);
}

.uxt-site-footer .tags-cloud a:hover {
    background: color-mix(in oklab, var(--surface-1) 80%, transparent) !important;
    color: var(--text-primary) !important;
    transform: translateY(-3px);
    box-shadow:
        0 12px 24px -8px rgba(0, 0, 0, 0.4),
        0 0 20px color-mix(in oklab, var(--accent) 35%, transparent) !important;
}

/* TICKER */
.uxt-site-footer .footer-ticker-container {
    padding: 30px 0;
    border-top: 1px solid color-mix(in oklab, var(--border) 20%, transparent);
    overflow: hidden;
    margin-bottom: 40px;
}

.uxt-site-footer .ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 40s linear infinite !important;
    width: max-content;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.uxt-site-footer .ticker-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.uxt-site-footer .ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* SOCIALS - CIRCULAR FIXED STYLE */
.uxt-site-footer .footer-social-under-logo {
    margin-top: 32px;
}

.fs-buttons {
    display: flex;
    gap: 12px;
}

.fs-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;

    /* UPDATED: Glass Gradient Style */
    background-color: color-mix(in oklab, var(--surface-1) 30%, transparent) !important;
    background-image: linear-gradient(135deg, color-mix(in oklab, var(--bg-grad-2) 15%, transparent), color-mix(in oklab, var(--bg-grad-1) 15%, transparent)) !important;

    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: all 0.4s var(--ease) !important;
    border: none !important;

    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    position: relative;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.fs-btn svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.4s var(--ease) !important;
}

.fs-label {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
}

.fs-btn:hover {
    color: #fff !important;
    transform: translateY(-4px) !important;
    background: var(--hover-color, var(--accent)) !important;
    box-shadow: 0 8px 16px color-mix(in oklab, var(--hover-color, var(--accent)) 30%, transparent) !important;
    border-color: transparent !important;
}

.fs-btn:hover svg {
    transform: scale(1.15) !important;
}

/* BOTTOM BAR */
.uxt-site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid color-mix(in oklab, var(--border) 20%, transparent);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.uxt-site-footer .footer-bottom-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.uxt-site-footer .footer-bottom-links a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.uxt-site-footer .footer-bottom-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* BACK TO TOP */
/* BACK TO TOP */
#uikit-btn-back-to-top.footer-fixed {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

#uikit-btn-back-to-top.footer-fixed.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#uikit-btn-back-to-top {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#uikit-btn-back-to-top:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .uxt-site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .uxt-site-footer .footer-subscribe {
        padding: 30px 24px;
        text-align: center;
    }

    .uxt-site-footer .sub-form {
        width: 100%;
        flex-direction: column;
    }

    .uxt-site-footer .sub-input {
        width: 100% !important;
    }

    .uxt-site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .uxt-site-footer .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .uxt-site-footer .footer-inner {
        padding-left: var(--header-inline-padding-mobile, 10px);
        padding-right: var(--header-inline-padding-mobile, 10px);
    }
}

/* SOCIALS BRAND COLORS */
.fs-facebook {
    --hover-color: #1877F2;
}

.fs-twitter {
    --hover-color: #000000;
}

.fs-instagram {
    --hover-color: #F00073;
}

.fs-linkedin {
    --hover-color: #0077B5;
}

.fs-whatsapp {
    --hover-color: #25D366;
}

.fs-telegram {
    --hover-color: #0088CC;
}

.fs-viber {
    --hover-color: #7360f2;
}

.fs-youtube {
    --hover-color: #FF0000;
}

.fs-tiktok {
    --hover-color: #000000;
}

.theme-dark .fs-twitter,
.theme-dark .fs-tiktok {
    --hover-color: #ffffff;
}

.theme-dark .fs-twitter:hover,
.theme-dark .fs-tiktok:hover {
    color: #000 !important;
}