/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  background: #080808;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===========================
   CUSTOM CURSOR
=========================== */
.cursor {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s;
}
body:hover .cursor { opacity: 1; }

/* 데스크탑에서는 center center로 덮어쓰기 */
@media (min-width: 769px) {
  .slide-01 { background-position: center center !important; }
  .slide-02 { background-position: center center !important; }
  .slide-03 { background-position: center center !important; }
  .slide-04 { background-position: center center !important; }
}
/* 모바일 전용 포지션 */
@media (max-width: 768px) {
  .slide-01 { background-position: 40% 15%; }
  .slide-02 { background-position: 62% 25%; }
  .slide-03 { background-position: 30% 15%; }
  .slide-04 { background-position: 58% 15%; }
}

/* ===========================
   NAVIGATION
=========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px;
  transition: all 0.5s ease;
}
#navbar.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  padding: 20px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 6px;
  color: #ffffff;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-menu a:hover { color: #ffffff; }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.lang-switcher { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.35);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; cursor: pointer;
  transition: color 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.lang-btn.active, .lang-btn:hover { color: #ffffff; }
.lang-divider { color: rgba(255,255,255,0.15); font-size: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: #ffffff;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}
.hero-slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  transform: scale(1.03);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

/* 좌하단 아티스트 정보 */
.hero-info {
  position: absolute;
  bottom: 80px; left: 64px;
  z-index: 2;
}
.hero-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px;
  font-weight: 300;
  letter-spacing: 10px;
  line-height: 0.95;
  margin-bottom: 10px;
}
.hero-name-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 10px;
  color: rgba(255,255,255,0.55);
}

/* 우하단 슬라이드 인디케이터 */
.hero-dots {
  position: absolute;
  bottom: 88px; right: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-dot {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, height 0.3s;
  display: block;
}
.hero-dot.active {
  background: #ffffff;
  height: 44px;
}

/* 스크롤 힌트 */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}
.hero-scroll-hint span {
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   STATEMENT
=========================== */
.statement {
  background: #0d0d0d;
  padding: 100px 64px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.statement-inner { max-width: 800px; margin: 0 auto; }
.statement-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  letter-spacing: 1px;
}
.statement-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 24px;
}
.statement-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   COMMON
=========================== */
.label-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
  color: rgba(0,0,0,0.35);
  margin-bottom: 14px;
  display: block;
}
.label-text.light { color: rgba(255,255,255,0.3); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.light { color: #ffffff; }
.thin-bar {
  width: 36px; height: 1px;
  background: rgba(0,0,0,0.25);
  margin-bottom: 32px;
}
.thin-bar.light { background: rgba(255,255,255,0.25); }
.cta-btn {
  display: inline-block;
  padding: 16px 44px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  transition: all 0.3s;
  border: 1px solid #111111;
}
.cta-btn:hover { background: transparent; color: #111111; }
.ghost-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  transition: all 0.3s;
}
.ghost-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.ghost-btn.dark {
  border-color: rgba(0,0,0,0.3);
  color: rgba(0,0,0,0.6);
}
.ghost-btn.dark:hover {
  border-color: #111111;
  color: #111111;
}

/* ===========================
   ABOUT
=========================== */
.about {
  background: #f2f1ef;
  padding: 140px 64px;
}
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-photos {
  position: relative;
  height: 600px;
}
.about-photo-main {
  position: absolute;
  top: 0; left: 0;
  width: 76%;
  z-index: 1;
}
.about-photo-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
}
.about-photo-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 56%;
  z-index: 2;
}
.about-photo-sub img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: -10px -10px 40px rgba(0,0,0,0.1);
  border: 6px solid #f2f1ef;
}
.about-body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  line-height: 2.4;
  color: #555555;
  margin-bottom: 44px;
  word-break: keep-all;
}
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 44px;
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: #111111;
  line-height: 1;
}
.stat-num em { font-size: 18px; font-style: normal; }
.stat-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #999999;
  font-family: 'Noto Sans KR', sans-serif;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(0,0,0,0.1);
  margin: 0 24px;
}

/* ===========================
   PIANO PARALLAX SECTION
=========================== */
/* ── 피아노 패럴랙스 섹션 ── */
.piano-parallax {
  position: relative;
  min-height: 600px;
  background-image: url('../images/hero/piano-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.piano-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.piano-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 40px;
}
.piano-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.piano-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 48px;
}
.piano-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.piano-tag {
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: default;
}
.piano-tag:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 모바일: iOS 패럴랙스 호환 */
@media (max-width: 768px) {
  .piano-parallax {
    background-attachment: fixed;
    background-position: center center;
    min-height: 500px;
  }
  .piano-content {
    padding: 80px 24px;
  }
  .piano-title {
    font-size: clamp(30px, 8vw, 48px);
  }
  .piano-tag {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* ===========================
   FEATURED VIDEO
=========================== */
.featured-video {
  background: #f2f1ef;
  padding: 120px 0 80px;
}
.fv-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 64px;
}
.fv-player {
  margin: 56px 0 0;
  background: #080808;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}
.fv-frame {
  position: relative;
  width: 420px;
  padding-bottom: 747px;
  overflow: hidden;
}
.fv-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.fv-cta {
  margin-top: 48px;
  text-align: right;
}

/* ===========================
   GALLERY PREVIEW
=========================== */
.gallery-preview {
  background: #111111;
  padding: 120px 0 80px;
}
.gp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  margin-bottom: 48px;
}
.gp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
}
.gp-tall {
  grid-row: span 2;
}
.gp-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gp-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gp-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.gp-tall img { min-height: 100%; height: 100%; object-fit: cover; }
.gp-hover {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
}
.gp-item:hover .gp-hover { background: rgba(0,0,0,0.35); }
.gp-item:hover img { transform: scale(1.04); }
.gp-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.gp-caption span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  letter-spacing: 2px;
}
.gp-more {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   CONTACT
=========================== */
.contact-sec {
  background: #080808;
  padding: 140px 64px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}
.contact-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 2.2;
  color: rgba(255,255,255,0.45);
  margin-bottom: 64px;
  word-break: keep-all;
}
.contact-sub strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* 카드 3개 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.contact-card {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 40px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.contact-card-icon {
  font-size: 24px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.contact-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}
.contact-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  letter-spacing: 1px;
  word-break: break-all;
}
.contact-card-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

/* CTA 버튼 */
.contact-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.contact-cta-main {
  display: inline-block;
  padding: 20px 72px;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  border-radius: 2px;
  transition: all 0.3s;
  border: 1px solid #ffffff;
}
.contact-cta-main:hover {
  background: transparent;
  color: #ffffff;
}
.contact-cta-sub {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2px;
  transition: all 0.3s;
}
.contact-cta-sub:hover {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.3);
}

/* 모바일 */
@media (max-width: 768px) {
  .contact-sec    { padding: 80px 24px; }
  .contact-cards  { grid-template-columns: 1fr; gap: 16px; }
  .contact-card   { padding: 32px 20px; }
  .contact-cta-main { padding: 18px 48px; width: 100%; text-align: center; }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #000000;
  padding: 80px 64px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 8px;
}
.footer-sub {
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}
.footer-sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-sns a {
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.footer-sns a:hover { color: rgba(255,255,255,0.8); }
.footer-rep {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 1px;
}

/* ══════════════════════════════
   FLOATING CHATBOT
══════════════════════════════ */

/* 플로팅 버튼 */
.cb-float-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 8000;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.cb-float-icon {
  font-size: 22px;
  color: #000000;
  line-height: 1;
}

/* 챗봇 팝업 */
.cb-popup {
  position: fixed;
  bottom: 104px;
  right: 36px;
  z-index: 7999;
  width: 360px;
  background: #111111;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  border: 1px solid rgba(255,255,255,0.07);
}
.cb-popup-open {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: all !important;
}

/* 헤더 */
.cb-header {
  background: #1a1a1a;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cb-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cb-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cb-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.cb-online {
  font-size: 10px;
  color: #4ade80;
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.cb-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}
.cb-close-btn:hover { color: #ffffff; }

/* 메시지 영역 */
.cb-body {
  padding: 20px;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.cb-body::-webkit-scrollbar { width: 3px; }
.cb-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

/* 봇 메시지 */
.cb-msg-bot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  animation: cbFadeUp 0.35s ease;
}
.cb-msg-avatar {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.cb-bubble-bot {
  background: #222222;
  border-radius: 0 10px 10px 10px;
  padding: 12px 14px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  max-width: 85%;
  word-break: keep-all;
}

/* 유저 메시지 */
.cb-msg-user {
  display: flex;
  justify-content: flex-end;
  animation: cbFadeUp 0.3s ease;
}
.cb-bubble-user {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px 0 10px 10px;
  padding: 10px 14px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 80%;
}

/* 타이핑 */
.cb-typing {
  background: #222222;
  border-radius: 0 10px 10px 10px;
  padding: 14px 18px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.cb-typing span {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: cbDotBounce 1.2s infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing span:nth-child(3) { animation-delay: 0.4s; }

/* 입력 영역 */
.cb-input-area {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* 선택지 버튼 */
.cb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cb-opt-btn {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.cb-opt-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
  color: #ffffff;
}

/* 텍스트 입력 */
.cb-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cb-text-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 10px 16px;
  color: #ffffff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.cb-text-input:focus { border-color: rgba(255,255,255,0.35); }
.cb-text-input::placeholder { color: rgba(255,255,255,0.2); }
.cb-send-btn {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #000000;
  transition: background 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-send-btn:hover { background: #e0e0e0; }

/* 완료 버튼 */
.cb-complete-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.cb-jument-btn {
  display: block;
  padding: 13px 20px;
  background: #ffffff;
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
  text-decoration: none;
}
.cb-jument-btn:hover {
  background: transparent;
  color: #ffffff;
  outline: 1px solid rgba(255,255,255,0.4);
}
.cb-later-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 1px;
  transition: color 0.2s;
  padding: 4px;
  font-family: 'Noto Sans KR', sans-serif;
}
.cb-later-btn:hover { color: rgba(255,255,255,0.5); }

/* 힌트 말풍선 */
.cb-hint {
  position: fixed;
  bottom: 108px;
  right: 36px;
  z-index: 7998;
  background: #ffffff;
  color: #000000;
  padding: 12px 40px 12px 16px;
  border-radius: 10px 10px 0 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: cbFadeUp 0.4s ease;
  white-space: nowrap;
}
.cb-hint-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: rgba(0,0,0,0.4);
}

/* 애니메이션 */
@keyframes cbFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cbDotBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-5px); }
}

/* 모바일 */
@media (max-width: 768px) {
  .cb-popup {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 96px;
  }
  .cb-float-btn { right: 20px; bottom: 24px; }
  .cb-hint      { right: 20px; bottom: 92px; }
}
/* ── 모바일 전용 언어 버튼 (nav-menu 안) ── */
.nav-lang-mobile {
  display: none; /* 데스크탑에서는 숨김 */
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

  /* 햄버거 메뉴 오픈 스타일 */
@media (max-width: 768px) {

  /* 로고가 메뉴 위에 보이도록 */
  .nav-logo {
    position: relative;
    z-index: 10000; /* ✅ nav-menu(9999)보다 높게 */
  }
/* 모바일 메뉴 구분선 */
.nav-divider-line {
  display: none; /* 데스크탑에서는 숨김 */
}
@media (max-width: 768px) {
  .nav-divider-line {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 8px;
  }

  .nav-menu {
    display: none;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    min-height: 100vh !important;
    width: 100vw !important;
    background: #080808 !important;
    padding: 80px 40px 60px !important;
    gap: 32px !important;
    z-index: 9999 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  .nav-menu.open {
    display: flex !important;
  }

  .nav-menu li {
    width: 100% !important;
    text-align: left !important; /* ✅ 텍스트도 왼쪽 정렬 */
  }

  .nav-menu a {
    font-size: 20px !important;
    letter-spacing: 6px !important;
    color: rgba(255,255,255,0.8) !important;
    text-align: left !important;
  }

  /* 언어 버튼 왼쪽 정렬 */
  .nav-lang-mobile {
    display: flex;
    justify-content: flex-start; /* ✅ 왼쪽 정렬 */
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    margin-top: 8px;
  }

  .nav-lang-mobile .lang-btn {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
  }

  .nav-lang-mobile .lang-btn.active {
    color: #ffffff;
  }

  /* 햄버거(X버튼)도 메뉴 위에 */
  .hamburger {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  .lang-switcher {
    display: none;
  }

}
}