 /* =====================================
     HEADER
     ===================================== */
     html { overflow-x: clip }
.sp_txt_wine{color: var(--magenta-wine);}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}
  
.header.scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px var(--pad-x);
}
.header .logo .logo_black{display: none;}
.logo img{
  max-width: 100px;
}
  
.header.scrolled .logo .logo_white{display: none;}
.header.scrolled .logo .logo_black{display: block;}
  
.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep);
    font-size: 16px;
    font-weight: 800;
}
  
.nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
  
.nav-item {
    position: relative;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
    /* 우선 메뉴 비활성화 */
    opacity: 0.8;
    cursor: default;
    pointer-events: none;
}
  
.header.scrolled .nav-item { color: var(--text); }
  
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
  
.nav-item:hover::after { transform: scaleX(1); }
  
.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}
  
.lang {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    transition: all 0.3s;
}
  
.header.scrolled .lang { 
    color: var(--text-sub);
    border-color: var(--line);
}
  
.lang:hover {
    background: rgba(255, 255, 255, 0.1);
}
  
.header.scrolled .lang:hover { background: var(--sky); }
  
.lang .active { color: #fff; font-weight: 600; }
.header.scrolled .lang .active { color: var(--primary); }
  
.cta-ticket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--gold);
    color: var(--deep);
    font-weight: 700;
    font-size: 14px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
}
  
.cta-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4);
}
  
  /* btn-foam과 함께 쓸 때 ::after 화살표는 숨김 (액체 효과와 충돌 방지) */
.cta-ticket.btn-foam::after { display: none; }
  
.cta-ticket::after {
    content: '→';
    transition: transform 0.3s;
}
  
.cta-ticket:hover::after { transform: translateX(4px); }
  
  /* =====================================
     BEER FOAM HEAD BUTTON
     호버 시 맥주가 차오르며 거품 헤드가 출렁이는 효과
     적용: .btn-foam 클래스 추가
     ===================================== */
.btn-foam {
    position: relative;
    overflow: hidden;
}
  
  /* 텍스트는 항상 최상위 */
.btn-foam > * {
    position: relative;
    z-index: 3;
}
  
  /* 호버 시 텍스트에 미세한 흰색 글로우로 가독성 보강 */
.btn-foam:hover > * {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
  
  /* 액체 레이어 */
.btn-foam .liquid {
    position: absolute;
    top: 100%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(
      180deg,
      #FFE082 0%,
      #FFC933 40%,
      #FFB800 100%
    );
    transition: top 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}
  
  /* 두꺼운 흰 거품 헤드 */
.btn-foam .liquid::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 200%;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 20' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0,10 Q30,2 60,10 T120,10 T180,10 T240,10 T300,10 T360,10 T400,10 L400,20 L0,20 Z' fill='%23FFFEF7'/></svg>");
    background-repeat: repeat-x;
    background-size: 180px 20px;
    animation: foamWave 2.2s linear infinite;
}
  
  /* 두 번째 wave - 살짝 다른 톤 */
.btn-foam .liquid::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 200%;
    height: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 10' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0,5 Q40,9 80,5 T160,5 T240,5 T320,5 T400,5 L400,10 L0,10 Z' fill='%23FFF3C4' opacity='0.8'/></svg>");
    background-repeat: repeat-x;
    background-size: 140px 10px;
    animation: foamWave2 1.6s linear infinite;
}
  
  @keyframes foamWave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-180px); }
}
  
  @keyframes foamWave2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-140px); }
}
  
.btn-foam:hover .liquid {
    top: -4%;  /* 거품 헤드가 위로 살짝 솟음 */
}
  
  /* 거품(bubbles) - 좌우 끝으로 분산 (텍스트 영역 피함) */
.btn-foam .bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s 0.3s;
    pointer-events: none;
}
  
.btn-foam:hover .bubbles {
    opacity: 1;
}
  
.btn-foam .bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    bottom: -10px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}
  
.btn-foam .bubble:nth-child(1) {
    width: 5px; height: 5px;
    left: 8%;
    animation: bubble-up 1.6s ease-in 0.2s infinite;
}
.btn-foam .bubble:nth-child(2) {
    width: 3px; height: 3px;
    left: 14%;
    animation: bubble-up 1.3s ease-in 0.6s infinite;
}
.btn-foam .bubble:nth-child(3) {
    width: 4px; height: 4px;
    right: 10%;
    animation: bubble-up 1.5s ease-in 0.4s infinite;
}
.btn-foam .bubble:nth-child(4) {
    width: 5px; height: 5px;
    right: 16%;
    animation: bubble-up 1.7s ease-in 0.8s infinite;
}
  
  @keyframes bubble-up {
    0% { bottom: -10px; opacity: 0; }
    20% { opacity: 0.9; }
    80% { opacity: 0.7; }
    100% { bottom: 110%; opacity: 0; }
}
  
  /* reduced motion 대응 */
  @media (prefers-reduced-motion: reduce) {
  .btn-foam .liquid::before,
  .btn-foam .liquid::after,
  .btn-foam .bubble {
      animation: none !important;
  }
} 
 
 
 /* =====================================
   FOOTER
   ===================================== */
.footer {
  background: 
    linear-gradient(180deg,
  var(--purple) 0%,
  var(--night) 50%,
  var(--night-deep) 100%
    );
  color: rgba(255, 255, 255, 0.8);
  padding: 80px var(--pad-x) 32px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}
  
  /* 별 배경 (히어로와 시작-끝 호응) */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 10% 20%, white, transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 60% 30%, white, transparent),
    radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 50% 80%, white, transparent);
  pointer-events: none;
  opacity: 0.6;
  animation: starsTwinkle 4s ease-in-out infinite;
}
  
.footer::before {
  content: 'SONGDO';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 280px);
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.8;
  pointer-events: none;
  white-space: nowrap;
}
  
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
  
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
  
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand .logo img{max-width: 100px;}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}
  
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
  
.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s;
}
  
.footer-link:hover { color: #fff; }
  
.social {
  display: flex;
  gap: 8px;
  justify-content: center;
}
  
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  font-size: 12px;
  font-weight: 600;
}
  
.social-icon:hover {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}
  
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 90, 95, 0.1);
  border: 1px solid rgba(255, 90, 95, 0.2);
  border-radius: var(--radius);
  margin: 32px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}
  
.footer-legal-icon {
  color: var(--coral);
  font-weight: 700;
}
  
.footer-bottom {
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}
  
  /* =====================================
   SIDE FIX (SNS)
   ===================================== */
.side-fix {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
  
.side-fix .social-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 38, 80, 0.7);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
  
.side-fix .social-icon:hover {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}


  /* =====================================
   NAV — 드롭다운 (데스크탑 호버)
   ===================================== */
.nav-item.has-dropdown {
  position: relative;
  cursor: pointer;
}

.nav-item.has-dropdown .nav-item-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-item.has-dropdown .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.nav-item.has-dropdown:hover .caret,
.nav-item.has-dropdown.open .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 140px;
  background: var(--night-deep, #0F0E29);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 0;
  margin-top: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.dropdown a:hover {
  color: var(--gold, #FFB800);
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 901px) {
  .dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
  }
}

  /* =====================================
   모바일 햄버거 버튼
   ===================================== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


  /* =====================================
   모바일 오버레이 (메뉴 열렸을 때 뒤 어둡게)
   ===================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 98;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
  
  /* =====================================
   ANIMATIONS
   ===================================== */
  @keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  
  @keyframes titleUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
  
  @keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}
  
  @keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
  
  @keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
  
  /* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
  
  /* ====== SCROLL ANIMATIONS - IMPACT POINTS ====== */
  
  /* 기본 fade-up (모든 섹션에 가볍게) */
.anim-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-fade.in {
  opacity: 1;
  transform: translateY(0);
}
  
  /* 좌측에서 등장 */
.anim-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-left.in {
  opacity: 1;
  transform: translateX(0);
}
  
  /* 우측에서 등장 */
.anim-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-right.in {
  opacity: 1;
  transform: translateX(0);
}
  
  /* 확대 등장 */
.anim-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-zoom.in {
  opacity: 1;
  transform: scale(1);
}
  
  /* Stagger - 자식 요소들이 차례로 */
.anim-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-stagger.in > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; transform: translateY(0); }
.anim-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.anim-stagger.in > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.anim-stagger.in > *:nth-child(4) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.anim-stagger.in > *:nth-child(5) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.anim-stagger.in > *:nth-child(6) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }
  
  /* 큰 헤드라인 - 글자가 위로 솟아오르며 등장 (wrapper 방식) */
.anim-head {
  overflow: hidden;
  display: block;
}
  
.anim-head > * {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
  
.anim-head.in > * {
  transform: translateY(0);
}
  
  /* 카운트다운 박스 - bounce 진입 */
.anim-bounce {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
  
.anim-bounce.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
  
.anim-bounce-stagger > * {
  opacity: 0;
  transform: translateY(60px) scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
  
.anim-bounce-stagger.in > *:nth-child(1) { transition-delay: 0.0s; opacity: 1; transform: translateY(0) scale(1); }
.anim-bounce-stagger.in > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); }
.anim-bounce-stagger.in > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) scale(1); }
.anim-bounce-stagger.in > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) scale(1); }
  
  /* 감소된 모션 선호 사용자 배려 */
  @media (prefers-reduced-motion: reduce) {
  .anim-fade, .anim-left, .anim-right, .anim-zoom,
  .anim-stagger > *, .anim-head > *, .anim-bounce,
  .anim-bounce-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =====================================
    티켓 안내 모달
===================================== */
.ticket-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.ticket-modal.open {
  opacity: 1;
  visibility: visible;
}

/* 배경 오버레이 (포스터 무드 다크) */
.ticket-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 41, 0.7);
  backdrop-filter: blur(6px);
}

/* 모달 본체 */
.ticket-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 14, 41, 0.4);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket-modal.open .ticket-modal-box {
  transform: scale(1) translateY(0);
}

/* 상단 - 다크 그라데이션 헤더 (포스터 무드) */
.ticket-modal-top {
  position: relative;
  background: linear-gradient(135deg, var(--night) 0%, var(--purple) 60%, var(--magenta-wine) 100%);
  padding: 40px 32px 32px;
  text-align: center;
  overflow: hidden;
}

/* 별 장식 */
.ticket-modal-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 50% 20%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 75% 40%, white, transparent),
    radial-gradient(1px 1px at 90% 25%, rgba(255,255,255,0.6), transparent);
  opacity: 0.6;
  pointer-events: none;
}

/* 티켓 아이콘 */
.ticket-modal-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.4);
  animation: ticketPulse 2.5s ease-in-out infinite;
}

@keyframes ticketPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.ticket-modal-eyebrow {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--beer-yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ticket-modal-title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

/* 하단 - 안내 내용 */
.ticket-modal-body {
  padding: 28px 32px 32px;
  text-align: center;
}

.ticket-modal-body p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 20px;
}

.ticket-modal-body strong {
  color: var(--text);
  font-weight: 600;
}

/* 안내 박스 */
.ticket-modal-notice {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  text-align: left;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticket-modal-notice .ic {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.4;
}

/* SNS 안내 버튼 */
.ticket-modal-sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #fa7e1e 0%, #d62976 50%, #962fbf 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  margin-bottom: 12px;
}

.ticket-modal-sns:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 41, 118, 0.35);
}

/* 닫기 버튼 */
.ticket-modal-close-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  transition: color 0.2s;
}

.ticket-modal-close-btn:hover {
  color: var(--text);
}

/* X 닫기 (우상단) */
.ticket-modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ticket-modal-x:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-size: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.top-btn.show {
  opacity: 1;
  visibility: visible;
}

.top-btn:hover {
  transform: translateY(-4px);
}

  /* =====================================
   RESPONSIVE (모바일)
   ===================================== */
  @media (max-width: 900px) {
  /* 햄버거 표시 */
  /* .nav-toggle { display: flex; } */

  /* lang/ticket은 모바일에선 메뉴 안으로 이동되지 않고 그대로 표시 (또는 ticket만 표시) */
  .header-right .lang { display: none; }

  /* nav를 사이드 슬라이드 메뉴로 전환 */
  .nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--night-deep, #0F0E29);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 30px;
    gap: 0;
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
     transform: translateX(120%);  
  }

  .nav.open {
    transform: translateX(0);  
  }

  .nav .nav-item {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* 모바일 드롭다운 — 인라인 펼침 */
  .nav-item.has-dropdown {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-item.has-dropdown .nav-item-label {
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    margin-top: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item.has-dropdown.open .dropdown {
    max-height: 200px;
    padding: 4px 0 8px;
    transform: inherit;
  }

  .dropdown a {
    padding: 10px 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
  }

  /* 기존 모바일 스타일 */
  .hero-corner { display: none; }
  .hero-illust { 
    width: 70%; 
    max-width: 350px; 
    height: 50%; 
    right: -15%;
    opacity: 0.5;
  }
  .hero-content { max-width: 100%; }
  
  .map { min-height: 300px; }
  .footer{padding: 58px var(--pad-x) 32px;}
  .footer-top {gap:27px;}
  .carousel-thumbs { grid-template-columns: repeat(3, 1fr); }
  .carousel-arrow { width: 40px; height: 40px; }
  .slide-content { padding: 32px 24px; }
  .side-fix { display: none; }
  .sponsor-tier { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 700px) {
  .logo img{max-width: 70px;}
  .cta-ticket{padding: 9px 15px; font-size: 12px;}
  .footer-top{gap: 18px;}
  .footer-link{font-size: 12px; margin-bottom: 5px;}
  .footer-brand p{font-size: 12px;}
  .social-icon{width: 30px; height: 30px; font-size: 11px;}
  .footer-brand img{max-width: 70px;}
  .footer-top{grid-template-columns: repeat(3, 1fr); padding-bottom: 16px;}
  .footer-brand{grid-column: 1 / 4; margin-bottom: 14px;}
  .footer-brand .logo{text-align: center;}
  .footer-brand .logo img{display: inline;}
  .footer-brand p{text-align: center;}
  .footer{padding-top: 30px;}
  .footer-legal{font-size: 11px; padding: 16px;}

}
@media (max-width: 480px) {
  .ticket-modal-box { max-width: 100%; }
  .ticket-modal-top { padding: 32px 24px 28px; }
  .ticket-modal-body { padding: 24px 24px 28px; }
}