/* ============================================================
   MyCollection — footer.css
   4-column footer grid, brand, attribution, bottom bar
   ============================================================ */

footer {
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

/* ── Top grid ── */
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* ── Brand column ── */
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem;
}
.footer-brand .footer-logo img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand p {
  color: var(--text-muted); font-size: .85rem; line-height: 1.65;
  max-width: 260px; margin-bottom: 1.5rem;
}

.footer-attribution {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text-muted); font-size: .78rem;
}
.tvdb-logo { height: 20px; width: auto; max-width: 90px; object-fit: contain; opacity: .65; filter: brightness(0) invert(1); transition: opacity .2s; }
.footer-attribution a:hover .tvdb-logo { opacity: .9; }

/* ── Nav columns ── */
.footer-col h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  font-size: .85rem; color: var(--text-muted); transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text-primary); }

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-copy { color: var(--text-muted); font-size: .8rem; }

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: .8rem; color: var(--text-muted); transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--text-primary); }
