@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --primary-green: #00d26a;
  --primary-green-hover: #00b85c;
  --primary-light-green: #ecfdf5;
  --primary-blue: #3b82f6;
  --primary-cyan: #00c8f8;
  
  --text-main: #111827;
  --text-sub: #4b5563;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-gray-pill: #f3f4f6;
  --bg-dark: #070d18;
  
  --border-light: #e5e7eb;
  --border-line: #d1d5db;
  --border-active: #00d26a;
  
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --max-width: 480px;
  --header-height: 56px;
  --bottom-nav-height: 64px;
}

/* 태블릿 및 PC 와이드 화면(768px 이상)에서 시원한 뷰포트 확대 */
@media (min-width: 768px) {
  :root {
    --max-width: 680px;
  }
}

@media (min-width: 1024px) {
  :root {
    --max-width: 720px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #06111e;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.3px;
  position: relative;
}

/* PC/태블릿 와이드 뷰포트: 좌우 여백에 인트로 배경 비주얼(pc_bg.jpg)을 은은하고 고급스럽게 배치 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../assets/images/pc_bg.jpg') no-repeat center top / cover;
  opacity: 0.28;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
}

/* 화면 중앙 모바일/태블릿 프레임 컨테이너 */
.app-container {
  width: 100%;
  max-width: var(--max-width);
  min-height: 100vh;
  background-color: #ffffff;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================
   헤더 (Header)
   ========================================================== */
.site-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #f1f5f9;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left .logo-img {
  height: 28px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-dropdown-wrapper {
  position: relative;
}

.lang-dropdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  padding: 4px 0;
}

.lang-text-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.3px;
}

.lang-arrow-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.15s ease;
}

.lang-dropdown-pill:hover .lang-arrow-circle {
  background-color: #d1d5db;
}

.lang-dropdown-wrapper.open .lang-arrow-circle {
  transform: rotate(180deg);
}

.mobile-lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 144px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-lang-dropdown-menu.show {
  display: block;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.mobile-lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.mobile-lang-opt:hover {
  background-color: #f8fafc;
  color: #111827;
}
.mobile-lang-opt.active {
  background-color: #ecfdf5;
  color: #00d26a;
}
.mobile-lang-opt .lang-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
}
.mobile-lang-opt.active .lang-badge {
  background: #d1fae5;
  color: #00d26a;
}

.header-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

.cart-badge-count {
  position: absolute;
  bottom: -3px;
  left: -5px;
  background-color: #3b82f6;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 9999px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  padding: 0 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
   서브 헤더 (< 뒤로가기 + 타이틀)
   ========================================================== */
.sub-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 8px;
  background-color: #ffffff;
}

.btn-back-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #00d26a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.btn-back-circle:hover {
  opacity: 0.9;
}

.sub-header-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.5px;
}

/* ==========================================================
   카테고리 탭 네비게이션
   ========================================================== */
.category-tab-menu {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 16px 0;
  gap: 24px;
  background: #ffffff;
}

.tab-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  padding-bottom: 10px;
  position: relative;
  cursor: pointer;
}

.tab-menu-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #111827;
}

/* ==========================================================
   필터 버튼 영역 (날짜 & 권역)
   ========================================================== */
.filter-button-group {
  padding: 12px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-button-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-button-row::-webkit-scrollbar {
  display: none;
}

.pill-filter-btn {
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #00d26a;
  background-color: #ffffff;
  color: #111827;
  white-space: nowrap;
  transition: all 0.2s;
}

.pill-filter-btn.active {
  background-color: #00d26a;
  color: #ffffff;
  border-color: #00d26a;
}

.pill-filter-btn.gray-style {
  background-color: #f3f4f6;
  border-color: transparent;
  color: #374151;
  font-weight: 600;
}

.pill-filter-btn.gray-style.active {
  background-color: #f3f4f6;
  color: #111827;
  font-weight: 800;
}

/* ==========================================================
   검색 바 (Search Bar)
   ========================================================== */
.search-input-section {
  padding: 6px 16px 14px;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-container input {
  width: 100%;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px 0 38px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  color: #111827;
}

.search-input-container input::placeholder {
  color: #9ca3af;
}

.search-input-container input:focus {
  border-color: #00d26a;
}

.search-input-container .search-icon {
  position: absolute;
  left: 12px;
  color: #9ca3af;
  pointer-events: none;
}

/* ==========================================================
   메인 홈 히어로 슬라이더
   ========================================================== */
.hero-slider-section {
  padding: 12px 16px;
}

.hero-poster-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 14px;
}

.hero-title-text {
  font-size: 22px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.5px;
}

.hero-date-text {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-top: 2px;
}

.hero-pagination-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.btn-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #00d26a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  transition: opacity 0.2s;
}

.btn-arrow-circle:hover {
  opacity: 0.9;
}

.tag-badge-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.tag-outline-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #00d26a;
  color: #00b85c;
  background: #ffffff;
}

/* ==========================================================
   진행중인 행사 섹션
   ========================================================== */
.ongoing-event-section {
  padding: 10px 16px 24px;
  text-align: center;
}

.ongoing-section-title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 16px;
}

.ongoing-poster-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-floating-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #00d26a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.btn-floating-arrow.left-pos { left: 10px; }
.btn-floating-arrow.right-pos { right: 10px; }

/* ==========================================================
   2열 티켓 카드 그리드
   ========================================================== */
.ticket-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
  padding: 4px 16px 24px;
}

.ticket-card-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.ticket-thumb-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
}

.ticket-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ticket-card-item:hover .ticket-thumb-box img {
  transform: scale(1.03);
}

.btn-heart-wish {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ticket-info-title {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
  margin-top: 8px;
  line-height: 1.25;
}

.ticket-info-date {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

.ticket-info-price {
  font-size: 15px;
  font-weight: 900;
  color: #111827;
  margin-top: 4px;
}

/* ==========================================================
   상세 페이지 예매 바 (Action Bar)
   ========================================================== */
.detail-booking-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.booking-price-text {
  font-size: 18px;
  font-weight: 900;
  color: #00d26a;
}

.booking-sub-date {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.btn-pill-green {
  padding: 10px 22px;
  border-radius: 9999px;
  background-color: #00d26a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.btn-pill-green:hover {
  background-color: #00b85c;
}

.btn-pill-outline {
  padding: 10px 18px;
  border-radius: 9999px;
  border: 1.5px solid #00d26a;
  background-color: #ffffff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.btn-pill-outline:hover {
  background-color: #f0fdf4;
}

/* ==========================================================
   푸터 (Footer)
   ========================================================== */
.site-footer {
  background-color: #ffffff;
  padding: 24px 16px 80px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #4b5563;
}

.footer-nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.footer-nav-links::-webkit-scrollbar {
  display: none;
}

.footer-nav-links a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  word-break: keep-all;
  flex-shrink: 0;
}

.footer-nav-links a:hover {
  color: #00d26a;
}

.footer-nav-links a.active {
  color: #111827;
  font-weight: 800;
}

.footer-nav-links a.active:hover {
  color: #00d26a;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 26px;
  width: auto;
}

.btn-footer-capsule {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-footer-capsule.gray-bg {
  background-color: #f3f4f6;
  color: #111827;
}

.btn-footer-capsule.green-bg {
  background-color: #00d26a;
  color: #ffffff;
}

.footer-company-name {
  font-weight: 800;
  font-size: 13px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  cursor: pointer;
}

.footer-info-details {
  line-height: 1.65;
  color: #4b5563;
  font-size: 11px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin: 14px 0 10px;
  color: #111827;
}

.footer-copyright {
  font-size: 11px;
  color: #9ca3af;
}

/* ==========================================================
   하단 바텀 네비게이션 바 (Bottom Nav)
   ========================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--bottom-nav-height);
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 60;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 900;
  color: #111827;
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.2s;
}

.bottom-nav-item.active {
  color: #00d26a;
}

.bottom-nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
