/* ==========================================================================
   열혈강호 최신화 업데이트 중간 브릿지 페이지 스타일시트 (index.css)
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  color-scheme: dark only;
  --bg-primary: #0a0b0e;
  --bg-secondary: #12151e;
  --bg-card: #141824;
  --bg-card-hover: #1c2233;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(239, 68, 68, 0.5);
  --border-cyan: rgba(56, 189, 248, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fbbf24;

  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --accent-blue: #2563eb;
  --accent-cyan: #38bdf8;
  --accent-gold: #f59e0b;

  --gradient-flame: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --gradient-blue: linear-gradient(135deg, #1e40af 0%, #38bdf8 100%);
  --gradient-dark: linear-gradient(180deg, #161b27 0%, #0a0b0e 100%);

  /* Naver Webtoon Brand Tokens */
  --brand-naver: #00dc64;
  --brand-naver-hover: #00f06c;
  --brand-naver-dark: #00b050;
  --gradient-naver: linear-gradient(135deg, #00dc64 0%, #00b050 100%);
  --shadow-glow-naver: 0 8px 25px rgba(0, 220, 100, 0.4);
  --shadow-glow-naver-lg: 0 12px 35px rgba(0, 220, 100, 0.55);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow-red: 0 8px 30px rgba(239, 68, 68, 0.35);
  --shadow-glow-blue: 0 8px 30px rgba(56, 189, 248, 0.25);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
  --font-title: 'Cinzel', serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark only;
  font-family: var(--font-base);
  background-color: #0a0b0e !important;
  background: #0a0b0e !important;
  color: #f8fafc !important;
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color-scheme: dark only;
  background-color: #0a0b0e !important;
  background: #0a0b0e !important;
  color: #f8fafc !important;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient Glow Backgrounds */
.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.bg-glow-blue {
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, #2563eb, transparent);
}

.bg-glow-red {
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, #ef4444, transparent);
}

.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Shinji Hero Backdrop Mural (시안 2: 상단 히어로 백드롭) */
.shinji-hero-mural {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 860px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shinji-hero-mural::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./assets/images/bg_shinji.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: invert(1) brightness(0.95) contrast(1.25);
  opacity: 0.42;
  mix-blend-mode: screen;
}

.shinji-hero-mural::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 11, 14, 0.15) 0%, 
    rgba(10, 11, 14, 0.4) 40%, 
    rgba(10, 11, 14, 0.85) 75%, 
    #0a0b0e 100%);
}

@media (max-width: 768px) {
  .shinji-hero-mural {
    height: 680px;
  }
  .shinji-hero-mural::before {
    opacity: 0.38;
    background-position: center 10%;
  }
}

/* Page Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem 6rem;
}

/* Site Header */
.site-header {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-logo-img {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.site-logo-img:hover {
  transform: scale(1.04);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseAnim 1.8s infinite;
}

.live-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 1rem 0 2.5rem;
}

/* Hero 1994 - 2026 Bold Metallic Monument (Line 1) */
.timeline-monument {
  margin-bottom: 0.95rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.timeline-monument-num {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 3.5px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 55%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
  display: inline-block;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 768px) {
  .timeline-monument {
    margin-bottom: 0.75rem;
  }
  .timeline-monument-num {
    font-size: 1.75rem;
    letter-spacing: 2.5px;
  }
}

@media (max-width: 480px) {
  .timeline-monument {
    margin-bottom: 0.6rem;
  }
  .timeline-monument-num {
    font-size: 1.35rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 360px) {
  .timeline-monument-num {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
}

/* Hero Main Title (Line 2: 100% Scale - Largest & Boldest) */
.hero-title-main {
  font-family: var(--font-display);
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.65rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

.text-gradient-red {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Sub Title (Line 3: ~80% Scale of Line 2) */
.hero-title-sub {
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.4px;
  color: #f8fafc;
  margin-bottom: 1.15rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

@media (max-width: 768px) {
  .hero-title-main {
    font-size: 2.65rem;
    margin-bottom: 0.5rem;
  }
  .hero-title-sub {
    font-size: 1.95rem;
    margin-bottom: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 2.05rem;
    letter-spacing: -0.3px;
    margin-bottom: 0.4rem;
  }
  .hero-title-sub {
    font-size: 1.45rem;
    letter-spacing: -0.2px;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 360px) {
  .hero-title-main {
    font-size: 1.8rem;
  }
  .hero-title-sub {
    font-size: 1.28rem;
  }
}

/* Hero Slogan / Desc (Line 4: ~50% Scale, 1줄 레이아웃) */
.hero-desc {
  font-size: 1.18rem;
  color: #cbd5e1;
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto 1.9rem;
  line-height: 1.5;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-desc {
    font-size: 0.92rem;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.45;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 360px) {
  .hero-desc {
    font-size: 0.85rem;
  }
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-desc .gold-glow {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.35));
}

/* Hero Primary CTA & Share Button Group */
.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gradient-naver);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 40, 15, 0.35);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow-naver);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow-naver-lg);
}

.btn-primary-cta:active {
  transform: translateY(0) scale(0.99);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn-primary-cta:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-share {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-hero-share:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.btn-hero-share:active {
  transform: translateY(0);
}

.btn-share-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: shineAnim 3s infinite;
}

@keyframes shineAnim {
  0% { left: -100%; }
  30%, 100% { left: 150%; }
}

.cta-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero-desc {
    font-size: 1.24rem;
    line-height: 1.52;
    padding: 0 0.5rem;
  }
  .hero-btn-group {
    width: 100%;
    max-width: 360px;
    gap: 0.6rem;
  }
  .btn-primary-cta {
    flex: 1 1 auto;
    padding: 0.8rem 1.4rem;
    font-size: 0.96rem;
  }
  .btn-hero-share {
    flex: 0 0 auto;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
  }
}

/* Episode Navigation & Tabs */
.episode-nav-section {
  margin: 2.5rem 0 3.5rem;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.label-line {
  height: 1px;
  flex: 1;
  max-width: 100px;
  background: linear-gradient(90deg, transparent, var(--border-subtle));
}

.label-line:last-child {
  background: linear-gradient(90deg, var(--border-subtle), transparent);
}

.label-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.episode-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.episode-tabs::-webkit-scrollbar {
  height: 4px;
}
.episode-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.tab-btn {
  position: relative;
  flex: 1;
  min-width: 130px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.15), rgba(22, 27, 39, 0.95));
  border-color: var(--accent-red);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.tab-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.tab-btn.active .tab-num {
  color: #fff;
}

.tab-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 110px;
}

.tab-btn.active .tab-tag {
  color: var(--accent-gold);
  font-weight: 600;
}

.tab-date {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  margin-top: 0.1rem;
}

.tab-btn.active .tab-date {
  color: rgba(255, 255, 255, 0.75);
}

.badge-new {
  position: absolute;
  top: -8px;
  right: -4px;
  background: var(--gradient-flame);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Featured Showcase Card & Cinematic Ambient Glow */
.featured-showcase {
  position: relative;
  margin-top: 1rem;
}

.showcase-ambient-glow {
  position: absolute;
  top: -5%;
  left: 0%;
  width: 48%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.35) 0%, rgba(220, 38, 38, 0.16) 45%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  opacity: 0.8;
  animation: glowBreathe 6s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
  0% { transform: scale(0.96); opacity: 0.65; }
  100% { transform: scale(1.05); opacity: 0.95; }
}

.showcase-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color var(--transition-smooth);
}

@media (min-width: 768px) {
  .showcase-card {
    grid-template-columns: 380px 1fr;
  }
}

.poster-container {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.poster-ambient-aura {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.45) 0%, rgba(220, 38, 38, 0.15) 50%, transparent 75%);
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.poster-container:hover .poster-ambient-aura {
  opacity: 1;
  transform: scale(1.08);
}

.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.poster-container:hover .poster-img {
  transform: scale(1.03);
}

.poster-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  display: flex;
  justify-content: center;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.poster-container:hover .poster-overlay {
  opacity: 1;
}

.zoom-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.showcase-info {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.category-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-platform {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-naver);
  background: rgba(0, 220, 100, 0.12);
  border: 1px solid rgba(0, 220, 100, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.showcase-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.showcase-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.showcase-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-red);
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.bullet-icon {
  font-size: 0.95rem;
}

.action-btn-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-action-primary {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gradient-naver);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 40, 15, 0.35);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 220, 100, 0.35);
  transition: all var(--transition-fast);
}

.btn-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 220, 100, 0.5);
}

.arrow-icon {
  transition: transform var(--transition-fast);
}

.btn-action-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-action-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* 5-Card Full Gallery Grid */
.gallery-section {
  margin-top: 3.5rem;
  background-color: transparent;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 0.9rem;
  color: #94a3b8 !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  background: #141824 !important;
  background-color: #141824 !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.gallery-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.gallery-card.active-border {
  border-color: var(--accent-red);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25);
}

.card-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .card-thumb {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.card-badge.badge-red {
  background: var(--accent-red);
  color: #fff;
}

.card-body {
  background: #141824 !important;
  background-color: #141824 !important;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-headline {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}

.card-subheadline {
  font-size: 0.78rem;
  color: #94a3b8 !important;
  margin-bottom: 0.8rem;
  flex: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.4rem;
}

.card-date {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-naver);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
}

.card-link:hover {
  color: var(--brand-naver-hover);
}

/* Upcoming Grand Finale Teaser Section */
.finale-teaser-section {
  margin-top: 4rem;
}

.teaser-card {
  background: linear-gradient(135deg, rgba(30, 27, 46, 0.8), rgba(15, 17, 26, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.teaser-icon {
  font-size: 2.5rem;
}

.teaser-content {
  flex: 1;
}

.teaser-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #c084fc;
  margin-bottom: 0.4rem;
}

.teaser-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.teaser-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.teaser-desc strong {
  color: var(--accent-gold);
}

.teaser-events-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.event-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Site Footer */
.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  background-color: #0a0b0e !important;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #64748b !important;
  line-height: 1.7;
}

/* Floating Sticky Bottom CTA for Mobile (Smart Scroll) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #0a0b0ef2 !important;
  background-color: #0a0b0ef2 !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.8rem 1.25rem;
  padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  display: none;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  .mobile-sticky-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.sticky-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.sticky-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.btn-sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-naver);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 40, 15, 0.35);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 220, 100, 0.4);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-sticky-cta:hover {
  box-shadow: 0 6px 20px rgba(0, 220, 100, 0.55);
}

.arrow-glow {
  transition: transform var(--transition-fast);
}

.btn-sticky-cta:hover .arrow-glow {
  transform: translateX(3px);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-item {
  background: rgba(22, 27, 39, 0.95);
  border: 1px solid var(--border-active);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  animation: toastFadeIn 0.3s ease, toastFadeOut 0.3s ease 2.7s forwards;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* ==========================================================================
   Enterprise Share Modal & Bottom Sheet Styles
   ========================================================================== */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

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

.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.share-sheet {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: rgba(18, 22, 33, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  padding: 1.75rem;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.share-modal.open .share-sheet {
  transform: scale(1) translateY(0);
}

@media (max-width: 640px) {
  .share-modal {
    align-items: flex-end;
    padding: 0;
  }
  
  .share-sheet {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 1.6rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }

  .share-modal.open .share-sheet {
    transform: translateY(0);
  }
}

.share-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.share-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 0.25rem;
}

.share-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.share-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.share-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.05);
}

/* Share Preview Card */
.share-preview-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.4rem;
}

.share-preview-img {
  width: 52px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #000;
  flex-shrink: 0;
}

.share-preview-info {
  flex: 1;
  min-width: 0;
}

.share-preview-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.share-preview-badge.badge-naver {
  color: var(--brand-naver);
  background: rgba(0, 220, 100, 0.12);
  border-color: rgba(0, 220, 100, 0.35);
}

.share-preview-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.share-preview-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: keep-all;
}

/* Social Channels Grid */
.share-channels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.2rem 0.2rem;
}

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: transform var(--transition-fast), color var(--transition-fast);
  padding: 0;
  flex: 1;
}

.channel-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.channel-btn:active {
  transform: translateY(0);
}

.channel-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.channel-btn:hover .channel-icon-wrap {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.icon-kakao {
  background: #FEE500;
}

.icon-naver {
  background: #03C75A;
}

.icon-twitter {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.icon-facebook {
  background: #1877F2;
}

.icon-more {
  background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

.channel-name {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* Share URL Section */
.share-url-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.share-url-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.share-url-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  gap: 0.6rem;
  transition: border-color var(--transition-fast);
}

.share-url-box:focus-within {
  border-color: var(--accent-red);
}

.share-url-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-url {
  background: var(--gradient-flame);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.btn-copy-url:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-copy-url:active {
  transform: translateY(0);
}

.btn-copy-url.copied {
  background: #10b981;
}

/* ==========================================================================
   공식 프로모션 영상 섹션 (Official Promotion Video - 시안 A)
   ========================================================================== */
.video-cinema-section {
  display: block;
  margin: 1.5rem 0 2.8rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.video-frame-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.5) 0%, rgba(56, 189, 248, 0.3) 50%, rgba(0, 220, 100, 0.4) 100%);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(239, 68, 68, 0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.video-frame-container:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(239, 68, 68, 0.3);
}

.video-frame-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  background: #000;
}

.video-frame-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.video-meta-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}

.video-meta-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .video-cinema-section {
    margin: 1.2rem 0 2rem;
  }
  .video-frame-container {
    border-radius: var(--radius-md);
    padding: 2px;
  }
  .video-frame-inner {
    border-radius: calc(var(--radius-md) - 2px);
  }
  .video-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0 0.25rem;
  }
  .video-meta-title {
    font-size: 0.85rem;
    line-height: 1.4;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Enforced Dark Theme (Immunity to Light Mode)
   - Prevents browser/OS Light Mode from injecting white background or washing out text
   ========================================================================== */
:root {
  color-scheme: dark only !important;
}

html, body {
  background: #0a0b0e !important;
  background-color: #0a0b0e !important;
  color: #f8fafc !important;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: dark only !important;
  }
  html {
    background-color: #0a0b0e !important;
    background: #0a0b0e !important;
    color: #f8fafc !important;
  }
  body {
    background-color: #0a0b0e !important;
    background: #0a0b0e !important;
    color: #f8fafc !important;
  }
  .page-wrapper {
    background: transparent !important;
  }
  .gallery-card, .card-body {
    background: #141824 !important;
    background-color: #141824 !important;
  }
  .showcase-card, .showcase-info {
    background: #161b27 !important;
    background-color: #161b27 !important;
  }
  .teaser-card {
    background: #131522 !important;
    background-color: #131522 !important;
  }
  .tab-btn {
    background: #141824 !important;
    background-color: #141824 !important;
  }
  .site-footer {
    background-color: #0a0b0e !important;
  }
  .mobile-sticky-bar {
    background: #0a0b0ef2 !important;
    background-color: #0a0b0ef2 !important;
  }
}

