/* ==========================================================================
   JHSmotionlab - Modern Design System
   Multi-Sport AI Biomechanics Platform Portal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Pretendard:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(13, 20, 36, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 242, 254, 0.35);

  --cyan-primary: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.4);
  --blue-primary: #0072ff;
  --blue-glow: rgba(0, 114, 255, 0.35);

  --accent-purple: #7928ca;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', 'Pretendard', sans-serif;
  --font-body: 'Pretendard', 'Outfit', sans-serif;

  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 114, 255, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(121, 40, 202, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-glow);
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-badge-live {
  font-size: 0.68rem;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  margin-left: 4px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-status-pill:hover {
  border-color: var(--border-neon);
  color: var(--text-main);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-neon);
  color: var(--cyan-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  word-break: keep-all;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #38bdf8 50%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0.78rem 1.65rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  color: #ffffff;
}

.header-actions .btn-primary {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  box-shadow: none;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.header-actions .btn-primary:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0.85rem 1.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-neon);
  transform: translateY(-2px);
}

.btn-youtube {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-youtube:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  flex: 1 1 220px;
  max-width: 290px;
  text-align: center;
  box-sizing: border-box;
}

.stat-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-2px);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   Sports Catalog Section
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.8rem;
  word-break: keep-all;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Sports Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Sports Cards Grid (항상 가운데 정렬 Flexbox 구조) */
.sports-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sport-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  flex: 0 1 350px;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.sport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.sport-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* 아이콘 없는 단정하고 일관된 스포츠 태그 뱃지 */
.sport-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.sport-tag.pitching {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.sport-tag.batting {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sport-tag.golf,
.sport-tag.running {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.sport-tag.basketball,
.sport-tag.racket,
.sport-tag.soccer {
  background: rgba(148, 163, 184, 0.08);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge.live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.phase {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-badge.planned {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-item {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.sport-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-primary);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan-glow);
}

.sport-bullet.batting {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.sport-bullet.dim {
  background: #64748b;
  box-shadow: none;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-card-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-align: center;
}

.btn-card-action.primary {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-primary);
  border: 1px solid var(--border-neon);
}

.btn-card-action.primary:hover {
  background: var(--cyan-primary);
  color: #070a12;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.btn-card-action.disabled {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  border: 1px solid var(--border-glass);
  cursor: not-allowed;
}

/* ==========================================================================
   YouTube Channel Showcase Section (아이콘 제거 & 상세 콘텐츠 구성)
   ========================================================================== */
.youtube-section {
  padding: 3rem 0;
}

.youtube-card-clean {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  max-width: 1000px;
  margin: 0 auto;
}

.youtube-card-clean:hover {
  border-color: rgba(239, 68, 68, 0.35);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.youtube-clean-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.youtube-clean-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ef4444;
}

.youtube-clean-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.youtube-clean-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.youtube-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.25rem 0;
}

.youtube-topic-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.youtube-topic-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.youtube-topic-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.youtube-clean-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
}

.youtube-handle-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.youtube-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.youtube-btn-link:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

/* Lucide Icon Enhancements */
[data-lucide] {
  stroke-width: 2px;
  vertical-align: middle;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
  background: rgba(5, 7, 13, 0.9);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a:hover {
  color: var(--cyan-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.25rem; word-break: keep-all; }
  .section-title { font-size: 1.85rem; word-break: keep-all; }
  .arch-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  /* 모바일(스마트폰) 상단 헤더 자연스러운 2줄 배치 */
  .header-inner {
    height: auto;
    min-height: auto;
    padding: 0.65rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
  }

  .brand-avatar {
    width: 28px;
    height: 28px;
    border-width: 1.5px;
  }

  .brand-title {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .header-actions {
    width: 100%;
    display: flex;
  }

  .header-actions .btn-primary,
  .header-actions .btn-status-pill,
  .header-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.5rem 1rem !important;
    font-size: 0.83rem !important;
    font-weight: 600 !important;
    border-radius: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    background: rgba(14, 165, 233, 0.1) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
    box-shadow: none !important;
  }

  .header-actions .btn-primary:active,
  .header-actions a:active {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #ffffff !important;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
    word-break: keep-all;
  }

  .section-title {
    font-size: 1.45rem;
    line-height: 1.35;
    word-break: keep-all;
  }
  .sport-card { flex: 1 1 100%; max-width: 100%; }
  .stat-card { flex: 1 1 100%; max-width: 100%; }

  /* 유튜브 패널 모바일 */
  .youtube-card-clean {
    padding: 1.35rem 1.15rem;
    gap: 1rem;
  }

  .youtube-topics-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .youtube-clean-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .youtube-btn-link {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   Top Announcement Bar (상단 슬림 공지 띠배너)
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 40%, #0f172a 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 105;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
  overflow: hidden;
  max-height: 80px;
}

.top-announcement-bar.hidden {
  display: none !important;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  padding-right: 36px;
}

.announcement-badge {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.01em;
}

.announcement-text {
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #0369a1;
  padding: 3px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.announcement-link:hover {
  background: #f0f9ff;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.announcement-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.desktop-text { display: inline; }
.mobile-text { display: none; }

@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
  .announcement-inner {
    gap: 6px 8px;
    padding-right: 28px;
  }
  .announcement-badge {
    font-size: 0.68rem;
    padding: 1px 6px;
  }
  .desktop-text { display: none !important; }
  .mobile-text { display: inline !important; }
  .announcement-link {
    font-size: 0.72rem;
    padding: 2px 7px;
  }
  .announcement-close {
    right: 6px;
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   Header Language Toggle Switch [KR | EN] (Standard Capsule Style)
   ========================================================================== */
.lang-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px !important;
  padding: 3px !important;
  gap: 3px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.lang-btn {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1.25 !important;
}

.lang-btn:hover {
  color: #ffffff !important;
}

.lang-btn.active {
  background: #00f2fe !important;
  color: #050b14 !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5) !important;
}

