

#footerContainer {
    padding: 0 1.5rem;
    margin-top: 1rem;
}
@media (min-width: 640px) {
    #footerContainer { padding: 0 2rem; }
}

#footerContainer .tf-root {
    background: linear-gradient(165deg, #2a2a2e 0%, #1d1d1f 55%, #141416 100%) !important;
    border: none !important;
    border-radius: 2rem 2rem 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.12), 0 -2px 8px rgba(0, 0, 0, 0.06) !important;
}

#footerContainer .tf-root::before {
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 42% !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #0071e3 35%, #5856d6 65%, transparent) !important;
    opacity: 1 !important;
}

#footerContainer .tf-root::after {
    content: '';
    position: absolute;
    top: -6rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.18) 0%, transparent 68%);
    pointer-events: none;
}

#footerContainer .tf-inner {
    max-width: 72rem !important;
    margin: 0 auto !important;
    padding: 3.25rem 2rem 2rem !important;
    position: relative !important;
    z-index: 1 !important;
}

#footerContainer .tf-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.75rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    grid-template-columns: unset !important;
}

#footerContainer .tf-brand-col {
    max-width: 38rem !important;
    flex: none !important;
    gap: 1rem !important;
    padding: 0 !important;
    border: none !important;
    align-items: center !important;
    grid-column: unset !important;
}

#footerContainer .tf-logo > div {
    justify-content: center !important;
}

#footerContainer .tf-logo span[style*="color:#fff"],
#footerContainer .tm-brand-name--footer {
    color: #fff !important;
    font-size: 1.625rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
}

#footerContainer .tm-brand-logo--footer {
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35) !important;
    object-fit: contain !important;
}

#footerContainer .tf-brand-desc {
    color: rgba(255, 255, 255, 0.52) !important;
    font-size: 0.875rem !important;
    line-height: 1.85 !important;
    max-width: 34rem !important;
    text-align: center !important;
    letter-spacing: 0 !important;
}

#footerContainer .tf-nav-groups {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: none !important;
}

#footerContainer .tf-nav-col {
    display: contents !important;
}

#footerContainer .tf-col-label {
    display: none !important;
}

#footerContainer .tf-col-list {
    display: contents !important;
    list-style: none !important;
}

#footerContainer .tf-col-list > li {
    display: flex !important;
    flex-shrink: 0 !important;
}

#footerContainer .tm-footer-link {
    color: rgba(255, 255, 255, 0.78) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    padding: 0.5rem 1.125rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

#footerContainer .tm-footer-link:hover {
    color: #fff !important;
    background: rgba(0, 113, 227, 0.32) !important;
    border-color: rgba(0, 113, 227, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.28) !important;
}

#footerContainer .tf-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.875rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    padding-top: 1.5rem !important;
    padding-bottom: 0.25rem !important;
}

#footerContainer .tf-copy {
    color: rgba(255, 255, 255, 0.32) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.04em !important;
}

#footerContainer .tf-legal {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

#footerContainer .tf-legal a.tm-footer-link {
    color: rgba(255, 255, 255, 0.42) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em !important;
    padding: 0 1rem !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
}

#footerContainer .tf-legal a.tm-footer-link:not(:last-child)::after {
    content: '·';
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

#footerContainer .tf-legal a.tm-footer-link:hover {
    color: #0071e3 !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 560px) {
    #footerContainer .tf-inner {
        padding: 2.75rem 1.25rem 1.5rem !important;
    }

    #footerContainer .tf-nav-groups {
        gap: 0.375rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        padding-bottom: 0.25rem !important;
    }

    #footerContainer .tf-nav-groups::-webkit-scrollbar {
        display: none !important;
    }

    #footerContainer .tm-footer-link {
        padding: 0.4375rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    #footerContainer .tf-brand-desc {
        font-size: 0.8125rem !important;
    }
}
