@charset "UTF-8";

/* ============================================================================
 * EULER EDU 통합 포털 — Deep Navy Slate Dark Theme
 * 기준 문서: DESIGN_SYSTEM.md
 * ============================================================================ */

:root {
  --bg-page: #0D1117;
  --bg-deep: #0A0E14;
  --bg-card: #131926;
  --bg-card-hover: #192233;
  --bg-elevated: #1A2232;
  --border-light: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-main: #F1F5F9;
  --text-sub: #E2E8F0;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  --color-accent: #38BDF8;
  --color-accent-soft: rgba(56, 189, 248, 0.12);
  --color-silver: #E2E8F0;

  --status-success: #34D399;
  --status-warning: #FBBF24;
  --status-danger: #F87171;

  --radius-panel: 16px;
  --radius-card: 12px;
  --radius-btn: 9px;
  --radius-badge: 9999px;
  --header-height: 78px;
  --container-max: 1260px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background-color: var(--bg-page);
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

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

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #FFFFFF;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* 화이트 → 호버 아이스 블루 */
.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-page);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: var(--bg-page);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--bg-page);
}

.btn-accent:hover {
  background-color: #7DD3FC;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text-sub);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}

.badge-accent {
  background-color: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ----------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(13, 17, 23, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-main {
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 다크 헤더 타이포그래피 브랜드 로고 */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 8px;
  background-color: #009FE3;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-logo-name {
  font-size: 34px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.lms-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  margin-left: 18px;
}

.lms-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.lms-nav a:hover {
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.channel-icon-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 14px;
  border-right: 1px solid var(--border-light);
}

.channel-icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.channel-icon-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

.channel-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background-color: #F1F5F9;
  color: #0D1117;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1300;
}

.channel-icon-btn:hover::after,
.channel-icon-btn:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quick Access Sub-bar */
.quick-subbar {
  background-color: rgba(10, 14, 20, 0.65);
}

.quick-subbar-inner {
  min-height: 44px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-subbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-subbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.quick-subbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.quick-subbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-sub);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.quick-subbar-link i {
  font-size: 11.5px;
  color: var(--color-accent);
}

.quick-subbar-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #FFFFFF;
  background-color: var(--color-accent-soft);
}

/* Mobile */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 18px;
  border: 1px solid var(--border-strong);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1200;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-panel {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 20px 24px;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.mobile-drawer-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
}

.mobile-drawer-nav a:hover {
  background-color: var(--bg-card-hover);
}

.mobile-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.mobile-channel-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.mobile-channel-link i {
  color: var(--color-accent);
  width: 15px;
  text-align: center;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer-actions .btn {
  width: 100%;
}

/* ----------------------------------------------------------------------------
 * Cosmic Constellation Particle Hero
 * ---------------------------------------------------------------------------- */
.particle-hero-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(56, 189, 248, 0.08) 0%, rgba(13, 17, 23, 0) 70%),
    radial-gradient(ellipse 40% 50% at 85% 10%, rgba(99, 102, 241, 0.07) 0%, rgba(13, 17, 23, 0) 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.particle-stage-container {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 22px 24px 22px;
}

.particle-year-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: -4px;
}

.particle-year-line {
  width: 115px;
  height: 2.5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.9) 55%, #E0F2FE 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.85), 0 0 26px rgba(56, 189, 248, 0.45);
}

.particle-year-line:last-child {
  background: linear-gradient(270deg, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.9) 55%, #E0F2FE 100%);
}

.particle-year-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  color: #E0F2FE;
  line-height: 1;
  text-shadow:
    0 0 12px rgba(56, 189, 248, 0.95),
    0 0 28px rgba(56, 189, 248, 0.65),
    0 0 48px rgba(56, 189, 248, 0.35);
}

.particle-canvas-wrap {
  position: relative;
  width: 100%;
  height: 295px;
  cursor: crosshair;
  user-select: none;
  -webkit-user-select: none;
}

#eulerParticleCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.particle-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.particle-sub-caption {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.particle-sub-caption.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.particle-sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  background-color: var(--color-accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.particle-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.particle-slide-dot {
  width: 18px;
  height: 4px;
  border-radius: var(--radius-badge);
  background-color: rgba(255, 255, 255, 0.18);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.particle-slide-dot:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.particle-slide-dot.is-active {
  width: 32px;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.particle-play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-left: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.particle-play-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

/* KPI Strip */
.hero-meta-bar {
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.hero-meta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-kpi-cell {
  padding: 16px 20px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.hero-kpi-cell:first-child {
  padding-left: 0;
}

.hero-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-kpi-val--accent {
  color: var(--color-accent);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 14px 20px;
}

/* ----------------------------------------------------------------------------
 * Bento Shell
 * ---------------------------------------------------------------------------- */
.bento-page {
  padding: 28px 0 64px;
}

.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bento-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-panel);
  padding: 26px 28px 28px;
}

.bento-panel--gold {
  border: 1.5px solid rgba(245, 194, 73, 0.55);
  box-shadow: 0 0 32px rgba(245, 194, 73, 0.08), inset 0 1px 0 rgba(253, 224, 71, 0.14);
}

.editorial-index--gold {
  color: #FBBF24;
}

.editorial-title-icon--gold {
  color: #FBBF24;
}

.bento-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.editorial-index {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.editorial-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editorial-title-icon {
  color: var(--text-muted);
  font-size: 17px;
}

.editorial-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.25;
}

.editorial-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ----------------------------------------------------------------------------
 * 01 / ACHIEVEMENTS — 1단 세로 스택 & 대형 타이포
 * ---------------------------------------------------------------------------- */
.tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 7px 18px;
  border-radius: var(--radius-badge);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background-color: transparent;
  border: 1px solid var(--border-strong);
  font-variant-numeric: tabular-nums;
  transition: all 0.2s ease;
}

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

.tab-btn.is-active {
  background-color: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-page);
}

.year-achievement-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.year-card {
  position: relative;
  background: linear-gradient(135deg, #1B2538 0%, #151E2E 100%);
  border: 1px solid rgba(245, 194, 73, 0.34);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  --year-accent: #FBBF24;
}

.year-card[data-rank="0"] {
  --year-accent: #FBBF24;
}

.year-card[data-rank="1"] {
  --year-accent: #E2E8F0;
}

.year-card[data-rank="2"] {
  --year-accent: #94A3B8;
}

.year-card:hover {
  border-color: rgba(245, 194, 73, 0.65);
  background: linear-gradient(135deg, #212D44 0%, #192336 100%);
  box-shadow: 0 6px 20px rgba(245, 194, 73, 0.07);
}

.year-card[hidden] {
  display: none;
}

.year-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--year-accent);
}

.year-card[data-rank="0"]::before {
  background: linear-gradient(180deg, #FDE047 0%, #F59E0B 100%);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.year-card-inner {
  padding: 22px 26px 24px 30px;
}

.year-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.year-card-year-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.year-card-year {
  font-size: clamp(22px, 2.4vw, 25px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.year-card-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-badge);
  background-color: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #FDE68A;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.year-card-summary i {
  color: #FBBF24;
}

/* 단일 컬럼 세로 리스트 — 한 단계 차분한 폰트 */
.year-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.year-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #E2E8F0;
  line-height: 1.68;
  word-break: keep-all;
}

.year-bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--year-accent);
  margin-top: 0.72em;
  flex-shrink: 0;
}

.year-bullet-content {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 9px;
  border-radius: var(--radius-badge);
  background-color: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #FBBF24;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.55;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
}

/* ----------------------------------------------------------------------------
 * 02 / YOUTUBE + 03 / BLOG
 * ---------------------------------------------------------------------------- */
.bento-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.bento-split .bento-panel {
  display: flex;
  flex-direction: column;
}

.bento-mini-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

.media-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
}

.media-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
}

.media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.media-card:hover .media-thumb-wrap img {
  transform: scale(1.04);
  opacity: 1;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(10, 14, 20, 0.6), rgba(10, 14, 20, 0.05));
}

.video-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(13, 17, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding-left: 2px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.media-card:hover .video-play-btn {
  transform: scale(1.08);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--bg-page);
}

.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #131926 0%, #1E293B 100%);
  color: var(--text-muted);
}

.thumb-fallback-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.thumb-fallback-brand span {
  color: var(--color-accent);
}

.media-body {
  padding: 12px 14px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.media-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.media-date {
  font-size: 11.5px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.media-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.media-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-faint);
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  transition: color 0.2s ease;
}

.media-card:hover .media-footer {
  color: var(--color-accent);
}

/* ----------------------------------------------------------------------------
 * 04 / QUICK ACCESS
 * ---------------------------------------------------------------------------- */
.action-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  background-color: var(--bg-page);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
}

.action-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.action-card:hover .action-card-icon {
  background-color: var(--color-accent);
  color: var(--bg-page);
}

.action-card-arrow {
  color: var(--text-faint);
  font-size: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.action-card:hover .action-card-arrow {
  color: var(--color-accent);
  transform: translate(2px, -2px);
}

.action-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 5px;
}

.action-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  word-break: keep-all;
}

/* ----------------------------------------------------------------------------
 * Video Modal
 * ---------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 8, 12, 0.85);
  backdrop-filter: blur(6px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  background-color: var(--bg-card);
  border-radius: var(--radius-panel);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}

.video-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.video-modal-close:hover {
  background-color: var(--text-main);
  color: var(--bg-page);
}

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #000000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------------------------------------------
 * Empty State & AI Briefing
 * ---------------------------------------------------------------------------- */
.empty-state {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 26px;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.ai-briefing-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 24px;
}

/* ----------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-deep);
  color: var(--text-muted);
  padding: 52px 0 30px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.footer-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.footer-brand-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  word-break: keep-all;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-links--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a i {
  width: 15px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-links a:hover i {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ----------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .channel-icon-group {
    display: none;
  }

  .hero-meta-inner {
    grid-template-columns: 1fr;
  }

  .hero-kpi-cell:last-child {
    border-right: none;
  }

  .hero-cta-group {
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    justify-content: flex-end;
  }
}

@media (max-width: 1023px) {
  .bento-split {
    grid-template-columns: 1fr;
  }

  .action-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .lms-nav,
  .header-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo-badge {
    padding: 4px 9px;
    font-size: 12px;
  }

  .brand-logo-name {
    font-size: 25px;
  }

  /* 모바일 Quick Access 2×2 균등 그리드 최적화 */
  .quick-subbar-inner {
    padding: 8px 0;
  }

  .quick-subbar-label {
    display: none;
  }

  .quick-subbar-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .quick-subbar-link {
    width: 100%;
    padding: 7px 8px;
    font-size: 12px;
    border-radius: 8px;
    gap: 5px;
  }

  .particle-stage-container {
    padding: 14px 16px 18px;
  }

  .particle-year-heading {
    gap: 14px;
  }

  .particle-year-line {
    width: 60px;
    height: 2px;
  }

  .particle-year-num {
    font-size: 26px;
  }

  .particle-canvas-wrap {
    height: 215px;
  }

  .particle-stage-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .particle-sub-caption {
    font-size: 13.5px;
  }

  .hero-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-kpi-cell,
  .hero-kpi-cell:first-child {
    padding: 14px 12px;
  }

  .hero-kpi-cell:nth-child(2n) {
    border-right: none;
  }

  .hero-kpi-cell:nth-child(1),
  .hero-kpi-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .hero-kpi-val {
    font-size: 19px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .bento-panel {
    padding: 20px 16px;
  }

  .year-card-inner {
    padding: 18px 16px 20px 20px;
  }

  .year-bullet-item {
    font-size: 0.88rem;
    gap: 9px;
  }

  .bento-mini-grid-2x2,
  .action-grid-4,
  .footer-grid,
  .footer-links--two-col {
    grid-template-columns: 1fr;
  }
}
