/* ════════════════════════════════════════════
   메이플 플래닛 고성능 확성기 - Footer + Modal
   footer.css
════════════════════════════════════════════ */

/* ── 푸터 ── */
#site-footer {
  flex-shrink: 0;
  background: rgba(0, 4, 14, 0.80);
  border-top: 1px solid rgba(255, 215, 0, 0.18);
  padding: 0 14px;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 0;
  backdrop-filter: blur(6px);
}

.footer-link {
  font-size: 10px;
  color: rgba(232, 234, 240, 0.38);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans KR', sans-serif;
  padding: 0 10px;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  text-decoration: none;
  line-height: 30px;
  white-space: nowrap;
}
.footer-link:hover {
  color: rgba(255, 215, 0, 0.75);
}

.footer-divider {
  width: 1px;
  height: 10px;
  background: rgba(255, 215, 0, 0.18);
  flex-shrink: 0;
}

.footer-copy {
  margin-left: auto;
  font-size: 9px;
  color: rgba(232, 234, 240, 0.20);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── 모달 오버레이 ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 4, 16, 0.82);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}

/* ── 모달 박스 ── */
.modal-box {
  position: relative;
  width: min(560px, 92vw);
  max-height: 78vh;
  background: linear-gradient(160deg, rgba(0, 12, 32, 0.97), rgba(20, 4, 4, 0.97));
  border: 1px solid rgba(255, 215, 0, 0.38);
  border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 215, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

/* 모달 헤더 */
.modal-hdr {
  display: flex;
  align-items: center;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
  flex-shrink: 0;
}
.modal-hdr-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.modal-hdr-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-left: 8px;
}
.modal-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(232, 234, 240, 0.4);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  font-family: monospace;
}
.modal-close:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.10);
}

/* 모달 바디 */
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 22px;
  font-size: 12px;
  color: rgba(232, 234, 240, 0.75);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.modal-body::-webkit-scrollbar { width: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.22); border-radius: 2px; }

.modal-body h3 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.80);
  margin: 16px 0 6px;
  letter-spacing: 0.05em;
  border-left: 2px solid rgba(255, 215, 0, 0.45);
  padding-left: 8px;
}
.modal-body h3:first-child { margin-top: 0; }

.modal-body p {
  margin-bottom: 6px;
  color: rgba(232, 234, 240, 0.68);
}

.modal-body a {
  color: rgba(100, 180, 255, 0.85);
  text-decoration: none;
}
.modal-body a:hover {
  text-decoration: underline;
  color: #7ec8ff;
}

/* 문의 박스 */
.contact-box {
  margin-top: 12px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.contact-email {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
