@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;700;900&display=swap');

:root {
  --main-ruby: #990B2E;    /* 더 어둡게 */
  --bright-rose: #B91C1C;  /* 더 어둡게 */
  --name-gold: #EAB308;    /* 조금 더 진한 골드 */
  --dark-bg: #030001;      /* 배경도 조금 더 어둡게 */
  --card-bg: rgba(15, 0, 5, 0.82);
  --glass-border: rgba(225, 29, 72, 0.2);
  --glass-blur: blur(15px);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark-bg);
  color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  overflow-x: hidden;
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-red);
  border-radius: 4px;
}

/* ════════════════════════════
   배경 (무한성 기하학적 + 마젠타 글로우)
════════════════════════════ */
.bg-base {
  position: fixed;
  inset: 0;
  z-index: -4;
  background: 
    radial-gradient(ellipse at 50% 10%, rgba(130, 0, 30, 0.4) 0%, transparent 70%),
    radial-gradient(circle at 80% 80%, rgba(60, 0, 20, 0.5) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0 L10 100 M90 0 L90 100 M0 10 L100 10 M0 90 L100 90' stroke='rgba(255,26,74,0.03)' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    #050002;
  perspective: 1000px;
}

.bg-particles {
  position: fixed;
  inset: -50%;
  z-index: -3;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(rgba(255, 26, 74, 0.3) 1px, transparent 1px),
    radial-gradient(rgba(255, 200, 200, 0.1) 1.5px, transparent 1.5px);
  background-size: 40px 40px, 90px 90px;
  animation: spatialDrift 40s linear infinite;
  transform: rotateZ(15deg) rotateX(45deg);
  opacity: 0.6;
}

@keyframes spatialDrift {
  0% { transform: rotateZ(15deg) rotateX(45deg) translateY(0); }
  100% { transform: rotateZ(15deg) rotateX(45deg) translateY(-800px); }
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(2, 0, 1, 0.9) 100%);
  pointer-events: none;
}

/* 불꽃 -> 혈귀술 아우라 */
.flame {
  position: fixed;
  bottom: -50px;
  width: 300px;
  height: 600px;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, 
    rgba(255, 0, 64, 0.25) 0%, 
    rgba(150, 0, 40, 0.15) 35%, 
    transparent 70%);
  filter: blur(15px);
  animation: auraPulse 3s ease-in-out infinite alternate;
}
.flame-left { left: -80px; }
.flame-right { right: -80px; transform: scaleX(-1); animation-delay: 1.5s; }

@keyframes auraPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.3) translateY(-20px); }
}

.bg-scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255, 26, 74, 0.02) 4px, rgba(255, 26, 74, 0.02) 5px);
  pointer-events: none;
}

/* ════════════════════════════
   NAV (글래스모피즘 적용)
════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5000;
  background: rgba(5, 0, 2, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 4px;
  text-shadow: 0 0 15px rgba(255, 26, 74, 0.8), 0 0 30px rgba(255, 26, 74, 0.4);
  transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.logo:hover {
  color: var(--bright-red);
  text-shadow: 0 0 25px var(--bright-red), 0 0 50px rgba(255, 26, 74, 0.6);
  transform: scale(1.05);
}

.nav-links a {
  color: #a0a0a0;
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  transition: 0.4s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--bright-red);
  box-shadow: 0 0 10px var(--bright-red);
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ════════════════════════════
   히어로 섹션
════════════════════════════ */
.hof-hero {
  height: 70vh;
  min-height: 500px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 26, 74, 0.15) 0%, transparent 60%);
  animation: glowPulse 4s infinite alternate;
}

.hof-label {
  font-size: 0.75rem;
  letter-spacing: 1rem;
  color: #ff8095;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #fff 0%, #ffcbd1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 26, 74, 0.4));
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  animation: splitFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.bar {
  color: var(--bright-red);
  -webkit-text-fill-color: var(--bright-red);
  text-shadow: 0 0 30px var(--bright-red), 0 0 60px rgba(255, 26, 74, 0.6);
  margin: 0 20px;
  font-weight: 300;
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  From { text-shadow: 0 0 20px var(--bright-red), 0 0 40px rgba(255, 26, 74, 0.5); }
  To { text-shadow: 0 0 40px var(--bright-red), 0 0 80px rgba(255, 26, 74, 1); }
}

.hero-sub {
  margin-top: 30px;
  color: #ccc;
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splitFade {
  from { opacity: 0; transform: scale(1.1) translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--bright-red), transparent);
  animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════
   섹션 공통 사항
════════════════════════════ */
.hof-section, .cat-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 6%;
  margin-bottom: 20px;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 26, 74, 0.6), transparent);
  box-shadow: 0 0 10px rgba(255, 26, 74, 0.4);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.section-desc {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  margin-bottom: 60px;
}

/* ════════════════════════════
   전체 통계 배너 (Glassmorphism)
════════════════════════════ */
.total-stats {
  display: flex;
  justify-content: center;
  margin: 0 6% 80px;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,26,74,0.05);
  overflow: hidden;
  position: relative;
}

.total-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bright-red) 30%, var(--gold) 50%, var(--bright-red) 70%, transparent);
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 15px;
  transition: background 0.4s;
  position: relative;
}

.stat-item:hover {
  background: rgba(255, 26, 74, 0.1);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.stat-item:hover .stat-num {
  transform: translateY(-5px) scale(1.1);
}

.gold-c { color: var(--gold); text-shadow: 0 0 30px rgba(255, 230, 0, 0.6); }
.silver-c { color: var(--silver); text-shadow: 0 0 30px rgba(226, 232, 240, 0.5); }
.bronze-c { color: var(--bronze); text-shadow: 0 0 30px rgba(230, 126, 34, 0.6); }
.white-c { color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, 0.4); }

.stat-label {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

/* ════════════════════════════
   업다운 슬라이더 영역
════════════════════════════ */
.slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 70px;
}

.cards-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px 50px;
  scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 50px;
  height: 50px;
  background: rgba(10, 0, 4, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-arrow:hover {
  background: var(--bright-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 26, 74, 0.6);
  transform: translateY(-60%) scale(1.1);
}
.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

/* ════════════════════════════
   팀 카드 (Trendy 3D Glassmorphism)
════════════════════════════ */
.team-card {
  flex: 0 0 280px;
  min-height: 380px;
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.team-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 20px 30px 50px rgba(0,0,0,0.6), 0 0 30px rgba(255, 26, 74, 0.3), inset 0 0 0 1px rgba(255,255,255,0.2);
  border-color: rgba(255, 26, 74, 0.6);
}

.team-card:hover::before { opacity: 1; }

.card-top-bar { display: none; } /* 기존 띠 제거, 모던 테두리로 대체 */

.card-medal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.team-card:hover .card-medal-icon {
  transform: scale(1.15) rotateY(15deg);
}

.gold .card-medal-icon {
  background: linear-gradient(135deg, #fff3a0 0%, #ffd700 50%, #b8860b 100%);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255,255,255,0.5);
  color: #3a2200;
}
.silver .card-medal-icon {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #94a3b8 100%);
  box-shadow: 0 10px 20px rgba(192, 192, 192, 0.3), inset 0 0 15px rgba(255,255,255,0.5);
  color: #1e293b;
}
.bronze .card-medal-icon {
  background: linear-gradient(135deg, #fbc687 0%, #e67e22 50%, #935116 100%);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4), inset 0 0 15px rgba(255,255,255,0.5);
  color: #3e1f00;
}

.card-medal-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  z-index: 1;
}

.gold .card-medal-label { color: var(--gold); }
.silver .card-medal-label { color: var(--silver); }
.bronze .card-medal-label { color: var(--bronze); }

.card-team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 0.1rem;
  z-index: 1;
}

.card-achievement {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  z-index: 1;
}

.card-divider {
  width: 50%;
  height: 2px;
  background: rgba(255, 26, 74, 0.3);
  margin-bottom: 15px;
  border-radius: 2px;
  z-index: 1;
}

.card-date, .card-type {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  z-index: 1;
}
.card-type {
  font-weight: 700;
  color: var(--bright-red);
  margin-top: 5px;
}

/* ════════════════════════════
   카테고리 탭 (모던 토글 스위치 형태)
════════════════════════════ */
.category-tabs {
  display: flex;
  gap: 15px;
  margin: 0 6% 40px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.tab-btn {
  padding: 12px 24px;
  background: rgba(20, 0, 5, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: #999;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tab-btn:hover {
  background: rgba(255, 26, 74, 0.15);
  color: #fff;
  border-color: rgba(255, 26, 74, 0.4);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--bright-red);
  color: #fff;
  border-color: var(--bright-red);
  box-shadow: 0 8px 25px rgba(255, 26, 74, 0.5);
}

/* ════════════════════════════
   카테고리 통계 뱃지
════════════════════════════ */
.cat-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 6%;
  margin-bottom: 40px;
  justify-content: center;
}

.cat-badge {
  padding: 10px 22px;
  background: rgba(10, 0, 4, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cat-badge:hover { transform: translateY(-3px) scale(1.05); }

.cat-badge.gold { border: 1px solid rgba(255, 215, 0, 0.4); color: var(--gold); }
.cat-badge.silver { border: 1px solid rgba(192, 192, 192, 0.4); color: var(--silver); }
.cat-badge.bronze { border: 1px solid rgba(205, 127, 50, 0.4); color: var(--bronze); }
.cat-badge.total { border: 1px solid rgba(255, 26, 74, 0.4); color: #fff; }

.empty-state {
  flex: 0 0 100%;
  text-align: center;
  padding: 100px 40px;
  color: #555;
}
.empty-icon { font-size: 4rem; opacity: 0.2; display: block; margin-bottom: 20px; }

/* ════════════════════════════
   푸터
════════════════════════════ */
footer {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: linear-gradient(to top, rgba(5,0,2,0.9), transparent);
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bright-red);
  text-shadow: 0 0 20px rgba(255, 26, 74, 0.8);
  letter-spacing: 8px;
}

footer p {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.2rem;
}

.footer-disclaimer {
  font-size: 0.6rem !important;
  color: #444 !important;
  letter-spacing: 0.05rem !important;
  line-height: 1.6;
  max-width: 600px;
  padding: 0 20px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 26, 74, 0.3), transparent);
}

/* ════════════════════════════
   라이브 대시보드 (New Dashboard)
════════════════════════════ */
.live-dashboard-section {
  padding: 160px 6% 100px;
  position: relative;
  z-index: 10;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 60px;
}

.dashboard-header .glow-title {
  font-size: 4rem;
  margin-bottom: 20px;
}

.dashboard-subtitle {
  color: #888;
  letter-spacing: 0.3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* 라이브 그리드 */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* 프리미엄 라이브 카드 */
.live-card-v2 {
  background: rgba(15, 0, 5, 0.6);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 26, 74, 0.12);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.live-card-v2:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 26, 74, 0.4);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255, 26, 74, 0.15);
}

/* 테두리 포인트 */
.live-card-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bright-red), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.live-card-v2:hover::before { opacity: 1; }

/* 썸네일 영역 (16:9) */
.card-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.card-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.live-card-v2:hover .card-thumbnail-wrap img {
  transform: scale(1.08);
}

/* 라이브 뱃지 (Pill 디자인) */
.card-live-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(225, 29, 72, 0.5);
  z-index: 5;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-live-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--bright-rose);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--bright-rose);
  animation: badge-pulse 1.5s infinite;
}
@keyframes badge-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.live-card-v2.offline .card-live-badge {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}
.live-card-v2.offline .card-live-badge::before {
  background: #555;
  box-shadow: none;
  animation: none;
}

/* 멤버 아바타 오버랩 */
.card-avatar-wrap {
  position: absolute;
  bottom: -30px; left: 25px;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 3px solid var(--dark-bg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.8), 0 0 20px var(--accent-glow);
  overflow: hidden;
  z-index: 10;
  background: #222;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.live-card-v2:hover .card-avatar-wrap {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.9), 0 0 30px var(--neon-cyan);
  border-color: var(--neon-cyan);
}
.card-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 카드 바디 */
.card-body-v2 {
  padding: 50px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-streamer-name {
  font-size: 0.9rem;
  color: var(--name-gold);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 1.5px;
}

.card-stream-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 버튼 */
.card-action-v2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-visit-soop {
  color: #ddd;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 10px 24px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  text-transform: uppercase;
}
.live-card-v2:hover .btn-visit-soop {
  color: #fff;
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--bright-rose);
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.2);
  letter-spacing: 3.5px;
}

@media (max-width: 1200px) {
  .hero-title { font-size: 7rem; }
  .dashboard-header .glow-title { font-size: 3rem; }
  .total-stats { margin: 0 4% 60px; }
}

@media (max-width: 768px) {
  nav { 
    height: auto; 
    min-height: 80px;
    padding: 15px 6%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .logo {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  
  .nav-links {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  
  .nav-links a {
    margin: 0 12px;
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    margin-left: 0; /* Override root margin-left */
  }

  .hero-title { font-size: 4rem; }
  .hof-hero { height: 60vh; min-height: 400px; }
  .hero-sub { font-size: 0.7rem; letter-spacing: 0.2rem; }
  
  .live-grid { grid-template-columns: 1fr; }
  .live-dashboard-section { padding-top: 120px; }
  
  .total-stats { flex-direction: column; margin-bottom: 40px; }
  .stat-item { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-num { font-size: 3rem; }
  
  .category-tabs { gap: 10px; margin-bottom: 30px; }
  .tab-btn { padding: 10px 18px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .dashboard-header .glow-title { font-size: 2.2rem; }
  .section-title { font-size: 1.1rem; letter-spacing: 0.3rem; }
  .section-header { gap: 15px; }
  
  .live-card-v2 { border-radius: 12px; }
  .card-body-v2 { padding: 40px 15px 15px; }
  .card-stream-title { font-size: 1.1rem; }
}

/* 네비게이션 펄스 효과 */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bright-red);
  margin-left: 6px;
  box-shadow: 0 0 10px var(--bright-red), 0 0 20px var(--bright-red);
  animation: neon-pulse 1.5s infinite alternate;
  vertical-align: middle;
}

@keyframes neon-pulse {
  from {
    opacity: 1;
    box-shadow: 0 0 5px var(--bright-red), 0 0 10px var(--bright-red);
  }
  to {
    opacity: 0.3;
    box-shadow: 0 0 15px var(--bright-red), 0 0 30px #ff0000;
  }
}

/* 라이브 극장 (메인 상단) */
.live-theater {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}

.theater-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 26, 74, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.stream-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: rgba(10, 5, 5, 0.7);
  border: 1px solid var(--border-red);
  box-shadow: 0 0 30px rgba(255, 26, 74, 0.2);
  border-radius: 12px;
  z-index: 1;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.soop-embed-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0px,
    rgba(0, 0, 0, 0.8) 2px,
    transparent 2px,
    transparent 4px
  );
}

.iframe-mock {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #222 0%, #050002 100%);
}

.stream-overlay strong {
  color: var(--bright-red);
}

/* ── 실제 스트림 플레이어 전용 ── */
.player-wrap {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.player-placeholder {
  text-align: center;
}

.player-placeholder .soop-logo {
  font-size: 5rem;
  font-family: 'Oswald', sans-serif;
  color: #fff;
  opacity: 0.1;
  margin-bottom: 20px;
}

.player-placeholder p {
  color: #666;
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
}

.stream-info-bar {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 26, 74, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.info-left h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
}

.info-right {
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: right;
}

.info-right p {
  font-size: 1rem;
  color: #999;
}

.go-soop-btn {
  padding: 10px 25px;
  background: var(--bright-red);
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.1rem;
  transition: all 0.3s;
}

.go-soop-btn:hover {
  background: #ff3366;
  box-shadow: 0 0 20px rgba(255, 26, 74, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .stream-info-bar {
    flex-direction: column;
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }
  .info-right {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* 라이브 멤버 상태 섹션 */
.members-status-section {
  padding: 80px 0;
  text-align: center;
}

.live-card {
  flex: 0 0 260px;
  min-height: 300px;
  background: linear-gradient(145deg, rgba(18, 8, 12, 0.7), rgba(10, 3, 7, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.live-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  border-color: rgba(255, 255, 255, 0.15);
}

.live-card.on-air {
  border-color: rgba(255, 26, 74, 0.5);
  box-shadow: 0 8px 30px rgba(255, 26, 74, 0.2), inset 0 0 0 1px rgba(255, 26, 74, 0.1);
}

.live-card.on-air:hover {
  box-shadow: 0 20px 50px rgba(255, 26, 74, 0.35), 0 0 30px rgba(255, 26, 74, 0.2);
  border-color: rgba(255, 26, 74, 0.8);
}

.live-card.on-air::before {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--bright-red), transparent);
  box-shadow: 0 0 15px var(--bright-red);
}

.live-card.offline {
  opacity: 0.5;
  filter: grayscale(60%);
}

.live-profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #333;
  margin-bottom: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
  position: relative;
}

.live-card.on-air .live-profile-img {
  border-color: var(--bright-red);
  box-shadow: 0 0 0 4px rgba(255, 26, 74, 0.2), 0 0 20px rgba(255, 26, 74, 0.4);
  animation: profile-glow 2s ease-in-out infinite alternate;
}

@keyframes profile-glow {
  from { box-shadow: 0 0 0 3px rgba(255, 26, 74, 0.2), 0 0 15px rgba(255, 26, 74, 0.3); }
  to   { box-shadow: 0 0 0 5px rgba(255, 26, 74, 0.35), 0 0 25px rgba(255, 26, 74, 0.6); }
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.stream-title {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* ── 시청 버튼 그룹 (v3.2) ── */
.btn-group {
    width: 100%;
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.watch-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

/* 붉은색 메인 버튼 (ON-AIR 시) */
.watch-btn.primary {
    background: linear-gradient(135deg, #ff1a4a, #8b0000);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 26, 74, 0.3);
}
.watch-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 26, 74, 0.5);
    filter: brightness(1.2);
}

/* 무채색 보조 버튼 (방송국 가기) */
.watch-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.watch-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 오프라인 안내 (비활성화 상태) */
.watch-btn.offline {
    background: rgba(255, 255, 255, 0.05);
    color: #555;
    cursor: default;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.live-tag {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff1a4a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 26, 74, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}


/* 방송 일정 섹션 */
.schedule-section {
  padding: 80px 0 120px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.schedule-item {
  background: rgba(20, 10, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
}

.schedule-item:hover {
  transform: translateY(-5px);
  background: rgba(30, 10, 15, 0.8);
  border-color: rgba(255, 26, 74, 0.3);
}

.schedule-item.today {
  border-left: 4px solid var(--bright-red);
  background: rgba(40, 10, 15, 0.6);
}

.s-date {
  font-family: 'Oswald', sans-serif;
  color: var(--bright-red);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.s-title {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.s-desc {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.5;
}


/* ════════════════════════════
   스켈레톤 로더 애니메이션 (체감 로딩 속도 향상)
   ════════════════════════════ */
.skeleton {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.05) !important;
  opacity: 0.6;
}
.skeleton .card-thumbnail-wrap {
  background: linear-gradient(90deg, #0a0505 25%, #1a0a0d 50%, #0a0505 75%);
  background-size: 200% 100%;
  animation: sk-loading 1.5s infinite;
}
.skeleton .sk-name, .skeleton .sk-title {
  background: linear-gradient(90deg, #1a1012 25%, #2a1a1d 50%, #1a1012 75%);
  background-size: 200% 100%;
  animation: sk-loading 1.5s infinite;
}
.skeleton .sk-name {
  width: 40%;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 4px;
}
.skeleton .sk-title {
  width: 85%;
  height: 18px;
  border-radius: 4px;
}

@keyframes sk-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ETC Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown .dropdown-title {
  color: #fff; cursor: pointer; font-family: 'Oswald', sans-serif;
  letter-spacing: 2px; font-weight: 500; font-size: 0.9rem; padding: 10px 15px; margin: 0;
}
.nav-dropdown .dropdown-content {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(10, 0, 5, 0.95); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 26, 74, 0.3); border-radius: 8px; min-width: 150px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.8); z-index: 1000; flex-direction: column;
}
.nav-dropdown:hover .dropdown-content { display: flex; }
.nav-dropdown .dropdown-content a {
  padding: 12px 20px; font-size: 0.85rem; letter-spacing: 1px; color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-decoration: none; margin: 0; display: block;
}
.nav-dropdown .dropdown-content a::after { display: none; }
.nav-dropdown .dropdown-content a:last-child { border-bottom: none; }
.nav-dropdown .dropdown-content a:hover { background: rgba(255, 26, 74, 0.15); color: #fff; }
