  footer {
      position: relative;
      z-index: 1;
width: 100%;
      background: linear-gradient(to bottom, transparent, rgba(61,43,14,0.06));
      border-top: 1px solid rgba(201,168,76,0.25);
      padding: 36px 24px 24px;
      text-align: center;
  margin-top: auto;
    }

/* ── Social media label ── */
.footer-socials-title {
  font-family: 'Amiri', serif;
  font-size: 0.9rem;
  color: var(--brown-light);
  opacity: 0.7;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

/* ── Social icons row — spread full width ── */
.footer-socials {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.10);
  border: 1.5px solid rgba(201,168,76,0.35);
  color: var(--brown-light);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Footer divider ── */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-divider-line {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent);
}

.footer-divider-gem {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
  opacity: 0.6;
}

/* ── Developer credit ── */
.footer-credit {
  font-size: 0.82rem;
  color: var(--brown-light);
  opacity: 0.75;
  line-height: 1.8;
}

.footer-credit a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(139,105,20,0.4);
  transition: color 0.2s, border-color 0.2s;
}

.footer-credit a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--brown-light);
  opacity: 0.5;
  margin-top: 6px;
}

/* ── Mobile: allow wrap on very small screens ── */
@media (max-width: 400px) {
  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}