/* ============================================================
   MinerCore — Footer (Light Theme)
   ============================================================ */

.site-footer {
    background-color: var(--color-text-main);   /* Near-black footer on light site */
    border-top: none;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Override text colors in dark footer */
.site-footer .footer-widget .widget-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: relative;
    padding-bottom: 10px;
}

.site-footer .footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

[dir="rtl"] .site-footer .footer-widget .widget-title::after { left: auto; right: 0; }

.brand-info-widget .brand-desc {
    font-size: 0.88rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.55);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.contact-info-list p { color: rgba(255,255,255,0.55); margin: 0; }
.contact-info-list a { color: rgba(255,255,255,0.75); }
.contact-info-list a:hover { color: #ffffff; text-decoration: none; }

.footer-widget ul { display: flex; flex-direction: column; gap: 8px; }

.footer-widget ul a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-widget ul a:hover {
    color: #ffffff;
    padding-left: 4px;
    text-decoration: none;
}

[dir="rtl"] .footer-widget ul a:hover { padding-left: 0; padding-right: 4px; }

/* Payment Badges (dark footer override) */
.site-footer .payment-methods-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.site-footer .payment-badge {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

.bank-details-teaser { color: rgba(255,255,255,0.5); }

/* Social Links */
.social-links-row { display: flex; flex-wrap: wrap; gap: 8px; }

.social-link {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(37,99,235,0.08);
    text-decoration: none;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 50px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom p { color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #ffffff; text-decoration: none; }

.copyright-text { color: rgba(255,255,255,0.4); }
.powered-by { color: rgba(255,255,255,0.3); }
.official-footer__logo{display:block;max-width:220px;max-height:64px;width:auto;height:auto;margin:0 0 18px;object-fit:contain}
