/* =========================================================
   Layout - Site Footer
========================================================= */

.ozd-site-footer {
  margin-top: 30px;
  padding: 24px 0 calc(var(--ozd-player-height) + 42px);
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.16), transparent 16rem),
    linear-gradient(135deg, #111827 0%, #0f172a 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ozd-footer-inner {
  width: min(100% - 32px, var(--ozd-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  gap: 14px;
  align-items: stretch;
}

.ozd-footer-col {
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.ozd-footer-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.ozd-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ozd-footer-links__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.ozd-footer-links__link::before { display: none !important; }

.ozd-footer-links__icon {
  flex: 0 0 auto;
  color: var(--ozd-accent);
}

.ozd-footer-links__link span { min-width: 0; }

.ozd-footer-links__link:hover,
.ozd-footer-links__link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ozd-footer-social__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ozd-footer-social__link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform var(--ozd-transition), background var(--ozd-transition), border-color var(--ozd-transition);
}

.ozd-footer-social__icon { flex: 0 0 auto; }

.ozd-footer-social__link:hover,
.ozd-footer-social__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--ozd-accent);
  color: #ffffff;
}

.ozd-footer-empty {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ozd-footer-empty--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ozd-footer-empty__icon {
  flex: 0 0 auto;
  color: var(--ozd-accent);
}

.ozd-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.ozd-footer-copyright {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.ozd-nav-footer {
  width: min(100% - 32px, var(--ozd-container));
  margin: 0 auto 18px;
}

.ozd-menu-footer {
  justify-content: center;
  gap: 8px 14px;
}

.ozd-menu-footer a {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
}

.ozd-menu-footer a:hover,
.ozd-menu-footer a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
  .ozd-site-footer {
    margin-top: 24px;
    padding-top: 18px;
    padding-bottom: calc(var(--ozd-player-height) + 34px);
  }

  .ozd-footer-inner,
  .ozd-nav-footer {
    width: min(100% - 24px, var(--ozd-container));
  }

  .ozd-footer-inner { grid-template-columns: 1fr; }
  .ozd-footer-links { grid-template-columns: 1fr; }

  .ozd-footer-col {
    padding: 16px;
    border-radius: 16px;
  }
}
