/* ==========================================================================
   Footer — AniWatch style
   ========================================================================== */

#footer {
    background: #3B3B3B;
    border-top: none;
    margin-top: 3rem;
    padding: 2rem 0 1rem;
    font-size: 13px;
    color: #d1d1d1;
}

#footer .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

/* -- Top row: logo + socials -------------------------------------------- */
.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

/* Brand / logo */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-brand-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    line-height: 1;
}

.footer-brand-text .brand-ani {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFD166;
    letter-spacing: -0.02em;
}

.footer-brand-text .brand-watch {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Social icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.footer-social-btn:hover { opacity: 0.85; transform: translateY(-2px); }

.footer-social-btn.discord  { background: #5865f2; color: #fff; }
.footer-social-btn.telegram { background: #229ed9; color: #fff; }
.footer-social-btn.reddit   { background: #ff4500; color: #fff; }
.footer-social-btn.twitter  { background: #1d9bf0; color: #fff; }

/* -- A-Z section --------------------------------------------------------- */
.footer-az {
    margin-bottom: 1.5rem;
}

.footer-az-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.footer-az-heading strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.footer-az-heading span {
    font-size: 12px;
    color: #b0b0b0;
}

.footer-az-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-az-letters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 6px;
    background: #4a4a4a;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #d1d1d1;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-az-letters a:hover,
.footer-az-letters a.active {
    background: #f5c518;
    border-color: #f5c518;
    color: #000;
}

/* -- Bottom links -------------------------------------------------------- */
.footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: none;
}

.footer-bottom-links a {
    color: #9ca3af;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover { color: #f5c518; }

/* -- Disclaimer + copyright --------------------------------------------- */
.footer-disclaimer {
    font-size: 12px;
    color: #b0b0b0;
    margin: 0 0 0.4rem;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 12px;
    color: #b0b0b0;
    margin: 0;
}

/* -- Responsive ---------------------------------------------------------- */
@media (max-width: 575px) {
    .footer-top-row { flex-direction: column; align-items: flex-start; }
    .footer-az-heading { flex-direction: column; gap: 4px; }
    .footer-az-letters a { min-width: 28px; height: 26px; font-size: 11px; }
}
