﻿/* ========================================================================== */
/* TopSitesDanke – Site Footer */
/* ========================================================================== */

.tsd-footer {
    background: var(--tsd-blue-dark);
    color: #cbd5e1;
    padding: 64px 24px 0;
    margin-top: 64px;
}

.tsd-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.tsd-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tsd-footer__heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--tsd-white);
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.tsd-footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0;
}

.tsd-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tsd-footer__links li {
    margin-bottom: 10px;
}

.tsd-footer__links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color var(--tsd-transition);
}

.tsd-footer__links a:hover {
    color: var(--tsd-white);
}

.tsd-footer__note {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 10px;
    line-height: 1.6;
}

.tsd-footer__note strong {
    color: #e2e8f0;
}

/* Compliance bar */
.tsd-footer__compliance {
    background: rgba(26, 86, 219, 0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.tsd-footer__compliance-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tsd-footer__compliance-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.tsd-footer__compliance-text strong {
    color: #e2e8f0;
}

.tsd-footer__badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tsd-footer__badge {
    background: rgba(255,255,255,0.08);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.12);
}

/* Regulatory & Safety Section */
.tsd-footer__regulatory {
    background: rgba(26, 86, 219, 0.15);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
}

.tsd-footer__regulatory-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.tsd-footer__regulatory-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.tsd-footer__regulatory-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.tsd-footer__regulatory-item {
    display: inline-block;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tsd-transition);
    border-radius: 6px;
    padding: 4px 8px;
}

.tsd-footer__regulatory-item img {
    max-height: 44px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--tsd-transition);
}

.tsd-footer__regulatory-item:hover {
    background: rgba(255,255,255,0.05);
}

.tsd-footer__regulatory-item:hover img {
    opacity: 1;
}

.tsd-footer__regulatory-item.tsd-footer__social img {
    max-height: 28px;
    max-width: 28px;
}

/* Bottom bar */
.tsd-footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.tsd-footer__bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--tsd-transition);
}

.tsd-footer__bottom a:hover {
    color: var(--tsd-white);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .tsd-footer {
        padding: 48px 16px 0;
        margin-top: 40px;
    }

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

    .tsd-footer__compliance-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
    }

    .tsd-footer__regulatory-inner {
        padding: 0 16px;
    }

    .tsd-footer__regulatory-grid {
        gap: 12px;
    }

    .tsd-footer__regulatory-item {
        height: 44px;
        padding: 2px 6px;
    }

    .tsd-footer__regulatory-item img {
        max-height: 40px;
        max-width: 70px;
    }

    .tsd-footer__bottom {
        padding: 16px;
        font-size: 12px;
    }
}


.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #b0b0b0;
    margin: 0 0 10px 0;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-section strong {
    color: white;
    font-weight: 700;
}

/* Compliance Bar */
.footer-compliance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    background-color: #0066cc;
}

.compliance-info {
    flex: 1;
    min-width: 250px;
}

.compliance-text {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.compliance-text strong {
    color: white;
    font-weight: 700;
}

.compliance-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.compliance-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.compliance-logo-link {
    display: inline-flex;
    align-items: center;
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.compliance-logo-link:hover {
    opacity: 1;
}

.compliance-logo {
    height: 56px;
    width: auto;
    display: block;
}

.compliance-logo--social {
    height: 64px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #808080;
}

.footer-bottom a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portal-footer {
        padding: 40px 20px 20px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        border-bottom: 1px solid #333;
        padding-bottom: 20px;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-section p,
    .footer-links a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .portal-footer {
        padding: 30px 15px 15px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-title {
        font-size: 15px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .footer-compliance {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .compliance-info {
        width: 100%;
    }

    .compliance-text {
        font-size: 13px;
    }

    .compliance-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .compliance-logo-link {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .compliance-logo {
        height: 36px;
    }

    .compliance-social {
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .compliance-logo--social {
        height: 36px;
    }
}

