/* =============================================
   버블과 친구들 | 공식 홈페이지
   스크린샷 완전 재현 버전
   ============================================= */

/* ── 변수 ── */
:root {
  /* 색상 */
  --hero-sky:    #3DBBDF;
  --hero-sky2:   #1A8FC0;
  --char-sky:    #1E9EC2;
  --char-sky2:   #0F7EA8;
  --cta-sky:     #29b6f6;
  --cta-sky2:    #1e88e5;
  --ms-dark:     #1a2540;
  --ms-dark2:    #0f1a30;
  --footer-dark: #111827;
  --series-bg:   #eaf8f4;
  --learn-bg:    #eaf6f0;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --yellow:      #FFD600;
  --red-yt:      #FF0000;
  --navy:        #0a1f3d;

  /* 폰트 */
  --font: 'Noto Sans KR', 'Nanum Round Gothic', sans-serif;
  --font-r: 'Nanum Round Gothic', 'Noto Sans KR', sans-serif;

  /* 기타 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --sh-sm: 0 2px 8px rgba(0,0,0,0.08);
  --sh-md: 0 4px 20px rgba(0,0,0,0.12);
  --sh-lg: 0 8px 32px rgba(0,0,0,0.16);
  --tr: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

/* ── 컨테이너 ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* =============================================
   공통 배지/타이틀
   ============================================= */
.sec-badge-wrap { text-align: center; margin-bottom: 20px; }
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-r);
}
.badge-yellow { background: #fff8e0; color: #b08000; border: 1px solid #f0d060; }
.badge-blue   { background: #e0f0ff; color: #0066bb; border: 1px solid #b0d4f8; }
.badge-green  { background: #e0f5e8; color: #1a7a40; border: 1px solid #90d8a8; }

.sec-title-dark {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
}

/* =============================================
   NAVBAR — 흰색 배경
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f06595, #845ef7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1rem;
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nl {
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 500;
  transition: var(--tr);
}
.nl:hover, .nl.active { color: var(--char-sky); background: #e8f6fd; }
.nav-sub-btn {
  margin-left: 10px;
  padding: 8px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.87rem;
  font-weight: 700;
  font-family: var(--font-r);
  transition: var(--tr);
}
.nav-sub-btn:hover { background: #1a3060; transform: translateY(-1px); }

/* 햄버거 */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px; transition: var(--tr);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO — 하늘색 그라디언트
   ============================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--hero-sky) 0%, var(--hero-sky2) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 28px 60px;
  overflow: hidden;
}

/* 파티클 버블 */
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hp {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(255,255,255,0.04));
  border: 1.5px solid rgba(255,255,255,0.2);
  animation: hpRise linear infinite;
}
.hp1  { width:52px; height:52px; left:6%;  animation-duration:8s; }
.hp2  { width:26px; height:26px; left:18%; animation-duration:6s;  animation-delay:1s; }
.hp3  { width:76px; height:76px; left:36%; animation-duration:10s; animation-delay:2s; }
.hp4  { width:38px; height:38px; left:53%; animation-duration:7s;  animation-delay:.5s; }
.hp5  { width:62px; height:62px; left:71%; animation-duration:9s;  animation-delay:3s; }
.hp6  { width:20px; height:20px; left:85%; animation-duration:5.5s; animation-delay:1.5s; }
.hp7  { width:45px; height:45px; left:12%; animation-duration:7.5s; animation-delay:4s; }
.hp8  { width:70px; height:70px; left:60%; animation-duration:11s;  animation-delay:2.5s; }
@keyframes hpRise {
  0%   { transform: translateY(110vh); opacity:0; }
  10%  { opacity:.7; }
  90%  { opacity:.3; }
  100% { transform: translateY(-10vh); opacity:0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-left { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.yellow { color: var(--yellow); font-style: normal; }
.hero-desc {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.87);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* 통계 */
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: fit-content;
  margin-bottom: 32px;
  gap: 0;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.78);
  margin-top: 3px;
}
.live-dot {
  font-size: 0.65rem;
  background: rgba(255,0,0,0.75);
  color: white;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 2px;
  vertical-align: middle;
}
.stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,0.22); flex-shrink: 0; }

/* 버튼 */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--red-yt);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--font-r);
  transition: var(--tr);
  box-shadow: 0 4px 16px rgba(255,0,0,0.38);
}
.btn-yt:hover { background: #cc0000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,0,0.5); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--font-r);
  transition: var(--tr);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }

/* 히어로 오른쪽 카드 */
.hero-right { flex: 0 0 420px; }
.hero-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 48px rgba(0,0,0,0.24);
  transition: var(--tr);
}
.hero-thumb:hover { transform: translateY(-8px) scale(1.02); }
.hero-thumb img { width: 100%; display: block; }
.hero-thumb-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--red-yt);
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: var(--tr);
}
.hero-thumb:hover .hero-play { transform: scale(1.12); }
.hero-thumb-text {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-r);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* =============================================
   채널 소개 — 흰색 배경, 4개 카드
   ============================================= */
.brand-section {
  padding: 100px 0;
  background: var(--white);
}
.brand-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--gray-900);
  text-align: center;
  line-height: 1.35;
  margin-bottom: 20px;
}
.brand-sub {
  font-size: 0.97rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.85;
  margin-bottom: 56px;
}
.brand-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: var(--tr);
}
.brand-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.brand-card-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}
.brand-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  font-family: var(--font-r);
  color: var(--gray-900);
  margin-bottom: 10px;
}
.brand-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =============================================
   CHARACTERS — 하늘색 배경
   ============================================= */
.char-section {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #3dbde8 0%, #1ea8d5 100%);
  position: relative;
}
.char-main-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--white);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 48px;
}
.char-main-title em {
  font-style: normal;
  color: #FFE066;
  text-shadow: 0 2px 12px rgba(255,200,0,0.4);
}

/* 그룹 */
.char-group { margin-bottom: 52px; }
.char-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.cg-left { display: flex; align-items: center; gap: 10px; }
.cg-icon { font-size: 1.4rem; }
.cg-title {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--white);
}
.cg-tag {
  padding: 4px 14px;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* 그리드 — 기본 5열 */
.char-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
/* 6열 */
.char-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
/* 12명 통합 6열 그리드 */
.char-grid-all {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* 캐릭터 카드 — 상단 컬러 이모지 영역 + 하단 흰색 패널 */
.ccard {
  position: relative;
  background: var(--cc-bg, #7BB8D4);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
  cursor: default;
}
.ccard:hover { transform: translateY(-10px); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.ccard-hero { transform: translateY(-6px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.ccard-hero:hover { transform: translateY(-14px); }

/* 우상단 배지 */
.cc-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 3;
}

/* 이미지 영역 — 고정 높이, 완전 정중앙 */
.cc-img-area {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cc-bg, #7BB8D4);
  position: relative;
  overflow: hidden;
}
/* 누끼 이미지 — 모든 카드 동일 사이즈 145px, 정중앙, halo 제거 */
.cc-img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  object-position: center center;
  transition: var(--tr);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.28));
  /* 안티앨리어싱 halo 억제 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  flex-shrink: 0;
}
.ccard:hover .cc-img { transform: translateZ(0) scale(1.12) translateY(-7px); }

/* 블룬·해롱 동일 크기 165px */
[alt="블룬"].cc-img,
[alt="해롱"].cc-img {
  width: 165px;
  height: 165px;
}

/* 이모지 폴백 */
.cc-emoji-area {
  align-items: center;
  justify-content: center;
  padding: 18px 8px 14px;
  background: var(--cc-bg, #7BB8D4);
}
.cc-emoji {
  font-size: 6rem;
  line-height: 1;
  transition: var(--tr);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.2));
  display: block;
}
.ccard:hover .cc-emoji { transform: scale(1.12) translateY(-8px); }

/* 새 친구 그리드 */
.char-grid-new {
  grid-template-columns: repeat(2, 1fr);
  max-width: 500px;
}

/* 카드 하단 정보 — 순수 흰색 패널 */
.cc-info {
  background: #ffffff;
  border-top: none;
  padding: 14px 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.cc-name {
  font-size: 1.05rem;
  font-weight: 900;
  font-family: var(--font-r);
  color: #1a1a1a;
  margin-bottom: 1px;
}
.cc-desc {
  font-size: 0.73rem;
  color: #888888;
  margin-bottom: 8px;
  line-height: 1.4;
}
/* 태그 버튼 — 핑크 배경, 진한 분홍 텍스트 */
.cc-tag-btn {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-r);
  background: #FFECF0 !important;
  color: #E84A6B !important;
  border: 1px solid #F8C0CC !important;
}

/* 단체 사진 */
.char-group-photo {
  margin-top: 20px;
  text-align: center;
}
.photo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-weight: 600;
}
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  transition: var(--tr);
  max-width: 860px;
  margin: 0 auto;
}
.photo-card:hover { transform: translateY(-6px); }
.photo-card img { width: 100%; display: block; }
.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--tr);
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-play {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--red-yt);
}
.photo-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* =============================================
   시리즈 — 연한 민트 배경, 흰색 카드
   ============================================= */
.series-section {
  padding: 100px 0;
  background: var(--series-bg);
}
.series-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 48px;
}
.series-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.series-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: var(--tr);
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.series-thumb {
  position: relative;
  overflow: hidden;
}
.series-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: var(--tr);
}
.series-card:hover .series-thumb img { transform: scale(1.04); }
.series-world-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
}
.badge-ocean { background: #1a7bcc; }
.badge-forest { background: #2d8a40; }

.series-body { padding: 28px 28px 32px; }
.series-body h3 {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--gray-900);
  margin-bottom: 12px;
}
.series-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 18px;
}
.series-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.stag {
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.series-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-r);
  color: var(--white);
  transition: var(--tr);
}
.btn-ocean  { background: #1a7bcc; }
.btn-ocean:hover { background: #155fa0; transform: translateY(-2px); }
.btn-forest { background: #2d8a40; }
.btn-forest:hover { background: #1e6630; transform: translateY(-2px); }

/* =============================================
   인기 영상 — 흰색 배경, 3×2
   ============================================= */
.videos-section {
  padding: 100px 0;
  background: var(--white);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.vcard {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: var(--tr);
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.vthumb {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
}
.vthumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: var(--tr);
}
.vcard:hover .vthumb img { transform: scale(1.05); }
.vplay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #e00;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  transition: var(--tr);
  opacity: 0.85;
}
.vcard:hover .vplay { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.vtag {
  position: absolute;
  bottom: 10px; left: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}
.vtag-char   { background: #1565c0; }
.vtag-song   { background: #6a1b9a; }
.vtag-forest { background: #2e7d32; }
.vtag-edu    { background: #00695c; }

.vinfo { padding: 14px 16px 16px; }
.vtitle {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-r);
  color: var(--gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vcount {
  font-size: 0.76rem;
  color: var(--gray-400);
}
.videos-more { text-align: center; }

/* 공통 more 버튼 */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--red-yt);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--font-r);
  transition: var(--tr);
  box-shadow: 0 4px 14px rgba(255,0,0,0.3);
}
.btn-more:hover { background: #cc0000; transform: translateY(-2px); }

/* =============================================
   교육 가치 — 연한 민트 배경
   ============================================= */
.learning-section {
  padding: 100px 0;
  background: var(--learn-bg);
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lcard {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--tr);
}
.lcard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.lcard-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}
.lcard h3 {
  font-size: 1.02rem;
  font-weight: 800;
  font-family: var(--font-r);
  color: var(--gray-900);
  margin-bottom: 10px;
}
.lcard p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =============================================
   성장 이야기 — 다크 네이비
   ============================================= */
.milestone-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--ms-dark) 0%, var(--ms-dark2) 100%);
}
.milestone-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.ms-left { flex: 1; }
.ms-badge { margin-bottom: 20px; display: inline-flex; }
.ms-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.ms-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 24px;
}
.ms-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 32px;
  border-left: 3px solid var(--char-sky);
}
.ms-quote::before { content: ''; }
.ms-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.ms-right { flex: 0 0 420px; }
.ms-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.ms-img-card img { width: 100%; display: block; }
.ms-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

/* =============================================
   CTA — 하늘색 그라디언트
   ============================================= */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--cta-sky) 0%, var(--cta-sky2) 100%);
  position: relative;
  overflow: hidden;
}
/* CTA 버블 장식 */
.cta-bubbles { position: absolute; inset: 0; pointer-events: none; }
.cb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.cb1 { width: 28px; height: 28px; top: 22%; left: 48%; }
.cb2 { width: 18px; height: 18px; top: 14%; left: 52%; }
.cb3 { width: 12px; height: 12px; top: 28%; left: 50%; }

.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  font-family: var(--font-r);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--font-r);
  transition: var(--tr);
  backdrop-filter: blur(6px);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }
.cta-hashtags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-hashtags span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
  padding: 5px 14px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* =============================================
   FOOTER — 다크 네이비/블랙
   ============================================= */
.footer {
  background: var(--footer-dark);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f06595, #845ef7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-logo-name {
  font-size: 0.97rem;
  font-weight: 800;
  font-family: var(--font-r);
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.footer-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--gray-400);
  transition: var(--tr);
}
.footer-yt-link i { font-size: 1.2rem; color: var(--red-yt); }
.footer-yt-link:hover { color: var(--white); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =============================================
   VIDEO MODAL
   ============================================= */
.video-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
.modal-box {
  position: relative; z-index: 1;
  width: 90%; max-width: 900px;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { transform: scale(0.84); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal-close {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr); cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.32); }
.modal-frame { aspect-ratio: 16/9; }
.modal-frame iframe { width: 100%; height: 100%; border: none; }

/* =============================================
   SCROLL TOP
   ============================================= */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--char-sky);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,174,239,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--tr);
  opacity: 0; pointer-events: none;
  border: none; z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); background: var(--hero-sky2); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .char-grid     { grid-template-columns: repeat(5, 1fr); }
  .char-grid-6   { grid-template-columns: repeat(4, 1fr); }
  .char-grid-all { grid-template-columns: repeat(4, 1fr); }
  .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .ms-right { flex: 0 0 360px; }
}
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px; right: 0;
    width: 280px;
    height: calc(100vh - 60px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    gap: 3px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nl { width: 100%; padding: 11px 14px; font-size: 0.97rem; }
  .nav-sub-btn { width: 100%; text-align: center; margin-left: 0; }

  .hero-inner { flex-direction: column; gap: 36px; text-align: center; }
  .hero-left { width: 100%; }
  .hero-stats { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-right { flex: none; width: 100%; max-width: 460px; margin: 0 auto; }

  .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .char-grid     { grid-template-columns: repeat(3, 1fr); }
  .char-grid-6   { grid-template-columns: repeat(3, 1fr); }
  .char-grid-all { grid-template-columns: repeat(3, 1fr); }
  .series-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .milestone-inner { flex-direction: column; gap: 36px; }
  .ms-right { flex: none; width: 100%; max-width: 480px; }
}
@media (max-width: 640px) {
  .char-grid     { grid-template-columns: repeat(2, 1fr); }
  .char-grid-6   { grid-template-columns: repeat(2, 1fr); }
  .char-grid-all { grid-template-columns: repeat(2, 1fr); }
  .brand-cards { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-logo { justify-content: center; }
  .scroll-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}
@media (max-width: 400px) {
  .char-grid     { grid-template-columns: 1fr; }
  .char-grid-6   { grid-template-columns: repeat(2, 1fr); }
  .char-grid-all { grid-template-columns: repeat(2, 1fr); }
}
