/* ============================================================
   WOLSEONGAK — style.css v3
   배경 개선: 섹션 배경 밝히고 텍스트 대비 극대화
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0f0f1c;
  --bg-section: #131322;
  --bg-dark:   #0a0a16;
  --bg-card:   rgba(30, 30, 55, 0.95);
  --gold:      #e8c87a;
  --gold-dim:  rgba(232, 200, 122, 0.4);
  --gold-glow: rgba(232, 200, 122, 0.12);
  --text:      #f2ede3;
  --text-dim:  #c8c0ac;
  --blue:      #a8c4e0;
  --red:       #ff5c4d;
  --radius:    12px;
  --transition: 0.35s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif KR', serif;
  font-weight: 500;
  line-height: 1.85;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

/* ---------- UTILITY ---------- */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto;
}

.closed {
  color: #ff6b5b;
  font-weight: 700;
}

/* ---------- REVEAL ---------- */
/* reveal: 항상 보임 — 애니메이션 제거 */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}
body.js-ready .reveal {
  opacity: 1 !important;
  transform: none !important;
}
body.js-ready .reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition-delay: 0s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 10, 22, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gold-dim);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.logo-hanja { font-family: 'Cinzel Decorative', cursive; font-size: 1.15rem; color: var(--gold); letter-spacing: 0.05em; }
.logo-hangul { font-size: 0.78rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0.15em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  width: 100%; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, #181835 0%, #0c0c1e 55%, #08080f 100%);
  overflow: hidden;
}

.stars { position: absolute; inset: 0; }
.star {
  position: absolute; border-radius: 50%;
  background: #fff; opacity: 0;
  animation: starTwinkle linear infinite;
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.9; }
}

.moon-container { position: absolute; top: 10%; right: 18%; width: 160px; height: 160px; }
.moon { position: relative; width: 100%; height: 100%; border-radius: 50%; animation: moonPulse 8s ease-in-out infinite; }
.moon-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,200,122,0.22) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite;
}
.moon-surface {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #f5e6c8 0%, #dcc899 30%, #c4a96a 60%, #a08040 100%);
  box-shadow: 0 0 40px rgba(232,200,122,0.5), 0 0 90px rgba(232,200,122,0.2), inset -10px -8px 20px rgba(80,50,10,0.35);
}
@keyframes moonPulse {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.12); transform: scale(1.03); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.mist {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to top, rgba(8,8,15,0.98), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 20px;
  padding: 100px 24px 60px;
  width: 100%; max-width: 720px;
}

.hero-hanja {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  color: #f0d98a;
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(240,217,138,0.7), 0 0 70px rgba(240,217,138,0.3), 0 2px 4px rgba(0,0,0,0.9);
  line-height: 1;
}
.hero-hangul-title {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 600;
  color: #d4c9a8;
  letter-spacing: 0.6em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #b8cde8;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.cta-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 48px;
  border: 2px solid var(--gold);
  color: #f5f0e8;
  font-family: 'Noto Serif KR', serif;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.1em; border-radius: 2px;
  background: rgba(232,200,122,0.1);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.cta-btn:hover {
  background: rgba(232,200,122,0.22);
  box-shadow: 0 0 28px rgba(232,200,122,0.3);
  transform: translateY(-2px);
}
.cta-sub { font-size: 0.82rem; color: #ccc4b0; font-weight: 500; }

.reservation-box {
  width: 100%; max-width: 580px;
  background: rgba(15,15,32,0.9);
  border: 1px solid rgba(232,200,122,0.45);
  border-radius: var(--radius);
  padding: 22px 28px;
  backdrop-filter: blur(10px);
}
.reservation-title {
  font-size: 0.88rem; letter-spacing: 0.2em;
  color: var(--gold); font-weight: 700;
  margin-bottom: 12px;
}
.reservation-years {
  display: flex; flex-direction: column;
  gap: 6px; align-items: center;
  font-size: 1.05rem; font-weight: 700;
  color: #f2ede3; margin-bottom: 14px;
}
.year-item { white-space: nowrap; }
.reservation-notice {
  font-size: 0.95rem; color: #c8c0ac;
  font-weight: 600; line-height: 1.9;
}

.scroll-down {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  cursor: pointer; opacity: 0.5;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 90px 0;
  position: relative;
  background: var(--bg-section);
}
.section-dark {
  background: var(--bg-dark);
}
.section-dark::before,
.section-dark::after {
  content: '';
  display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  position: absolute; left: 0; right: 0;
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-hanja {
  display: block;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1rem; color: var(--gold);
  letter-spacing: 0.15em; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700; color: #f2ede3;
  letter-spacing: 0.04em; line-height: 1.5;
}
.section-subtitle {
  margin-top: 12px;
  font-size: 1.05rem; color: var(--blue);
  font-weight: 600; letter-spacing: 0.08em;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro-lead {
  text-align: center;
  margin-bottom: 48px;
}
.intro-highlight {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--gold); font-weight: 700;
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.intro-sub {
  font-size: 1.15rem; color: #f2ede3;
  font-weight: 600; line-height: 2.1;
}

.quote-box {
  border-left: 4px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 36px;
  position: relative; overflow: hidden;
}
.quote-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,200,122,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.quote-box p {
  font-size: 1.05rem; color: #f2ede3;
  line-height: 2.1; margin-bottom: 20px;
  font-weight: 500; position: relative;
}
.quote-box p:last-of-type { margin-bottom: 0; }
.quote-footer {
  display: block; margin-top: 26px;
  font-size: 1rem; color: var(--gold);
  font-weight: 700; letter-spacing: 0.1em;
  text-align: right; position: relative;
}

/* ============================================================
   TWIN PRAYER
   ============================================================ */
.twin-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: start;
  margin-bottom: 44px;
}

.twin-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
}
.twin-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(232,200,122,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.twin-card:hover {
  border-color: rgba(232,200,122,0.6);
  box-shadow: 0 8px 32px rgba(232,200,122,0.12);
  transform: translateY(-4px);
}

.twin-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.twin-name { font-size: 1.3rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 8px; }
.twin-attribute { font-size: 0.95rem; color: var(--blue); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 18px; }
.twin-desc {
  font-size: 1rem; color: #f2ede3;
  font-weight: 600; line-height: 2;
  position: relative;
}

.twin-divider {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 0 20px; padding-top: 40px;
}
.twin-divider-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
}
.twin-divider-symbol {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem; color: var(--gold); opacity: 0.7;
}

/* ============================================================
   JEONGSEONG
   ============================================================ */
.jeongseong-content p {
  font-size: 1.05rem; color: #f2ede3;
  line-height: 2.2; margin-bottom: 22px;
  font-weight: 500;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
/* 빨간 강조 단락 */
.jeong-highlight {
  font-size: 1.15rem !important;
  color: #ff6b5b !important;
  font-weight: 700 !important;
  line-height: 2.1;
  margin-bottom: 22px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  text-align: center;
  padding: 20px 24px;
  background: rgba(255, 107, 91, 0.07);
  border: 1px solid rgba(255, 107, 91, 0.3);
  border-radius: 8px;
}
.jeong-highlight strong {
  font-size: 1.3em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.jeongseong-content .quote-box {
  max-width: 680px; margin: 8px auto 0;
}
.jeongseong-content .quote-box p { color: #f2ede3; margin-bottom: 0; }

/* ============================================================
   PRAY
   ============================================================ */
.pray-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 720px; margin: 0 auto;
}

.pray-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  position: relative; overflow: hidden;
}
.pray-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(232,200,122,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.pray-card-online { border-color: rgba(232,200,122,0.5); }
.pray-card-online:hover {
  box-shadow: 0 8px 32px rgba(232,200,122,0.15);
  border-color: var(--gold);
}

.pray-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #0a0a16;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; padding: 3px 12px;
  border-radius: 20px;
}
.pray-card-title {
  font-size: 1.2rem; font-weight: 700;
  color: #f2ede3; margin-bottom: 14px;
  letter-spacing: 0.05em; position: relative;
}
.pray-card-desc {
  font-size: 0.97rem; color: #c8c0ac;
  font-weight: 500; line-height: 2;
  margin-bottom: 26px; position: relative;
}
.pray-btn {
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Noto Serif KR', serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.12em; border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.pray-btn:hover {
  background: rgba(232,200,122,0.14);
  box-shadow: 0 0 20px rgba(232,200,122,0.2);
  transform: translateY(-2px);
}

.offline-status {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; position: relative;
}
.closed-badge {
  display: inline-block;
  background: rgba(255,92,77,0.15);
  border: 1px solid rgba(255,92,77,0.5);
  color: var(--red); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 18px; border-radius: 20px;
}
.offline-notice {
  font-size: 0.92rem; color: #c8c0ac; font-weight: 500;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(6px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: #111125;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 40px 36px; max-width: 440px; width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none;
  color: var(--text-dim); font-size: 1.2rem;
  cursor: pointer; transition: color var(--transition);
}
.modal-close:hover { color: var(--gold); }

.modal-title {
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.modal-notice-box {
  background: rgba(232,200,122,0.1);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 20px; text-align: center;
  margin: 16px 0 20px;
}
.modal-notice-main {
  font-size: 1.25rem; font-weight: 700;
  color: #f2ede3; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.modal-notice-sub {
  font-size: 0.9rem; color: #c8c0ac; font-weight: 500;
}

.modal-text {
  font-size: 0.95rem; color: #c8c0ac;
  margin: 0 0 10px; line-height: 1.8; font-weight: 500;
}
.modal-list {
  list-style: disc; padding-left: 20px; margin-bottom: 20px;
}
.modal-list li {
  font-size: 1rem; color: #f2ede3;
  font-weight: 500; line-height: 2;
}
.modal-contact {
  background: rgba(232,200,122,0.07);
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 20px; text-align: center;
  margin-bottom: 20px;
}
.modal-phone-label {
  font-size: 0.82rem; color: #c8c0ac;
  letter-spacing: 0.18em; margin-bottom: 8px; font-weight: 600;
}
.modal-phone {
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.1em;
}
.modal-close-btn {
  width: 100%; padding: 13px;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: #c8c0ac;
  font-family: 'Noto Serif KR', serif;
  font-size: 0.97rem; font-weight: 600;
  letter-spacing: 0.1em; border-radius: 4px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.modal-close-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-box {
  max-width: 580px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius); overflow: hidden;
}
.contact-item {
  display: flex; gap: 24px;
  padding: 26px 32px; align-items: flex-start;
}
.contact-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 24px;
}
.contact-label {
  font-size: 0.85rem; letter-spacing: 0.18em;
  color: var(--gold); font-weight: 700;
  min-width: 76px; padding-top: 2px; flex-shrink: 0;
}
.contact-value {
  font-size: 1.05rem; color: #f2ede3;
  font-weight: 600; line-height: 1.9;
}
.contact-value small {
  font-size: 0.88rem; color: #c8c0ac; font-weight: 500;
}

/* ============================================================
   PROFILE CARDS (소개 섹션 자매 사진)
   ============================================================ */
.profile-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin: 48px 0;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-img-wrap {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-dim);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,200,122,0.1);
  position: relative;
}
.profile-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,10,20,0.6) 100%);
  pointer-events: none;
}
.profile-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.profile-card:hover .profile-img-wrap img {
  transform: scale(1.03);
}

.profile-info {
  text-align: center;
}
.profile-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.profile-name {
  font-size: 1.25rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.profile-role {
  font-size: 0.9rem; color: var(--blue);
  font-weight: 600; letter-spacing: 0.1em;
}

.profile-divider {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 0 24px;
  padding-top: 60px;
}
.profile-divider-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
}
.profile-divider-sym {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem; color: var(--gold); opacity: 0.6;
}

/* ============================================================
   SSANGGIDO IMAGE (쌍기도 섹션 합성 사진)
   ============================================================ */
.ssanggido-img-wrap {
  margin-top: 44px;
  text-align: center;
}
.ssanggido-img-wrap img {
  width: 100%; max-width: 760px;
  border-radius: 12px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 12px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,200,122,0.08);
  display: block; margin: 0 auto;
}
.ssanggido-caption {
  margin-top: 14px;
  font-size: 0.9rem; color: var(--text-dim);
  font-weight: 500; letter-spacing: 0.06em;
  font-style: italic;
}

/* 모바일 */
@media (max-width: 768px) {
  .profile-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-divider {
    flex-direction: row;
    padding: 0; gap: 12px;
  }
  .profile-divider-line {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  }
  .profile-img-wrap { max-width: 260px; }
}
#footer {
  background: #07070f;
  border-top: 1px solid rgba(232,200,122,0.2);
  padding: 56px 24px 40px; text-align: center;
}
.footer-inner {
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.footer-hanja {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem; color: var(--gold); letter-spacing: 0.1em;
}
.footer-hangul {
  font-size: 0.78rem; color: var(--text-dim);
  letter-spacing: 0.35em; font-weight: 600;
}
.footer-gold-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.footer-copy { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.08em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  html { font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: 220px;
    background: rgba(8,8,20,0.98);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--gold-dim);
    backdrop-filter: blur(16px); z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(232,200,122,0.1);
  }

  .moon-container { width: 100px; height: 100px; top: 12%; right: 8%; }
  .hero-content { padding: 90px 20px 50px; gap: 18px; }

  .section { padding: 70px 0; }

  .twin-cards { grid-template-columns: 1fr; gap: 16px; }
  .twin-divider {
    flex-direction: row; padding: 4px 0; gap: 8px;
  }
  .twin-divider-line {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  }

  .pray-cards { grid-template-columns: 1fr; max-width: 400px; }

  .quote-box { padding: 24px 20px; }
  .quote-box p { font-size: 0.97rem; }

  .contact-item { flex-direction: column; gap: 4px; padding: 20px 20px; }
  .contact-label { min-width: unset; }

  .modal { padding: 32px 22px; }
  .modal-phone { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .hero-hanja { font-size: 3.2rem; }
  .section-title { font-size: 1.4rem; }
  .twin-card, .pray-card { padding: 28px 18px; }
  .reservation-box { padding: 18px 20px; }
}

/* ============================================================
   JEONGSONG ITEMS (버선 + 부적)
   ============================================================ */
.jeongsong-items {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 52px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.jeongsong-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.jeongsong-img-wrap {
  width: 100%; max-width: 280px;
  aspect-ratio: 1/1; border-radius: 16px;
  overflow: hidden; border: 1px solid var(--gold-dim);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  background: #0a0a18;
}
.jeongsong-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.jeongsong-item:hover .jeongsong-img-wrap img { transform: scale(1.05); }
.jeongsong-label { text-align: center; }
.jeongsong-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.jeongsong-name {
  font-size: 1.3rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.1em; margin-bottom: 10px;
}
.jeongsong-desc {
  font-size: 0.92rem; color: var(--text-dim);
  font-weight: 500; line-height: 1.9;
}
.jeongsong-plus {
  font-size: 2.5rem; color: var(--gold);
  font-weight: 300; opacity: 0.7;
  padding: 0 28px; text-align: center;
  align-self: center; padding-bottom: 56px;
}
@media (max-width: 768px) {
  .jeongsong-items { grid-template-columns: 1fr; gap: 12px; }
  .jeongsong-plus { font-size: 2rem; padding: 4px 0; }
  .jeongsong-img-wrap { max-width: 240px; }
}

/* ============================================================
   BAL HIGHLIGHT — 발 강조 동적 블록
   ============================================================ */
.bal-highlight {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 36px 28px;
  background: rgba(255, 107, 91, 0.07);
  border: 1px solid rgba(255, 107, 91, 0.3);
  border-radius: 8px;
  text-align: center;
}

.bal-line1, .bal-line2, .bal-line3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ff6b5b !important;
  line-height: 2;
  margin: 0;
}

.bal-punchline {
  margin-top: 20px;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ff6b5b !important;
  line-height: 1.4;
}

@keyframes balPulse {
  0%   { transform: scale(1);    text-shadow: 0 0 20px rgba(255,107,91,0.4); }
  50%  { transform: scale(1.18); text-shadow: 0 0 36px rgba(255,107,91,0.8); }
  100% { transform: scale(1);    text-shadow: 0 0 20px rgba(255,107,91,0.4); }
}

@media (max-width: 480px) {
  .bal-word { font-size: 2rem; }
  .bal-punchline { font-size: 1.35rem; }
}
