/* =============================================================
   FOOTER - AniList Inspired / Dark & Light Theme
   var(--*) değişkenleri inc.header.php'den geliyor
   ============================================================= */

.site-footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 3rem 0 0;
    font-family: var(--font, 'Overpass', sans-serif);
    margin-top: 3rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- A-Z LİSTESİ ---------- */
.footer-azlist {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}
.footer-azlist-label {
    font-weight: 700;
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--text-bright);
    letter-spacing: 0.03em;
}
.footer-azlist a {
    color: var(--text-muted);
    padding: 5px 9px;
    border-radius: var(--radius-sm, 4px);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}
.footer-azlist a:hover {
    color: var(--accent);
    background: var(--accent-surface, rgba(61,180,242,0.08));
}

/* ---------- GRID ---------- */
.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.3fr; }
}

/* ---------- LOGO BLOĞU ---------- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.footer-logo img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 340px;
}

/* ---------- İSTATİSTİKLER ---------- */
.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary, var(--bg-card));
    padding: 12px 16px;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border);
}
.footer-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-stat i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.footer-stat b {
    color: var(--text-bright);
    font-weight: 700;
}
.footer-stat a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.footer-stat a:hover { text-decoration: underline; }

/* ---------- BAŞLIKLAR ---------- */
.footer-title {
    font-size: 0.85rem;
    color: var(--text-bright);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ---------- LİNKLER ---------- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a i { width: 14px; text-align: center; font-size: 0.75rem; }

/* ---------- SOSYAL MEDYA ---------- */
.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}
.footer-social a {
    color: var(--text-muted);
    background: var(--bg-tertiary, var(--bg-card));
    width: 40px;
    height: 40px;
    border-radius: var(--radius, 8px);
    font-size: 1.15rem;
    transition: all 0.15s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--border);
}
.footer-social a:hover {
    color: var(--accent);
    background: var(--accent-surface, rgba(61,180,242,0.08));
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ---------- REKLAM ---------- */
.footer-ad {
    background: var(--bg-tertiary, var(--bg-card));
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg, 12px);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
    max-width: 728px;
}
.footer-ad img { max-width: 100%; height: auto; border-radius: var(--radius, 8px); }

/* ---------- ALT KISIM ---------- */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}
.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 0.75rem;
}
.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--accent); }

.footer-legal {
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.footer-legal a { color: var(--accent); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* ---------- MOBİL ---------- */
@media (max-width: 767px) {
    .site-footer { padding: 2rem 0 0; margin-top: 2rem; }
    .footer-container { padding: 0 1rem; }
    .footer-grid { gap: 2rem; }
    .footer-azlist a { padding: 4px 7px; font-size: 0.75rem; }
    .footer-social a { width: 38px; height: 38px; }
    .footer-logo img { height: 38px; max-width: 150px; }
}