.footer {
  position: relative;
  margin-top: 6rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(18px);
}

/* glow */
.footer-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(124, 92, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1150px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* left */
.footer-left {
  display: flex;
  align-items: center;
}

/* logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition:
    transform 0.35s ease,
    text-shadow 0.35s ease;
}

/* hover */
.footer-logo:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 16px rgba(124, 92, 255, 0.22);
}

/* image */
.footer-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

/* image hover */
.footer-logo:hover img {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(124, 92, 255, 0.22));
}

.footer-email {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.84rem;
  font-family: "DM Mono", monospace;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* underline */
.footer-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: linear-gradient(to right, var(--accent2), transparent);
  transition: width 0.35s ease;
}

/* hover */
.footer-email:hover {
  color: var(--accent2);
  transform: translateY(-2px);
}

/* expand underline */
.footer-email:hover::after {
  width: 100%;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem 1.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  letter-spacing: 0.05em;
  transition:
    color 0.3s ease,
    letter-spacing 0.3s ease;
}

.footer-bottom:hover {
  color: var(--text);
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .footer-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }
}
