/* ============================================
   THE BUNKER PROJECT — White Theme v3
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #ffffff;
  --off-white:   #f9f8f6;
  --warm-white:  #faf9f7;
  --gray-50:     #fafafa;
  --gray-100:    #f4f4f2;
  --gray-200:    #e8e6e2;
  --gray-300:    #ccc9c3;
  --gray-400:    #9e9b94;
  --gray-500:    #6e6b64;
  --gray-700:    #3a3835;
  --gray-900:    #1c1b18;
  --black:       #111111;

  --accent:      #7a5c2e;
  --accent-lt:   #b8924a;
  --accent-bg:   #fdf6ea;
  --accent-pale: #f5efe3;

  --font-kr:  'Noto Sans KR', sans-serif;
  --font-en:  'Playfair Display', serif;

  --nav-h:    72px;
  --radius:   14px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 4px rgba(0,0,0,.05);
  --shadow-sm: 0 3px 12px rgba(0,0,0,.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
  --t:         .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-kr);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
/* ── 감성 스크롤바 ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(184,146,74,.0) 0%,
    rgba(184,146,74,.45) 30%,
    rgba(122,92,46,.7)  60%,
    rgba(184,146,74,.45) 85%,
    rgba(184,146,74,.0) 100%
  );
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(184,146,74,.0) 0%,
    rgba(184,146,74,.7) 25%,
    rgba(122,92,46,.95) 55%,
    rgba(184,146,74,.7) 80%,
    rgba(184,146,74,.0) 100%
  );
}
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: rgba(122,92,46,.45) transparent; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  border-radius: 0;
  background: transparent;   /* 기본: 완전 투명 */
  transition: background .5s cubic-bezier(.4,0,.2,1),
              box-shadow .5s cubic-bezier(.4,0,.2,1),
              backdrop-filter .5s ease;
}
/* 스크롤 후: 부드러운 반투명 블러 바 */
#navbar.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  border-radius: 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-logo .logo-scrolled { display: none; opacity: 0; transition: opacity .4s ease; }
.nav-logo .logo-default   { opacity: 1;  transition: opacity .4s ease; }
#navbar.scrolled .nav-logo .logo-default  { display: none; opacity: 0; }
#navbar.scrolled .nav-logo .logo-scrolled { display: block; opacity: 1; }

/* 링크 */
.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  display: block; padding: .45rem .72rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
  transition: color var(--t), text-shadow var(--t);
}
#navbar.scrolled .nav-links a {
  color: var(--gray-700);
  text-shadow: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* 우측 영역: SNS + 예약버튼 + 햄버거 */
.nav-right {
  display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
}

/* NAV SNS 아이콘 — 메뉴 우측 심플 아이콘 */
.nav-sns {
  display: flex; align-items: center; gap: .15rem;
}
.nav-sns-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  transition: color var(--t), background var(--t), text-shadow var(--t);
}
.nav-sns-icon svg { display: block; filter: drop-shadow(0 1px 4px rgba(0,0,0,.3)); }
.nav-sns-icon:hover { color: #fff; background: rgba(255,255,255,.18); }
#navbar.scrolled .nav-sns-icon { color: var(--gray-500); text-shadow: none; }
#navbar.scrolled .nav-sns-icon svg { filter: none; }
#navbar.scrolled .nav-sns-icon:hover { color: var(--gray-900); background: var(--gray-100); }
/* 인스타 hover */
.nav-sns-icon.insta-icon:hover { color: #e1306c; background: rgba(225,48,108,.1); }
#navbar.scrolled .nav-sns-icon.insta-icon:hover { color: #e1306c; background: rgba(225,48,108,.08); }
/* 네이버 hover */
.nav-sns-icon.naver-icon:hover { color: #03c75a; background: rgba(3,199,90,.1); }
#navbar.scrolled .nav-sns-icon.naver-icon:hover { color: #03c75a; background: rgba(3,199,90,.08); }

/* 예약 문의 버튼 */
.nav-reserve-btn {
  padding: .5rem 1.15rem;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
}
.nav-reserve-btn:hover { background: var(--accent-lt); transform: translateY(-1px); }

/* 예약 버튼 — 투명 네비에서도 잘 보이게 */
.nav-reserve-btn {
  /* 기존 accent 배경 유지 but 투명 nav 위에서 더 뚜렷하게 */
  box-shadow: 0 2px 12px rgba(122,92,46,.35);
}

/* 햄버거 */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 26px; padding: 3px 0; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: var(--t);
}
#navbar.scrolled .hamburger span { background: var(--gray-700); box-shadow: none; }

/* ============================================
   MOBILE DRAWER
   ============================================ */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
}
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,12,8,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.drawer-panel {
  position: absolute; top: 0; right: 0;
  width: min(320px, 88vw); height: 100%;
  /* 반블러 반투명 패널 */
  background: rgba(255,254,250,.72);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-left: 1px solid rgba(255,255,255,.6);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.nav-drawer.open            { display: block; }
.nav-drawer.open .drawer-panel { transform: translateX(0); }

/* 드로어 열릴 때 메뉴 아이템 stagger */
.nav-drawer.open .drawer-link {
  animation: drawerItemIn .38s cubic-bezier(.4,0,.2,1) both;
}
.nav-drawer.open .drawer-links li:nth-child(1) .drawer-link { animation-delay: .08s; }
.nav-drawer.open .drawer-links li:nth-child(2) .drawer-link { animation-delay: .12s; }
.nav-drawer.open .drawer-links li:nth-child(3) .drawer-link { animation-delay: .16s; }
.nav-drawer.open .drawer-links li:nth-child(4) .drawer-link { animation-delay: .20s; }
.nav-drawer.open .drawer-links li:nth-child(5) .drawer-link { animation-delay: .24s; }
.nav-drawer.open .drawer-links li:nth-child(6) .drawer-link { animation-delay: .28s; }
.nav-drawer.open .drawer-links li:nth-child(7) .drawer-link { animation-delay: .32s; }
.nav-drawer.open .drawer-links li:nth-child(8) .drawer-link { animation-delay: .36s; }
@keyframes drawerItemIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Drawer 헤더 */
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
  min-height: 64px;
  background: rgba(255,255,255,.3);
}
.drawer-logo {
  display: flex; align-items: center;
  overflow: hidden;
  max-width: calc(100% - 52px);
}
.drawer-logo img {
  height: 26px; width: auto; display: block;
  max-width: 100%; object-fit: contain;
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--gray-500); font-size: .95rem;
  background: rgba(0,0,0,.04);
  transition: background var(--t), color var(--t);
}
.drawer-close:hover { background: rgba(122,92,46,.12); color: var(--accent); }

/* Drawer 메뉴 */
.drawer-links {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding: .6rem 0;
  /* 드로어 내부 스크롤바도 감성적으로 */
  scrollbar-width: thin;
  scrollbar-color: rgba(122,92,46,.25) transparent;
}
.drawer-links::-webkit-scrollbar { width: 3px; }
.drawer-links::-webkit-scrollbar-thumb { background: rgba(122,92,46,.3); border-radius: 99px; }
.drawer-links li { }
.drawer-link {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.5rem;
  font-size: .93rem; font-weight: 500;
  color: var(--gray-700);
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
  border-left: 2.5px solid transparent;
  letter-spacing: .01em;
}
.drawer-link:hover {
  background: rgba(122,92,46,.07);
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 1.8rem;
}
.drawer-link-reserve {
  color: var(--accent); font-weight: 700;
}
.drawer-link-reserve:hover { background: rgba(122,92,46,.08); }
.dl-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(0,0,0,.05);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--gray-500);
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.drawer-link:hover .dl-icon {
  background: var(--accent-pale);
  color: var(--accent);
}
.drawer-link-reserve .dl-icon {
  background: var(--accent-pale); color: var(--accent);
}
.dl-text { font-size: .93rem; }

/* Drawer 풋터 */
.drawer-footer {
  flex-shrink: 0;
  padding: 1.2rem 1.5rem 1.6rem;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.25);
}
.drawer-sns {
  display: flex; gap: .6rem; margin-bottom: .8rem;
}
.drawer-sns a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--gray-500);
  transition: all .25s ease;
  backdrop-filter: blur(4px);
}
.drawer-sns a:hover { border-color: var(--accent); color: var(--accent); background: rgba(122,92,46,.08); transform: translateY(-2px); }
.drawer-copy {
  font-size: .7rem; color: var(--gray-400); letter-spacing: .07em;
  font-family: var(--font-en);
}

/* ============================================
   SECTION BASE
   ============================================ */
.section { padding: 110px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400; line-height: 1.15;
  color: var(--gray-900); margin-bottom: 1rem;
}
.section-title-kr {
  font-family: var(--font-kr);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 300; letter-spacing: -.02em;
}
.section-desc {
  font-size: .93rem; color: var(--gray-500);
  max-width: 520px; line-height: 1.85;
}
.section-divider {
  width: 36px; height: 1.5px;
  background: var(--accent); margin: 1.1rem 0;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative; height: 100vh; min-height: 720px;
  margin-top: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero-bg {
  position: absolute; inset: 0;
  background: url('../images/jac_water_night.jpg') center/cover no-repeat;
  transform: scale(1.06);
  transition: transform 10s ease;
  will-change: transform;
}
#hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.4) 60%,
    rgba(0,0,0,.65) 100%
  );
}
#hero.loaded #hero-bg { transform: scale(1); }

.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 0 1.5rem;
  max-width: 720px;
}
.hero-logo-emblem {
  width: 78px; margin: 0 auto 2rem;
  opacity: 0; animation: fadeUp .9s .2s forwards;
}
.hero-logo-emblem img {
  filter: brightness(0) invert(1);
  width: 100%;
}
.hero-tag {
  display: block;
  font-family: var(--font-en);
  font-size: .65rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp .9s .4s forwards;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400; line-height: 1.06;
  color: #fff; letter-spacing: .04em;
  opacity: 0; animation: fadeUp .9s .6s forwards;
}
.hero-title-kr {
  display: block;
  font-family: var(--font-kr);
  font-size: clamp(.9rem, 1.8vw, 1.2rem);
  font-weight: 300; letter-spacing: .16em;
  color: rgba(255,255,255,.72); margin-top: .7rem;
}
.hero-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,.4);
  margin: 1.8rem auto;
  opacity: 0; animation: fadeUp .9s .8s forwards;
}
.hero-desc {
  font-size: .92rem; color: rgba(255,255,255,.68);
  line-height: 1.95; margin-bottom: 2.2rem;
  opacity: 0; animation: fadeUp .9s 1s forwards;
}
.hero-btns {
  display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s 1.2s forwards;
}
.btn-primary {
  padding: .85rem 2.4rem;
  background: var(--accent);
  color: #fff; border-radius: 40px;
  font-size: .88rem; font-weight: 600; letter-spacing: .04em;
  transition: background var(--t), transform var(--t);
  box-shadow: 0 4px 20px rgba(122,92,46,.4);
}
.btn-primary:hover { background: var(--accent-lt); transform: translateY(-2px); }
.btn-outline {
  padding: .85rem 2.4rem;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff; border-radius: 40px;
  font-size: .88rem; font-weight: 400;
  transition: border-color var(--t), background var(--t);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .6rem; letter-spacing: .16em;
  animation: scrollPulse 2.2s infinite;
  z-index: 2;
}

/* ============================================
   POPUP / NOTICE MODAL
   ============================================ */
.popup-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.popup-overlay.active { display: flex; }
/* ── 팝업 박스 ── */
.popup-box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 480px; width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  animation: popupIn .45s cubic-bezier(.34,1.4,.64,1);
}

/* X 닫기 버튼 */
.popup-x-btn {
  position: absolute; top: .9rem; right: .9rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: background var(--t), color var(--t);
  z-index: 10;
}
.popup-x-btn:hover { background: var(--gray-900); color: #fff; }

/* 헤더 */
.popup-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.popup-logo {
  height: 32px; width: auto; object-fit: contain; flex-shrink: 0;
}
.popup-sub {
  font-size: .75rem; color: var(--gray-400);
  margin-bottom: .18rem; line-height: 1;
}
.popup-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--gray-900); line-height: 1.2;
  letter-spacing: -.02em;
}
.popup-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.popup-title em::after {
  content: '!!';
  color: var(--accent);
}

/* 6칸 그리드 */
.popup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-100);
}
.popup-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: default;
}
.popup-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.popup-item:hover img { transform: scale(1.06); }
.popup-item span {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .5rem .5rem .4rem;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
}

/* 안내 문구 */
.popup-notice {
  padding: .65rem 1.4rem;
  font-size: .72rem; color: var(--gray-500);
  line-height: 1.6;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.popup-notice strong { color: var(--accent); font-weight: 700; }

/* 하단 푸터 */
.popup-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.4rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.popup-dont-show {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: var(--gray-400); cursor: pointer;
}
.popup-dont-show input { cursor: pointer; accent-color: var(--accent); }
.popup-close-btn {
  padding: .5rem 1.3rem;
  background: var(--gray-900); color: #fff;
  border-radius: 24px; font-size: .82rem; font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.popup-close-btn:hover { background: var(--accent); transform: translateY(-1px); }

/* ============================================
   ABOUT
   ============================================ */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.about-tag {
  padding: .28rem .85rem;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 20px;
  font-size: .76rem; font-weight: 500;
}
.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 290px 200px;
  gap: .7rem;
}
.about-img-main { grid-column: 1/-1; border-radius: var(--radius); overflow: hidden; }
.about-img-sub  { border-radius: var(--radius); overflow: hidden; }
.about-img-main img,
.about-img-sub  img { height: 100%; transition: transform .7s ease; }
.about-img-main:hover img,
.about-img-sub:hover img { transform: scale(1.05); }

/* ============================================
   FACILITIES
   ============================================ */
#facilities { background: var(--off-white); }
.facilities-header { text-align: center; margin-bottom: 3.5rem; }
.facilities-header .section-divider { margin: 1rem auto; }
.facilities-header .section-desc { margin: 0 auto; }
.facilities-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem;
}
.fac-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.fac-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fac-card-img { height: 230px; overflow: hidden; }
.fac-card-img img { height: 100%; transition: transform .7s ease; }
.fac-card:hover .fac-card-img img { transform: scale(1.07); }
.fac-card-body { padding: 1.3rem 1.5rem 1.6rem; }
.fac-card-body h3 { font-size: .98rem; font-weight: 700; margin-bottom: .4rem; }
.fac-card-body p  { font-size: .83rem; color: var(--gray-400); line-height: 1.75; }

/* ============================================
   GALLERY
   ============================================ */
#gallery { background: var(--white); }
.gallery-header { text-align: center; margin-bottom: 2.5rem; }
.gallery-header .section-divider { margin: 1rem auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 210px;
  gap: .5rem;
}
.gal-item {
  border-radius: 8px; overflow: hidden; cursor: pointer;
  position: relative;
}
.gal-item img { height: 100%; transition: transform .55s ease; }
.gal-item:hover img { transform: scale(1.08); }
.gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .6rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: .74rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gal-item:hover .gal-caption { transform: translateY(0); }
.gal-wide { grid-column: span 2; }
.gal-tall { grid-row: span 2; }

/* ============================================
   PRICING — 감성 디자인
   ============================================ */
#pricing { background: var(--warm-white); }
.pricing-header { text-align: center; margin-bottom: 3.5rem; }
.pricing-header .section-divider { margin: 1rem auto; }

/* 감성 소개 문구 */
.pricing-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-intro-text {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--gray-500);
  font-style: italic;
  letter-spacing: .02em;
  line-height: 1.9;
}
.pricing-intro-kr {
  font-size: .88rem;
  color: var(--gray-400);
  margin-top: .5rem;
  letter-spacing: .02em;
}

/* 요금 카드 */
.pricing-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.4rem; margin-bottom: 2.5rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.pricing-card:hover { border-color: var(--accent-lt); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--accent); }

.pricing-card-header {
  padding: 1.6rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.pricing-card-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-pale); padding: .22rem .65rem;
  border-radius: 20px; margin-bottom: .7rem;
}
.pricing-card-header h3 {
  font-family: var(--font-en);
  font-size: 1.35rem; font-weight: 400;
  color: var(--gray-900); margin-bottom: .2rem;
}
.pricing-card-header .room-sub {
  font-size: .78rem; color: var(--gray-400);
}

.pricing-card-body { padding: 1.2rem 1.8rem 1.6rem; }
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-50);
  font-size: .88rem;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .r-label { color: var(--gray-500); }
.pricing-row .r-price { font-weight: 700; color: var(--gray-900); }
.pricing-row .r-price.highlight {
  color: var(--accent);
  font-size: 1.05rem;
  font-family: var(--font-en);
}

/* 할인 박스 */
.discount-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 1.6rem 2rem;
  margin-bottom: 2rem;
}
.discount-wrap-title {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 1rem;
  font-family: var(--font-en);
}
.discount-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.discount-item {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .9rem 1rem;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
}
.discount-num {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: var(--accent);
  color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
}
.discount-text h4 { font-size: .87rem; font-weight: 700; color: var(--gray-900); }
.discount-text p  { font-size: .78rem; color: var(--gray-500); margin-top: .15rem; }

/* 서비스 아이콘 */
.service-section { margin-bottom: 2rem; }
.service-section-title {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 1rem;
  font-family: var(--font-en);
}
.service-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: .8rem;
}
.service-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem .8rem;
  text-align: center;
  transition: border-color var(--t), transform var(--t);
}
.service-item:hover { border-color: var(--accent-lt); transform: translateY(-3px); }
.service-item .si-icon {
  font-size: 1.3rem; margin-bottom: .4rem;
  color: var(--accent);
}
.service-item h4 { font-size: .75rem; font-weight: 600; color: var(--gray-700); line-height: 1.3; }
.service-item p  { font-size: .68rem; color: var(--gray-400); margin-top: .2rem; }

/* 추가 요금 */
.extra-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
}
.extra-box-title {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: .8rem;
  font-family: var(--font-en);
}
.extra-list { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.extra-list li {
  padding: .3rem .85rem;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: .8rem; color: var(--gray-700);
  transition: background var(--t);
}
.extra-list li:hover { background: var(--accent-pale); color: var(--accent); }

/* ============================================
   NOTICE (이용안내)
   ============================================ */
#notice { background: var(--white); }
.notice-header { text-align: center; margin-bottom: 3rem; }
.notice-header .section-divider { margin: 1rem auto; }

.notice-accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem .4rem;
  font-size: .93rem; font-weight: 600; color: var(--gray-900);
  text-align: left; transition: color var(--t);
}
.accordion-btn:hover { color: var(--accent); }
.accordion-btn .acc-icon { font-size: 1rem; color: var(--gray-400); transition: transform var(--t); }
.accordion-btn.active .acc-icon { transform: rotate(45deg); color: var(--accent); }
.accordion-body {
  display: none; padding: 0 .4rem 1.3rem;
  font-size: .86rem; color: var(--gray-500); line-height: 1.9;
}
.accordion-body.open { display: block; }
.accordion-body ul { list-style: none; }
.accordion-body ul li {
  padding: .22rem 0 .22rem 1.1rem;
  position: relative;
}
.accordion-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-size: .7rem; top: .35rem; }

.notice-agreement-wrap {
  max-width: 800px; margin: 2.5rem auto 0;
  padding: 1.4rem 1.8rem;
  background: var(--accent-pale);
  border-radius: var(--radius);
  border: 1px solid rgba(122,92,46,.15);
  display: flex; align-items: flex-start; gap: .9rem;
}
.notice-agreement-wrap i { font-size: 1.2rem; color: var(--accent); margin-top: .15rem; flex-shrink: 0; }
.notice-agreement-wrap p { font-size: .86rem; color: var(--gray-700); line-height: 1.75; }
.notice-agreement-wrap strong { color: var(--accent); }

/* ============================================
   RESERVATION
   ============================================ */
#reservation { background: var(--off-white); }
.reservation-header { text-align: center; margin-bottom: 3rem; }
.reservation-header .section-divider { margin: 1rem auto; }

.reservation-wrap {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 2.5rem; align-items: start;
}

/* Ddnayo iframe calendar */
.calendar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cal-iframe-wrap {
  width: 100%;
  min-height: 480px;
}
.cal-iframe-wrap iframe {
  width: 100%; min-height: 480px; border: none;
  display: block;
}
.cal-iframe-notice {
  padding: 1rem 1.4rem;
  background: var(--accent-pale);
  border-top: 1px solid rgba(122,92,46,.12);
  font-size: .78rem; color: var(--gray-500); line-height: 1.7;
}
.cal-iframe-notice strong { color: var(--accent); }

/* Side */
.reservation-side { display: flex; flex-direction: column; gap: 1.2rem; }
.res-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.res-info-card h4 {
  font-size: .85rem; font-weight: 700; color: var(--gray-700);
  margin-bottom: .9rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: .5rem;
}
.res-info-card h4 i { color: var(--accent); }
.res-info-row {
  display: flex; justify-content: space-between;
  padding: .42rem 0; font-size: .84rem;
  border-bottom: 1px solid var(--gray-50);
}
.res-info-row:last-child { border-bottom: none; }
.res-info-row .r-label { color: var(--gray-400); }
.res-info-row .r-val   { font-weight: 600; color: var(--gray-900); }

.contact-card {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.contact-card h4 { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; }
.contact-btn {
  display: flex; align-items: center; gap: .75rem;
  padding: .82rem 1rem; border-radius: 10px;
  font-size: .88rem; font-weight: 600; color: #fff;
  margin-bottom: .65rem;
  transition: transform var(--t), opacity var(--t);
}
.contact-btn:hover { transform: translateX(4px); opacity: .9; }
.contact-btn.kakao { background: #FEE500; color: #3C1E1E; }
.contact-btn.instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-btn.phone   { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.contact-btn i { font-size: 1.05rem; }
.contact-note { font-size: .73rem; color: rgba(255,255,255,.38); margin-top: .9rem; line-height: 1.8; }

/* ============================================
   CONTACT
   ============================================ */
#contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.contact-map-wrap {
  border-radius: var(--radius); overflow: hidden;
  height: 380px; box-shadow: var(--shadow-md);
  background: var(--gray-200);
}
.map-placeholder {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--gray-400); gap: .8rem;
}
.map-placeholder i { font-size: 2.5rem; }
.contact-map-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-info h3 { font-family: var(--font-en); font-size: 1.8rem; font-weight: 400; margin-bottom: 1.4rem; }
.contact-info-list { list-style: none; margin-bottom: 2rem; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .75rem 0; border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.contact-info-list li i { color: var(--accent); width: 18px; margin-top: .15rem; flex-shrink: 0; }
.contact-sns-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.sns-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border: 1.5px solid var(--gray-200);
  border-radius: 40px; font-size: .82rem; color: var(--gray-700);
  transition: var(--t);
}
.sns-link:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 0 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer-logo img { height: 26px; margin-bottom: .8rem; }
.footer-logo p { font-size: .78rem; color: rgba(255,255,255,.38); line-height: 1.9; }
.footer-links h5, .footer-contact h5 {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: .4rem; }
.footer-links ul li a { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-links ul li a:hover { color: var(--accent-lt); }
.footer-contact p { font-size: .82rem; line-height: 2; color: rgba(255,255,255,.55); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .76rem; color: rgba(255,255,255,.25);
}
.footer-sns { display: flex; gap: .8rem; }
.footer-sns a { color: rgba(255,255,255,.35); font-size: .95rem; transition: color var(--t); }
.footer-sns a:hover { color: var(--accent-lt); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.96);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lb-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: rgba(255,255,255,.6); font-size: 1.8rem; cursor: pointer;
  transition: color var(--t);
}
.lb-close:hover { color: #fff; }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.5); font-size: 2rem; cursor: pointer; padding: 1rem;
  transition: color var(--t);
}
.lb-arrow:hover { color: #fff; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .8rem; text-align: center;
}

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 890;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: .55rem 0 .75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
}
.bottom-bar-inner { display: flex; justify-content: space-around; }
.bottom-bar-item {
  display: flex; flex-direction: column; align-items: center; gap: .18rem;
  padding: .25rem .75rem;
  font-size: .6rem; color: var(--gray-400); font-weight: 500;
  transition: color var(--t);
}
.bottom-bar-item i { font-size: 1.15rem; }
.bottom-bar-item.active,
.bottom-bar-item:hover { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; } 50% { opacity: .85; }
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid    { grid-template-columns: repeat(3,1fr); }
  .pricing-cards   { grid-template-columns: 1fr; }
  .service-grid    { grid-template-columns: repeat(3,1fr); }
  .reservation-wrap { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section              { padding: 60px 0; }
  .section-inner        { padding: 0 1.2rem; }
  .nav-links            { display: none; }
  .hamburger            { display: flex; }
  /* 모바일: 예약버튼 숨김, SNS 아이콘만 표시 */
  .nav-reserve-btn      { display: none; }
  .nav-sns              { gap: .05rem; }
  .about-grid           { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-imgs           { grid-template-rows: 220px 160px; }
  .facilities-grid      { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pricing-cards        { grid-template-columns: 1fr; gap: 1rem; }
  .discount-items       { grid-template-columns: 1fr; }
  .service-grid         { grid-template-columns: repeat(3,1fr); }
  .reservation-wrap     { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; }
  .footer-top           { grid-template-columns: 1fr; }
  .footer-bottom        { flex-direction: column; text-align: center; }
  .bottom-bar           { display: block; }
  body                  { padding-bottom: 68px; }
  /* 히어로 */
  .hero-title           { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-desc            { font-size: .85rem; }
  .hero-btns            { gap: .6rem; }
  .btn-primary, .btn-outline { padding: .75rem 1.8rem; font-size: .83rem; }
  /* 슬라이더 화살표 */
  .slider-arrows        { bottom: 4.5rem; right: 1rem; }
  .slider-arrow         { width: 34px; height: 34px; font-size: .75rem; }
  /* 갤러리 */
  .gallery-grid         { columns: 2; }
  /* 이벤트 */
  .events-grid          { grid-template-columns: 1fr; }
  /* 풋터 */
  .footer-sns           { justify-content: center; }
}

@media (max-width: 480px) {
  /* 팝업 모바일 최적화 */
  .popup-box            { border-radius: 14px; }
  .popup-head           { padding: 1rem 1.2rem .8rem; gap: .7rem; }
  .popup-logo           { height: 24px; }
  .popup-title          { font-size: 1.05rem; }
  .popup-grid           { grid-template-columns: repeat(3, 1fr); }
  .popup-item span      { font-size: .65rem; padding: .35rem .3rem; }
  .popup-footer         { padding: .7rem 1rem .8rem; }
  .popup-close-btn      { padding: .45rem 1rem; font-size: .78rem; }

  .section-inner        { padding: 0 1rem; }
  .facilities-grid      { grid-template-columns: 1fr; }
  .hero-btns            { flex-direction: column; align-items: center; }
  .service-grid         { grid-template-columns: repeat(2, 1fr); }
  .hero-logo-emblem     { width: 56px; }
  .hero-title           { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .fac-card-img         { height: 180px; }
  /* 모바일 갤러리 */
  .gallery-grid         { columns: 1; }
  /* 룰렛 캔버스 */
  .roulette-canvas      { width: 220px !important; height: 220px !important; }
}

/* ============================================
   SNS SIDEBAR (Fixed Right) — 개선 UI
   ============================================ */
.sns-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 아이콘 버튼 기본 */
.sns-sidebar-item {
  display: flex;
  align-items: center;
  height: 46px;
  width: 46px;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-right: none;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -3px 3px 16px rgba(0,0,0,.10);
  text-decoration: none;
  color: var(--gray-700);
  white-space: nowrap;
  cursor: pointer;
  /* 슬라이드 확장 애니메이션 */
  transition: width .32s cubic-bezier(.4,0,.2,1),
              background .32s ease,
              box-shadow .32s ease;
}
.sns-sidebar-item:hover {
  width: 148px;
  box-shadow: -5px 5px 24px rgba(0,0,0,.16);
}

/* 아이콘 영역 */
.sns-sidebar-item .si-icon-wrap {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}

/* 라벨 */
.sns-sidebar-item .si-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .03em;
  padding-right: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s ease .06s, transform .22s ease .06s;
  color: var(--gray-700);
}
.sns-sidebar-item:hover .si-label {
  opacity: 1;
  transform: translateX(0);
}

/* 색상 테마 */
.sns-sidebar-item.insta .si-icon-wrap { color: #e1306c; }
.sns-sidebar-item.insta:hover         { background: rgba(225,48,108,.06); }

.sns-sidebar-item.naver .si-icon-wrap { color: #03c75a; }
.sns-sidebar-item.naver:hover         { background: rgba(3,199,90,.06); }

.sns-sidebar-item.kakao               { background: rgba(255,255,255,.95); }
.sns-sidebar-item.kakao .si-icon-wrap { color: #3A1D1D; }
.sns-sidebar-item.kakao .kakao-icon {
  width: 26px; height: 26px;
  background: #FEE500;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: #3A1D1D;
}
.sns-sidebar-item.kakao:hover { background: rgba(254,229,0,.08); }

/* 모바일 — 사이드바 숨김 (하단 바 대체) */
@media (max-width: 768px) {
  .sns-sidebar { display: none; }
}

/* ============================================
   HERO SLIDER (→ 하단의 HERO SLIDE 블록 참조)
   ============================================ */

/* Slider Controls */
.slider-arrows {
  position: absolute; bottom: 5rem; right: 2rem;
  display: flex; gap: .6rem; z-index: 5;
}
.slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.1);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.slider-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 5;
}
.slider-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width var(--t), background var(--t);
}
.slider-dot.active { width: 20px; background: #fff; }

/* ============================================
   GALLERY — Masonry Style
   ============================================ */
.gallery-grid {
  columns: 4;
  column-gap: .6rem;
}
.gal-item {
  break-inside: avoid;
  margin-bottom: .6rem;
  border-radius: 8px; overflow: hidden; cursor: pointer;
  position: relative;
  display: block;
}
.gal-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform .55s ease;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .6rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: .74rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gal-item:hover .gal-caption { transform: translateY(0); }
/* override old grid classes */
.gal-wide, .gal-tall { grid-column: unset; grid-row: unset; }

/* 갤러리 숨김/펼침 애니메이션 */
.gal-hidden {
  display: none;
}

/* 갤러리 더보기 버튼 */
.gallery-show-wrap {
  text-align: center;
  margin-top: 2rem;
}
.gallery-show-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 2.2rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 40px;
  font-size: .85rem; font-weight: 600;
  color: var(--gray-700);
  background: transparent;
  cursor: pointer;
  transition: all var(--t);
  letter-spacing: .04em;
}
.gallery-show-btn::before {
  content: '';
  display: inline-block; width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t);
}
.gallery-show-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
  transform: translateY(-2px);
}

@media (max-width: 1024px) { .gallery-grid { columns: 3; } }
@media (max-width: 768px)  { .gallery-grid { columns: 2; } }
@media (max-width: 480px)  { .gallery-grid { columns: 2; } }

/* ============================================
   RESERVATION BLUR — 인라인 선택 UI
   ============================================ */
.cal-blur-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }

.cal-blur-overlay {
  position: absolute; inset: 0;
  z-index: 10;
  background: rgba(250,249,247,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
  /* 사라질 때 */
  transition: opacity .5s cubic-bezier(.4,0,.2,1),
              transform .5s cubic-bezier(.4,0,.2,1),
              backdrop-filter .5s ease;
}
.cal-blur-overlay.hidden {
  opacity: 0;
  transform: scale(.97);
  pointer-events: none;
}

/* 내부 카드 박스 */
.cal-source-inner {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  max-width: 360px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  transform: translateY(0);
  transition: transform .5s cubic-bezier(.34,1.3,.64,1);
}
.cal-blur-overlay.hidden .cal-source-inner {
  transform: translateY(16px);
}

.cal-source-icon,
.cal-source-lock {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.cal-source-title {
  font-size: 1rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 1.4rem;
}

/* ──── 방문경로 선택 버튼 — 항상 가로 3열 ──── */
.cal-source-btns {
  display: flex;
  flex-direction: row;          /* 항상 가로 */
  gap: .55rem;
  justify-content: center;
  width: 100%;
}
.cal-src-btn {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  padding: .9rem .6rem .75rem;
  flex: 1; min-width: 0;
  border-radius: 14px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.cal-src-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.cal-src-btn:active { transform: scale(.95); }
.csb-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.csb-label {
  font-size: .7rem; font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
}

/* 네이버 */
.cal-src-btn.naver { border-color: rgba(3,199,90,.35); }
.cal-src-btn.naver .csb-icon { background: rgba(3,199,90,.12); color: #03c75a; }
.cal-src-btn.naver:hover { background: rgba(3,199,90,.05); border-color: #03c75a; }

/* 인스타 */
.cal-src-btn.insta { border-color: rgba(225,48,108,.28); }
.cal-src-btn.insta .csb-icon {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: #fff;
}
.cal-src-btn.insta:hover { background: rgba(225,48,108,.04); border-color: #e1306c; }

/* 기타 */
.cal-src-btn.other { border-color: rgba(122,92,46,.22); }
.cal-src-btn.other .csb-icon { background: var(--accent-pale); color: var(--accent); }
.cal-src-btn.other:hover { background: var(--accent-pale); border-color: var(--accent); }

/* 모바일 — 가로 유지하되 패딩 줄임 */
@media (max-width: 480px) {
  .cal-source-inner { padding: 1.6rem 1rem; }
  .cal-src-btn { padding: .75rem .4rem .65rem; gap: .35rem; }
  .csb-icon { width: 34px; height: 34px; font-size: .95rem; border-radius: 10px; }
  .csb-label { font-size: .65rem; }
}

/* ============================================
   EVENT SECTION — 화이트 톤
   ============================================ */
#events {
  background: var(--off-white);
  color: var(--gray-900);
}

.events-header { text-align: center; margin-bottom: 3.5rem; }
.events-header .section-tag     { color: var(--accent); }
.events-header .section-title   { color: var(--gray-900); }
.events-header .section-divider { margin: 1rem auto; }
.events-header .section-desc    { color: var(--gray-400); margin: 0 auto; }

/* ── 스테이지: 휠 + 혜택 패널 ── */
.roulette-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

/* ── 휠 중앙 ── */
.roulette-center { text-align: center; flex-shrink: 0; }

.roulette-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 24px auto 2rem; /* 위에 포인터 공간 */
}

/* 포인터 — 휠 12시 방향에 정확히 걸치는 삼각형 */
/* CSS border-trick:
   border-bottom에 색 = 아래를 향하는 삼각형(▼) */
.roulette-pointer {
  position: absolute;
  /* wrap top(0) 기준: -16px = 포인터 꼭집가 캔버스 상단에서 8px 뒤에 걸침 */
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 0; height: 0;
  border-left:   11px solid transparent;
  border-right:  11px solid transparent;
  border-bottom: 24px solid var(--accent);
  filter: drop-shadow(0 3px 8px rgba(122,92,46,.5));
}

.roulette-canvas {
  border-radius: 50%;
  display: block;
  box-shadow:
    0 0 0 3px var(--gray-200),
    0 12px 48px rgba(0,0,0,.12);
}

/* 스핀 버튼 — 사이트 스타일 통일 */
.roulette-spin-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 2.6rem;
  background: var(--gray-900);
  color: #fff;
  border-radius: 40px;
  font-size: .88rem; font-weight: 600; letter-spacing: .06em;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.roulette-spin-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(122,92,46,.35);
}
.roulette-spin-btn:active { transform: scale(.97); }
.roulette-spin-btn:disabled {
  opacity: .4; cursor: not-allowed; transform: none; box-shadow: none;
}
.roulette-spin-btn.spinning { animation: spinBtnPulse 1.2s ease-in-out infinite; }
@keyframes spinBtnPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,.18); }
  50%     { box-shadow: 0 4px 28px rgba(122,92,46,.4); }
}

/* ── 우측: 혜택 패널 ── */
.prize-panel {
  min-width: 260px;
  max-width: 300px;
}
.prize-panel-title {
  font-family: var(--font-en);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.prize-list { list-style: none; }
.prize-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.prize-item:last-child { border-bottom: none; }
.pi-color {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.pi-info { flex: 1; }
.pi-info strong {
  display: block; font-size: .88rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: .12rem;
}
.pi-info span { font-size: .78rem; color: var(--gray-400); }
.pi-prob {
  font-family: var(--font-en);
  font-size: .8rem; font-weight: 600;
  color: var(--gray-300);
}
.prize-note-box {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
}
.prize-note-box p {
  font-size: .76rem; color: var(--gray-400);
  line-height: 1.9; margin: 0;
}

/* Prize Info 카드 (레거시) */
.prize-info-card { display: none; }

/* ── 반응형 ── */
@media (max-width: 860px) {
  .roulette-stage { flex-direction: column; gap: 2.5rem; }
  .prize-panel    { max-width: 100%; width: 100%; }
}
@media (max-width: 480px) {
  .roulette-wrap  { width: 240px; height: 240px; }
  .roulette-canvas { width: 240px !important; height: 240px !important; }
}

/* ──────────────────────────────────────────
   ROULETTE RESULT MODAL — 감성 리디자인
   ────────────────────────────────────────── */
.roulette-result-overlay {
  display: none; opacity: 0;
  position: fixed; inset: 0; z-index: 3500;
  background: rgba(10,9,6,.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  align-items: center; justify-content: center;
  padding: 1.5rem;
  transition: opacity .4s ease;
}
.roulette-result-overlay.active {
  display: flex;
  animation: overlayFadeIn .4s ease forwards;
}
@keyframes overlayFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.roulette-result-box {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #faf8f4 100%);
  border-radius: 28px;
  padding: 3rem 2.4rem 2.4rem;
  max-width: 400px; width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.8);
  animation: resultBoxIn .55s cubic-bezier(.34,1.4,.64,1);
}
/* 상단 장식 그라디언트 바 */
.roulette-result-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-lt), var(--accent), var(--accent-lt));
  background-size: 200% 100%;
  animation: shimmerBar 2s linear infinite;
}
@keyframes shimmerBar {
  0% { background-position: 200% 0; } 100% { background-position: -200% 0; }
}
@keyframes resultBoxIn {
  from { opacity: 0; transform: scale(.84) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.roulette-result-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 2px solid rgba(184,146,74,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.9rem; color: var(--accent);
  box-shadow: 0 8px 24px rgba(122,92,46,.18);
}
.roulette-result-box h3 {
  font-family: var(--font-en); font-size: 1.6rem; font-weight: 400;
  margin-bottom: .4rem; color: var(--gray-900); letter-spacing: .04em;
}
.roulette-result-box .result-prize {
  font-size: 1.15rem; font-weight: 700;
  color: var(--accent); margin-bottom: .9rem;
  letter-spacing: .02em;
}
.roulette-result-box p { font-size: .85rem; color: var(--gray-500); line-height: 1.85; margin-bottom: 1.6rem; }
.roulette-info-form { display: none; }
.roulette-info-form.show { display: block; }
.roulette-info-form input {
  width: 100%; padding: .65rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: .88rem;
  margin-bottom: .7rem;
  outline: none; font-family: var(--font-kr);
}
.roulette-info-form input:focus { border-color: var(--accent); }
.roulette-result-close {
  padding: .7rem 2rem;
  background: var(--gray-900); color: #fff;
  border-radius: 24px; font-size: .88rem; font-weight: 600;
  transition: background var(--t);
}
.roulette-result-close:hover { background: var(--accent); }

/* Prize info list */
.prize-info-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
}
.prize-info-card h3 {
  font-family: var(--font-en);
  font-size: 1.1rem; color: #fff; font-weight: 400;
  margin-bottom: 1.2rem;
}
.prize-list { list-style: none; }
.prize-list li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.prize-list li:last-child { border-bottom: none; }
.prize-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
}
.prize-list .p-name { font-size: .9rem; font-weight: 600; color: #fff; flex: 1; }
.prize-list .p-prob { font-size: .8rem; color: rgba(255,255,255,.4); }
.prize-list .p-desc { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: .15rem; }
.prize-note {
  margin-top: 1.2rem;
  font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.8;
}

/* Confetti */
.confetti-container {
  position: fixed; inset: 0; z-index: 3400;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 10px; height: 10px;
  top: -20px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; }
  .roulette-wrap { width: 220px; height: 220px; }
}

/* ============================================
   HERO SLIDE — 가로 전환 (slide 방식)
   ============================================ */
.hero-slider {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: translateX(60px) scale(1.04);
  transition: opacity 1s cubic-bezier(.4,0,.2,1),
              transform 1s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.hero-slide.exit-left {
  opacity: 0;
  transform: translateX(-60px) scale(.98);
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.62) 100%);
}

/* ============================================
   GALLERY 전체보기 애니메이션
   ============================================ */
.gal-item {
  animation: galFadeIn .4s ease both;
}
@keyframes galFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   모바일 추가 설정
   ============================================ */
@media (max-width: 480px) {
  #navbar { top: 0; }
}

/* source-modal — 레거시 (더 이상 직접 사용 안 함) */
.source-modal-overlay { display: none !important; }

/* ============================================
   NAV 아이콘 모바일 정렬
   ============================================ */
@media (max-width: 480px) {
  .nav-sns-icon { width: 30px; height: 30px; font-size: .95rem; }
  .nav-right    { gap: .4rem; }
}

