/* ==========================================================================
   footer.css — site footer
   Shared by every page.
   ========================================================================== */

.site-footer {
  padding-bottom: 50px;
  background: #111;
  border-bottom: 1px solid #444;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 970px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* App Store / Google Play badges */
.site-footer__stores {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: 8px;
}

.site-footer__social a {
  display: block;
  opacity: 0.8;
}

.site-footer__social a:hover {
  opacity: 1;
}

/* Legal links + credits row */
.site-footer__notes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  font-size: 1.8rem;
}

.site-footer__notes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--red);
}

@media (max-width: 680px) {
  .site-footer__stores,
  .site-footer__social {
    justify-content: center;
    width: 100%;
  }

  .site-footer__social {
    margin-top: 20px;
  }

  .site-footer__notes {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .site-footer__notes ul {
    justify-content: center;
    width: 100%;
  }
}

/* Pages with the fixed player bar: extra room so the footer is never covered. */
.has-player .site-footer {
  padding-bottom: 134px;
}

@media (max-width: 900px) {
  .has-player .site-footer {
    padding-bottom: 126px;
  }
}
