/* ==========================================
   SHARED SITE FOOTER
   ==========================================

   Every page uses this shared stylesheet for the footer
   (the exact dark glass bar from the homepage:
   brand, description, link columns, copyright & status badge).
   ========================================== */

.footer {
  margin-top: 80px;
  padding: 0 20px 40px;

  border-top: 1px solid #ffffff0d;
  background: #04091180;

  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  min-height: 100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: var(--muted, #91a7bd);
  font-size: 12px;
}

/* "Developed by Kervs for AcerSMP" sits above the panel */

.footer .developed-by {
  margin: 0 0 22px;
  padding-top: 26px;

  color: var(--muted, #91a7bd);

  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
}

.footer .developed-by strong {
  color: #8be0ff;
  font-weight: 800;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--text, #eff8ff);
}

.footer-brand .brand-name span {
  color: #38bdf8;
}

/* Logo size constraint */
.footer-brand img {
  max-width: 42px;
  max-height: 42px;
  width: auto;
  height: auto;
  margin-right: 4px;
  object-fit: contain;
}

.footer-description {
  max-width: 38ch;
  margin: 0;

  color: var(--muted, #91a7bd);

  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.footer-links a {
  min-height: 40px;

  display: inline-flex;
  align-items: center;

  color: var(--muted, #91a7bd);

  font-size: 13.5px;
  font-weight: 700;

  text-decoration: none;

  transition: color .2s ease;
}

.footer-links a:hover {
  color: #8be0ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.footer-bottom p {
  margin: 0;

  color: var(--muted, #91a7bd);

  font-size: 12.5px;
  font-weight: 600;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 5px 12px;

  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 999px;

  background: rgba(56, 189, 248, .07);

  color: #8be0ff;

  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Light theme ---------- */

body.light-theme .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(240, 246, 252, 0.88);
}

body.light-theme .footer .developed-by strong,
body.light-theme .footer-links a:hover {
  color: #0f5fa8;
}

body.light-theme .footer-status {
  background: rgba(56, 189, 248, .12);
  color: #0f5fa8;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 16px 0;
  }

  .footer-description {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--border, rgba(138, 207, 255, 0.13));
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer {
    margin-top: 40px;
    padding: 0 16px 30px;
  }

  .footer-inner {
    align-items: flex-start;
    text-align: left;
    padding: 14px 0;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-description {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 6px 16px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}
