/* ============================================
   footer.css — Footer Component
   ============================================ */

.footer {
  background: var(--night-3);
  border-top: 2px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Brand */
.footer-logo {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--green-light);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-social { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.social-btn {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}

.social-btn:hover {
  border-color: var(--green-dark);
  color: var(--green-light);
}

/* Links columns */
.footer-links h4 {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.footer-links ul   { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a    { font-size: 1rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: 4px; }

/* Status mini */
.footer-status-mini h4 {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.mini-status { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }

.mini-dot {
  width: 10px;
  height: 10px;
  background: var(--stone);
  image-rendering: pixelated;
}

.mini-dot.online  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.mini-dot.offline { background: var(--red); }

.footer-ip { font-family: var(--font-pixel); font-size: 0.5rem; color: var(--green-light); margin-bottom: 0.75rem; }

.copy-ip-footer {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  background: var(--night-2);
  border: 2px solid var(--green-dark);
  color: var(--green-light);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-ip-footer:hover { background: var(--green-dark); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Templuxo credit */
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--green);
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.footer-credit a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px; right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-credit a:hover { color: var(--green-light); }
.footer-credit a:hover::after { transform: scaleX(1); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
