/* =========================================
   Mixed Demo 9 — STAR BEAT INSIDE 전용 스타일
   ========================================= */

/* --- 1. 데모9 전용 컬러 토큰 및 변수 오버라이드 --- */
:root {
  --accent-primary: #ff2a70;        /* 네온 핑크 */
  --accent-secondary: #00f3ff;      /* 사이버 블루 */
  --accent-warm: #ffd700;           /* 스포트라이트 골드 */
  --accent-purple: #a855f7;         /* 사이버 바이올렛 */
  --bg-dark: #050508;               /* 스테이지 암흑 */
  --bg-section-alt: #111116;        /* 메탈릭 차콜 */
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-neon: rgba(255, 42, 112, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.05);
  
  --text-heading: 'Outfit', sans-serif;
  --text-serif: 'Playfair Display', serif;
  
  /* 글로우 효과 */
  --glow-pink: 0 0 20px rgba(255, 42, 112, 0.4);
  --glow-blue: 0 0 15px rgba(0, 243, 255, 0.35);
  --glow-purple: 0 0 15px rgba(168, 85, 247, 0.3);
}

[data-mode="light"] {
  --accent-primary: #e11d48;        /* 라이트모드용 로즈 핑크 */
  --accent-secondary: #0891b2;      /* 라이트모드용 사이언 */
  --accent-warm: #d97706;
  --accent-purple: #7c3aed;
  --bg-dark: #fafafa;
  --bg-section-alt: #f1f5f9;
  --bg-card: rgba(0, 0, 0, 0.03);
  --border-neon: rgba(225, 29, 72, 0.15);
  --border-subtle: rgba(0, 0, 0, 0.07);
}

/* --- 2. 기본 바디 조절 --- */
.mixed-main {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Pretendard', 'Inter', sans-serif;
  overflow-x: hidden;
}

/* --- 3. 공통 리액티브 & 글래스모피즘 컴포넌트 --- */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  margin-bottom: 60px;
  max-width: 800px;
}

.section-header.center-align {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

.font-serif {
  font-family: var(--text-serif);
}

.italic {
  font-style: italic;
}

.keep-all {
  word-break: keep-all;
}

/* 글래스모피즘 기본 카드 */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* no-image 플레이스홀더 */
.no-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.01);
  gap: 12px;
  transition: all var(--transition-normal);
}

.no-image-icon {
  font-size: 32px;
}

.no-image-text {
  font-family: var(--text-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.bg-pink { background: linear-gradient(135deg, rgba(255, 42, 112, 0.08) 0%, rgba(5,5,8,0) 100%); }
.bg-blue { background: linear-gradient(135deg, rgba(0, 243, 255, 0.08) 0%, rgba(5,5,8,0) 100%); }
.bg-purple { background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(5,5,8,0) 100%); }

/* --- 4. HERO AREA (WebGL Spotlight & Glitch Text) --- */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background-color: #030305;
  overflow: hidden;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.visual-overlay-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  background: linear-gradient(to top, rgba(5,5,8,0.9) 0%, rgba(5,5,8,0) 60%);
}

.v9-bottom-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.v9-badge {
  display: inline-block;
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  background: rgba(255, 42, 112, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-neon);
  margin-bottom: 20px;
  text-shadow: var(--glow-pink);
}

.v9-title-block {
  margin-bottom: 20px;
}

.v9-char {
  display: inline-block;
  will-change: filter, opacity, transform;
  transform-style: preserve-3d;
}

.v9-title-line {
  font-family: var(--text-heading);
  font-weight: 900;
  font-size: 64px;
  line-height: 1.1;
  text-transform: uppercase;
}

.v9-title-line.accent {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 12px rgba(255, 42, 112, 0.45)) !important;
}

.v9-title-line.accent .v9-char {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.v9-sub-panel {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-secondary);
}

.v9-sub-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent-secondary);
}

.v9-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.v9-divider-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 40px;
}

.v9-nav-right-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

.v9-counter {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
}

.v9-nav-dots {
  display: flex;
  gap: 8px;
}

.v9-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.v9-nav-dot.active {
  background: var(--accent-primary);
  transform: scale(1.3);
  box-shadow: var(--glow-pink);
}

/* --- 5. ARTIST LINEUP (3D Album Cover Flow) --- */
.artists-section {
  position: relative;
  background: var(--bg-dark);
}

.coverflow-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 40px 0;
}

.coverflow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
}

.coverflow-card {
  position: absolute;
  width: 320px;
  height: 460px;
  background: rgba(18, 18, 26, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
}

.coverflow-card.active {
  transform: rotateY(0deg) translateZ(100px);
  z-index: 10;
  opacity: 1;
  border-color: var(--accent-primary);
  box-shadow: var(--glow-pink);
}

.coverflow-card.prev {
  transform: rotateY(45deg) translateZ(0px) translateX(-260px);
  z-index: 5;
  opacity: 0.6;
}

.coverflow-card.next {
  transform: rotateY(-45deg) translateZ(0px) translateX(260px);
  z-index: 5;
  opacity: 0.6;
}

.coverflow-card.hidden-prev {
  transform: rotateY(45deg) translateZ(-100px) translateX(-400px);
  z-index: 1;
  opacity: 0;
}

.coverflow-card.hidden-next {
  transform: rotateY(-45deg) translateZ(-100px) translateX(400px);
  z-index: 1;
  opacity: 0;
}

.coverflow-image-area {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.coverflow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.coverflow-card:hover .coverflow-img {
  transform: scale(1.05);
}

.coverflow-details {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(18,18,26,0.5) 0%, rgba(5,5,8,0.95) 100%);
}

.coverflow-details h4 {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.album-type {
  font-size: 13px;
  color: var(--accent-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

.tracklist {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tracklist li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverflow-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.coverflow-nav-btn {
  font-size: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.coverflow-nav-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: var(--glow-pink);
  transform: scale(1.08);
}

.coverflow-dots {
  display: flex;
  gap: 8px;
}

.coverflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.coverflow-dot.active {
  background: var(--accent-primary);
  transform: scale(1.2);
  box-shadow: var(--glow-pink);
}

/* --- 6. STAR BEAT CHRONICLE (스타비트 히스토리 & 소식) --- */
.history-section {
  background-color: var(--bg-section-alt);
}

.history-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.history-visual-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.history-img-wrapper {
  width: 100%;
  flex-grow: 1;
  min-height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.history-viewer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: contrast(1.15) brightness(0.9);
}

/* 반투명 네온 글래스 오버레이 패널 */
.history-spec-panel {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--glow-pink);
  transition: all 0.4s ease;
}

.history-spec-panel .history-spec-tag {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #ff2a70 !important;
  text-shadow: var(--glow-pink) !important;
  display: block;
  margin-bottom: 6px;
}

.history-spec-panel .history-spec-year {
  font-family: var(--text-heading);
  font-weight: 900;
  font-size: 24px;
  color: #ffffff !important;
  margin-bottom: 8px;
}

.history-spec-panel .history-spec-detail {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85) !important;
  word-break: keep-all;
}

/* 우측 역사/소식 카드 그룹 */
.history-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.history-card:hover,
.history-card.active {
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-blue);
  transform: translateX(8px);
  background: rgba(0, 243, 255, 0.02);
}

.history-date {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-primary);
  text-shadow: var(--glow-pink);
}

.history-card h4 {
  font-family: var(--text-heading);
  font-weight: 850;
  font-size: 16px;
  margin: 6px 0;
  color: var(--text-primary);
}

.history-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.history-quote-badge {
  font-size: 12px;
  font-style: italic;
  color: var(--accent-secondary);
  background: rgba(0, 243, 255, 0.05);
  padding: 6px 12px;
  border-radius: 4px;
  border-left: 2px solid var(--accent-secondary);
  word-break: keep-all;
}

/* 각 에라별 활성화 시 좌측 비주얼 보조 글로우 효과 */
.history-visual-container.active-era1 { border-color: var(--accent-primary); box-shadow: 0 20px 40px rgba(255, 42, 112, 0.25); }
.history-visual-container.active-era2 { border-color: var(--accent-secondary); box-shadow: 0 20px 40px rgba(0, 243, 255, 0.25); }
.history-visual-container.active-era3 { border-color: var(--accent-purple); box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25); }
.history-visual-container.active-era4 { border-color: var(--accent-warm); box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2); }

/* --- 7. PRODUCER ROOM (에디토리얼 & 오디오 비주얼라이저 데코) --- */
.producer-section {
  background: var(--bg-dark);
}

.producer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.producer-interview {
  padding-right: 20px;
}

.interview-header {
  font-size: 32px;
  line-height: 1.3;
  margin-top: 16px;
  color: var(--text-primary);
}

.interview-author {
  font-size: 14px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 32px;
}

.interview-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.q-block {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-secondary);
}

.a-block {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.visualizer-container {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.visualizer-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

.visualizer-title {
  color: var(--accent-primary);
}

.visualizer-status {
  color: var(--accent-secondary);
}

.visualizer-canvas-wrapper {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#visualizer-canvas {
  width: 100%;
  height: 220px;
  background: #060608;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.visualizer-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.visualizer-btn {
  background: var(--accent-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.visualizer-btn:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-pink);
}

.visualizer-trackbar {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.trackbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  box-shadow: var(--glow-pink);
}

.vis-timer {
  color: var(--text-secondary);
}

/* --- 8. PRACTICE ROOM (Hover Video Preview Grid) --- */
.practice-section {
  background: var(--bg-section-alt);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.video-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-pink);
  transform: translateY(-6px);
}

.video-thumbnail-area {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition-normal);
  background-color: #000;
}

.video-preview-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card:hover .video-preview-wrapper {
  opacity: 1;
}

.video-info {
  padding: 24px;
}

.video-tag {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
}

.video-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.4;
}

/* --- 9. GLOBAL AUDITION (네온 D-Day 벤토 그리드) --- */
.audition-section {
  background: var(--bg-dark);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
  margin-top: 40px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow: hidden;
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-start;
  gap: 32px;
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-item.tall {
  grid-row: span 2;
}

.pink-border:hover { border-color: var(--accent-primary); box-shadow: var(--glow-pink); }
.blue-border:hover { border-color: var(--accent-secondary); box-shadow: var(--glow-blue); }
.purple-border:hover { border-color: var(--accent-purple); box-shadow: var(--glow-purple); }
.bento-item.tall:hover { border-color: var(--accent-warm); box-shadow: 0 0 15px rgba(255,215,0,0.25); }

.bento-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.bento-title-icon {
  font-size: 14px;
}

.bento-countdown-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.countdown-display {
  display: flex;
  gap: 20px;
}

.time-unit {
  display: flex;
  flex-direction: column;
}

.time-unit .num {
  font-family: var(--text-heading);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  color: var(--accent-primary);
  text-shadow: var(--glow-pink);
}

.time-unit .unit {
  font-family: var(--text-heading);
  font-weight: 600;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.countdown-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
}

.bento-item .bento-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-num-display {
  display: flex;
  align-items: baseline;
  margin-top: auto;
  margin-bottom: 24px;
}

.bento-number {
  font-family: var(--text-heading);
  font-weight: 850;
  font-size: 56px;
  line-height: 1;
  color: var(--accent-warm);
}

.bento-unit {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-secondary);
  margin-left: 4px;
}

/* --- 10. NEXT GENERATION (3D Silhouette Hover Flip) --- */
.nextgen-section {
  background: var(--bg-section-alt);
}

.nextgen-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  perspective: 1200px;
}

.nextgen-card-container {
  width: 320px;
  height: 480px;
  transform-style: preserve-3d;
}

.nextgen-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nextgen-card-container:hover .nextgen-card {
  transform: rotateY(180deg);
}

.nextgen-front, .nextgen-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  backface-visibility: hidden;
  overflow: hidden;
}

.nextgen-front {
  background: rgba(18, 18, 26, 0.9);
  display: flex;
  flex-direction: column;
}

.silhouette-wrapper {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  background: #020204;
}

.silhouette-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.1) contrast(1.5) drop-shadow(0 0 12px var(--accent-primary));
  transition: all var(--transition-normal);
}

.silhouette-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sh-quest {
  font-family: var(--text-heading);
  font-size: 80px;
  font-weight: 800;
  opacity: 0.15;
}

.front-label {
  padding: 16px 20px;
  background: linear-gradient(to top, #000 0%, transparent 100%);
}

.sh-code {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
}

.front-label h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

/* 카드 뒷면: 프로필 공개 */
.nextgen-back {
  background: rgba(10, 10, 15, 0.95);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
}

.back-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.back-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 24px;
}

.back-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.back-info h4 {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-primary);
}

.trainee-role {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.trainee-quote {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 12px 0;
}

.trainee-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: auto;
}

/* --- 11. NEWS MARQUEE (엔터 뉴스 마퀴) --- */
.marquee-news-section {
  background: var(--bg-dark);
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.glitch-marquee-container {
  overflow: hidden;
  width: 100%;
}

.glitch-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: glitchMarquee 25s infinite linear;
}

@keyframes glitchMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.glitch-item {
  font-family: var(--text-heading);
  font-weight: 900;
  font-size: 24px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  padding: 0 40px;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.glitch-item:hover {
  -webkit-text-stroke: 1px var(--accent-primary);
  text-shadow: var(--glow-pink);
  transform: scale(1.05);
}

/* --- 12. FANDOM EVENT (3D 편지 접기 및 우체통 드롭) --- */
.fandom-section {
  background: var(--bg-section-alt);
}

.fandom-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  perspective: 1500px;
}

.letter-form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
  transform-style: preserve-3d;
}

.letter-paper {
  width: 100%;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out, opacity 1s ease;
  position: relative;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.letter-form-title {
  font-family: var(--text-heading);
  font-weight: 850;
  font-size: 20px;
  color: var(--accent-primary);
  text-shadow: var(--glow-pink);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,42,112,0.15);
  padding-bottom: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.form-select option {
  background-color: #0b0b12;
  color: #fff;
}

.form-textarea {
  height: 120px;
  resize: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: var(--glow-blue);
  background: rgba(0, 243, 255, 0.01);
}

.letter-submit-btn {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--glow-pink);
}

.letter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(255, 42, 112, 0.6);
}

/* 3D 우체통 게이트 */
.mailbox-wrapper {
  display: flex;
  justify-content: center;
}

.neon-mailbox {
  width: 320px;
  height: 420px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 42, 112, 0.08), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(255, 42, 112, 0.25);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 
              0 0 30px rgba(255, 42, 112, 0.15),
              inset 0 0 35px rgba(255, 42, 112, 0.05);
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow: hidden;
}

.neon-mailbox.active {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-pink), inset 0 0 25px rgba(255, 42, 112, 0.15);
}

/* Mailbox scanner/laser slots */
.mailbox-scanner-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-secondary);
  box-shadow: var(--glow-blue);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 5;
}

.neon-mailbox.active .mailbox-scanner-glow {
  opacity: 1;
  animation: scanLine 2s infinite ease-in-out;
}

@keyframes scanLine {
  0% { top: 5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

.mailbox-slot-neon {
  width: 100%;
  height: 38px;
  background: #020204;
  border: 1.5px solid var(--accent-secondary);
  border-radius: 6px;
  box-shadow: var(--glow-blue), inset 0 0 10px rgba(0, 243, 255, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-laser {
  width: 90%;
  height: 2px;
  background: var(--accent-secondary);
  box-shadow: var(--glow-blue);
  animation: laserPulse 1.5s infinite alternate ease-in-out;
}

@keyframes laserPulse {
  0% { transform: scaleX(0.85); filter: brightness(1); }
  100% { transform: scaleX(1); filter: brightness(1.6); }
}

/* Futuristic rotating core hologram */
.mailbox-core-container {
  width: 110px;
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.mailbox-core-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 243, 255, 0.35);
  border-radius: 50%;
  animation: rotateRing 8s infinite linear;
}

.neon-mailbox.active .mailbox-core-ring {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-pink);
  animation: rotateRing 3s infinite linear;
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mailbox-core-orb {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 42, 112, 0.1) 60%, rgba(255, 42, 112, 0.4) 100%);
  border: 1px solid rgba(255, 42, 112, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 20px rgba(255, 42, 112, 0.2), inset 0 0 15px rgba(255, 42, 112, 0.2);
  transition: all var(--transition-normal);
  animation: orbFloat 3s infinite ease-in-out;
  user-select: none;
}

.neon-mailbox.active .mailbox-core-orb {
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--accent-primary) 70%, var(--accent-purple) 100%);
  box-shadow: var(--glow-pink), inset 0 0 10px #fff;
  transform: scale(1.15);
  animation: orbPulse 0.5s infinite alternate ease-in-out;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes orbPulse {
  0% { transform: scale(1.08) translateY(0); }
  100% { transform: scale(1.18) translateY(-4px); }
}

.mailbox-body {
  text-align: center;
  z-index: 2;
}

.mailbox-label {
  font-family: var(--text-heading);
  font-weight: 950;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mailbox-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 10px;
  transition: color var(--transition-fast);
}

.neon-mailbox.active .mailbox-indicator {
  color: var(--accent-primary);
  text-shadow: var(--glow-pink);
}

.mailbox-bottom-glow {
  position: absolute;
  bottom: -20px;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 42, 112, 0.45), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.neon-mailbox.active .mailbox-bottom-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 243, 255, 0.6), transparent 70%);
}

/* 3D 편지 접기 애니메이션 클래스 */
.letter-paper.folding {
  animation: letterFold 1.2s forwards ease-in-out;
}

@keyframes letterFold {
  0% {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    opacity: 1;
  }
  30% {
    transform: rotateX(45deg) rotateY(-10deg) scale(0.9);
  }
  70% {
    transform: rotateX(80deg) rotateY(45deg) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: rotateX(90deg) rotateY(90deg) scale(0);
    opacity: 0;
  }
}

/* --- 13. LYRICS QUOTE (네온 오디오 웨이브 타이포그래피) --- */
.lyrics-section {
  position: relative;
  background: var(--bg-dark);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lyrics-audio-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

.lyrics-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.lyrics-meta {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent-secondary);
  margin-bottom: 20px;
  display: block;
  text-shadow: var(--glow-blue);
}

.lyrics-title {
  font-size: 36px;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 600;
}

.lyrics-lyrics {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  display: block;
}

/* --- 14. ARCHIVE (지난 호 보기 — 마그네틱 스택 앨범 슬라이더) --- */
.archive-section {
  background: var(--bg-section-alt);
}

.archive-stack-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.archive-stack-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 360px;
  margin: 0 auto;
}

.archive-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: rgba(18, 18, 26, 0.95);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  pointer-events: none;
  z-index: 1;
}

.archive-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 10;
  border-color: var(--accent-primary);
  box-shadow: var(--glow-pink);
}

.archive-card.prev {
  opacity: 0.4;
  transform: translateY(-20px) scale(0.95);
  z-index: 5;
}

.archive-card.next {
  opacity: 0.4;
  transform: translateY(20px) scale(0.95);
  z-index: 5;
}

.archive-img-holder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.archive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-text-overlay {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(18,18,26,0.95) 0%, rgba(5,5,8,0.98) 100%);
}

.issue-number {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.archive-text-overlay h4 {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.archive-text-overlay p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.archive-stack-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.archive-ctrl-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 8px 20px;
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.archive-ctrl-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: var(--glow-pink);
}

.archive-stack-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- 15. FOOTER (사운드 이퀄라이저 데코 푸터) --- */
.section-footer {
  background: #020204;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 24px 40px;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-equalizer-decor {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 40px;
  width: 100%;
  opacity: 0.25;
  overflow: hidden;
}

.eq-bar {
  flex-grow: 1;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 1px 1px 0 0;
  transition: height var(--transition-fast);
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 480px;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-right: 6px;
}

.logo-text {
  font-family: var(--text-heading);
  font-weight: 850;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.link-group h5 {
  font-family: var(--text-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.link-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.link-group a {
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--accent-primary);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* --- 16. <dialog> 모달 스타일 --- */
.custom-dialog {
  border: 1px solid var(--border-neon);
  background: rgba(10, 10, 15, 0.95);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6), var(--glow-pink);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  outline: none;
}

.custom-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.dialog-emoji {
  font-size: 48px;
}

.dialog-title {
  font-family: var(--text-heading);
  font-weight: 800;
  font-size: 22px;
}

.dialog-msg {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dialog-close-btn {
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.dialog-close-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* --- 17. 반응형 및 모바일 뷰 시뮬레이터 대응 --- */

/* 모바일 뷰 강제 스타일링 (.view-mobile 클래스 지원) */
.mixed-main.view-mobile .section-container {
  padding: 60px 16px;
}

.mixed-main.view-mobile .section-title {
  font-size: 28px;
}

.mixed-main.view-mobile .hero-section {
  height: 70vh;
}

/* 히어로 텍스트 라이트모드 폰트 컬러 검은색 차단 오버라이드 */
.hero-section .v9-badge,
.hero-section .v9-title-line:not(.accent),
.hero-section .v9-counter,
.hero-section .v9-sub-text {
  color: #ffffff !important;
}

.hero-section .v9-title-line.accent {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 12px rgba(255, 42, 112, 0.45)) !important;
}

.hero-section .v9-title-line.accent .v9-char {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.hero-section .v9-sub-text {
  color: var(--accent-secondary) !important;
}

.hero-section .v9-nav-dot {
  background: rgba(255, 255, 255, 0.2) !important;
}

.hero-section .v9-nav-dot.active {
  background: var(--accent-primary) !important;
  box-shadow: var(--glow-pink) !important;
}

.mixed-main.view-mobile .v9-title-line {
  font-size: 32px;
}

.mixed-main.view-mobile .coverflow-container {
  height: 380px;
}

.mixed-main.view-mobile .coverflow-card {
  width: 240px;
  height: 340px;
}

.mixed-main.view-mobile .coverflow-image-area {
  height: 180px;
}

.mixed-main.view-mobile .coverflow-card.prev {
  transform: rotateY(45deg) translateZ(0) translateX(-180px);
}

.mixed-main.view-mobile .coverflow-card.next {
  transform: rotateY(-45deg) translateZ(0) translateX(180px);
}

/* 연혁 크로니클 모바일 최적화 (절대좌표 패널 해제 및 이미지 축소로 겹침 해결) */
.mixed-main.view-mobile .history-layout,
.mixed-main.view-mobile .producer-layout,
.mixed-main.view-mobile .fandom-layout {
  grid-template-columns: 1fr;
  gap: 32px;
}

.mixed-main.view-mobile .history-img-wrapper {
  height: 240px;
  min-height: auto;
}

.mixed-main.view-mobile .history-spec-panel {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin-top: 16px;
  padding: 16px;
  box-shadow: none;
}

.mixed-main.view-mobile .video-grid {
  grid-template-columns: 1fr;
}

.mixed-main.view-mobile .bento-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 16px;
}

.mixed-main.view-mobile .bento-item {
  padding: 20px;
}

.mixed-main.view-mobile .bento-item.large,
.mixed-main.view-mobile .bento-item.wide,
.mixed-main.view-mobile .bento-item.tall {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

.mixed-main.view-mobile .countdown-display {
  gap: 12px;
  flex-wrap: wrap;
}

.mixed-main.view-mobile .time-unit .num {
  font-size: 32px;
}

.mixed-main.view-mobile .bento-number {
  font-size: 42px;
}

/* 팬레터 폼 모바일 패딩 및 인풋 행 붕괴로 탈조(Overflow) 해결 */
.mixed-main.view-mobile .letter-paper {
  padding: 24px 20px;
}

.mixed-main.view-mobile .form-row {
  grid-template-columns: 1fr;
  gap: 16px;
}

.mixed-main.view-mobile .nextgen-cards-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mixed-main.view-mobile .nextgen-card-container {
  width: 100%;
  max-width: 320px;
}

.mixed-main.view-mobile .archive-card {
  grid-template-columns: 1fr;
}

.mixed-main.view-mobile .archive-text-overlay {
  padding: 20px;
}

.mixed-main.view-mobile .footer-main-row {
  flex-direction: column;
  gap: 30px;
}

.mixed-main.view-mobile .footer-links {
  gap: 40px;
}

/* 일반 브라우저 미디어 쿼리 */
@media (max-width: 1024px) {
  .history-layout, .producer-layout, .fandom-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .history-img-wrapper {
    height: 320px;
    min-height: auto;
  }
  
  .history-spec-panel {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
    padding: 16px;
    box-shadow: none;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 60px 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-section {
    height: 80vh;
  }
  
  .hero-section .v9-badge,
  .hero-section .v9-title-line:not(.accent),
  .hero-section .v9-counter,
  .hero-section .v9-sub-text {
    color: #ffffff !important;
  }
  
  .hero-section .v9-title-line.accent {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 12px rgba(255, 42, 112, 0.45)) !important;
  }

  .hero-section .v9-title-line.accent .v9-char {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }

  .v9-title-line {
    font-size: 38px;
  }
  
  .coverflow-container {
    height: 400px;
  }
  
  .coverflow-card {
    width: 250px;
    height: 350px;
  }
  
  .coverflow-image-area {
    height: 200px;
  }
  
  .coverflow-card.prev {
    transform: rotateY(45deg) translateZ(0) translateX(-180px);
  }
  
  .coverflow-card.next {
    transform: rotateY(-45deg) translateZ(0) translateX(180px);
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .history-img-wrapper {
    height: 240px;
    min-height: auto;
  }

  .history-spec-panel {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
    padding: 16px;
    box-shadow: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  
  .bento-item {
    padding: 20px;
  }
  
  .bento-item.large,
  .bento-item.wide,
  .bento-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .countdown-display {
    gap: 12px;
    flex-wrap: wrap;
  }

  .time-unit .num {
    font-size: 32px;
  }

  .bento-number {
    font-size: 42px;
  }

  /* 팬레터 폼 모바일 해상도 대응 */
  .letter-paper {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .nextgen-cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  
  .nextgen-card-container {
    width: 100%;
    max-width: 320px;
  }
  
  .archive-card {
    grid-template-columns: 1fr;
  }
  
  .archive-text-overlay {
    padding: 24px;
  }
  
  .footer-main-row {
    flex-direction: column;
    gap: 32px;
  }
}
