/* ============================================
   MONE MUSIC Offline — Main CSS v2
   명령서 기반 디자인 시스템
   ============================================ */

:root {
  /* 화이트 (v2) */
  --beige-50:  #FAFCFF;
  --beige-100: #F0F7FF;
  --beige-200: #E8EFF7;
  --beige-300: #D4DFEB;
  --beige-400: #A8BCCF;
  /* 네이비/하늘 (v2) */
  --black-900: #BDE0FE;
  --black-800: #2C4A6E;
  --black-700: #3D5A80;
  --black-500: #5BA4CF;
  --black-300: #8ECAE6;
  /* 핫 핑크 (v2) */
  --purple-700: #993556;
  --purple-600: #E85D8A;
  --purple-400: #F4C0D1;
  --purple-100: #FBEAF0;
  --purple-50:  #FBEAF0;
  /* 추가 v2 토큰 */
  --navy: #2C4A6E;
  --sky-400: #BDE0FE;
  --sky-600: #5BA4CF;
  --pink-500: #E85D8A;
  --pink-100: #FBEAF0;
  --font-heading: 'Pretendard', -apple-system, sans-serif;
  --font-body:    'Pretendard', -apple-system, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  background: var(--beige-50);
  color: var(--black-800);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ============================================
   헤더
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(189,224,254,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a,
.header-nav .menu-item a {
  font-size: 14px;
  color: var(--black-700);
  transition: color 0.2s;
  font-weight: 500;
}

.header-nav a:hover,
.header-nav .menu-item a:hover,
.header-nav .current-menu-item a {
  color: var(--pink-500);
}

.header-cta {
  font-size: 13px;
  color: #fff;
  background: var(--purple-600);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(232,93,138,0.2);
}

.header-cta:hover {
  background: var(--purple-700);
  box-shadow: 0 4px 16px rgba(232,93,138,0.3);
}

/* 헤더 유저 */
.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-user-name {
  font-size: 12px;
  color: var(--black-800);
  font-weight: 500;
}


.mobile-menu-toggle {
  display: none;
  color: var(--black-800);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* ============================================
   히어로
   ============================================ */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: -1;
  background: #000;
}

/* 히어로 높이만큼 빈 공간 확보 */
.hero-spacer {
  height: 100svh;
  position: relative;
}
@media (max-width: 768px) {
  .hero-spacer { height: 100dvh; }
  .hero-bottom-cta { bottom: 16px; }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  border: none;
  transform: translateY(-60px);
}

/* 유튜브 iframe — 120% 확대 + 하단 정렬 (아래 안 잘림, 위만 crop) */
iframe.hero-video {
  width: 120%;
  height: 120%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -60px);
  top: auto;
  pointer-events: none;
}

/* PC/모바일 영상 전환 */
.hero-video--mobile { display: none; }

@media (max-width: 768px) {
  .hero-video--pc { display: none; }
  .hero-video--mobile { display: block; }
}

.hero-section:has(iframe.hero-video) {
  background: #000;
}

.hero-section:has(iframe.hero-video) .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.2) 30%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0.6) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  max-width: 700px;
}

.hero-label {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--purple-600);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--purple-600);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.hero-cta:hover {
  background: var(--purple-700);
}

/* 히어로 하단 CTA */
.hero-bottom-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 30%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.45) 65%, rgba(0,0,0,0.85) 78%, rgba(0,0,0,0.98) 82%, rgba(0,0,0,1) 100%);
  pointer-events: none;
}

.hero-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 10px;
}

.hero-converge-lines {
  width: 100%;
  height: 16px;
  margin-bottom: 6px;
  opacity: 0.3;
}

.hero-cta-text {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  opacity: 0.95;
  margin: 0 0 4px;
  transition: opacity 0.2s var(--ease);
}

.hero-bottom-cta:hover .hero-cta-text {
  opacity: 1;
}

.hero-cta-arrow {
  width: 16px;
  height: 9px;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}

.hero-bottom-cta:hover .hero-cta-arrow {
  opacity: 0.7;
}

.hero-mute {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hero-mute:hover {
  background: rgba(255,255,255,0.25);
}

.hero-mute svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   공유 컴포넌트
   ============================================ */
.beige-bg {
  background: var(--beige-50);
  position: relative;
  z-index: 1;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--purple-600);
  padding-top: 64px;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: var(--black-800);
  margin-bottom: 8px;
}

.section-desc {
  text-align: center;
  font-size: 15px;
  color: var(--black-700);
  margin-bottom: 32px;
}

.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--black-700);
  margin-top: -20px;
  margin-bottom: 32px;
}

.divider {
  height: 1px;
  background: var(--beige-300);
  opacity: 0.3;
  margin: 0 24px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(232,93,138,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 12px solid var(--purple-100);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

/* ============================================
   선생님 커버 캐러셀 (무한 루프)
   ============================================ */
.coach-section {
  padding-bottom: 16px;
}

.coach-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.coach-viewport {
  overflow: hidden;
}

.coach-track {
  display: flex;
  gap: 16px;
}

.coach-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212,223,235,0.2);
  cursor: pointer;
  transition: transform 0.2s;
}

.coach-card:hover {
  transform: translateY(-4px);
}

.coach-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: var(--beige-200);
  overflow: hidden;
}

.coach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coach-info {
  padding: 12px 14px 16px;
}

.coach-song {
  font-size: 15px;
  font-weight: 500;
  color: var(--black-800);
  margin-bottom: 4px;
}

.coach-name {
  font-size: 14px;
  color: var(--purple-600);
}

.coach-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--purple-600);
  color: var(--purple-600);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.coach-arrow:hover {
  background: var(--purple-600);
  color: #fff;
}

.coach-arrow--left {
  left: 0;
}

.coach-arrow--right {
  right: 0;
}

/* 플레이 버튼 */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.coach-card:hover .play-btn {
  opacity: 1;
}

/* 코치 비디오 모달 */
.coach-video-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.coach-video-modal__wrap {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.coach-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 1;
  padding: 4px 8px;
}

.coach-video-modal__close:hover {
  opacity: 0.7;
}

.coach-video-modal__inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.coach-video-modal__inner iframe,
.coach-video-modal__inner video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .coach-video-modal { padding: 0; background: #000; }
  .coach-video-modal__wrap { width: 100%; max-width: none; display: flex; flex-direction: column; justify-content: center; height: 100%; }
  .coach-video-modal__inner { border-radius: 0; }
  .coach-video-modal__close { top: 12px; right: 12px; z-index: 2; }
}

.coach-video-modal__info { padding: 16px 4px; }
.coach-video-modal__song { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.coach-video-modal__name { font-size: 13px; color: var(--purple-400); margin-bottom: 10px; }
.coach-video-modal__comment { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ============================================
   수강생 커버 그리드
   ============================================ */
.student-section {
  padding-bottom: 16px;
  position: relative;
}

.student-grid-wrap {
  position: relative;
  overflow: hidden;
}

.student-grid-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to bottom, rgba(250,246,239,0) 0%, var(--beige-50) 90%);
  pointer-events: none;
  z-index: 2;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.student-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212,223,235,0.2);
  cursor: pointer;
  transition: transform 0.2s;
}

.student-card:hover {
  transform: translateY(-4px);
}

.student-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: var(--beige-200);
  overflow: hidden;
}

.student-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.student-info {
  padding: 12px 14px;
}

.student-song {
  font-size: 13px;
  font-weight: 500;
  color: var(--black-800);
  margin-bottom: 2px;
}

.student-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--purple-600);
  margin-bottom: 6px;
}

.student-comment {
  font-size: 12px;
  color: var(--black-700);
  line-height: 1.6;
}

/* 모바일에서만 7줄 제한 + ... 처리 */
@media (max-width: 768px) {
  .student-comment {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.more-link {
  display: block;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: var(--purple-600);
  font-weight: 500;
}

.more-link:hover {
  color: var(--purple-700);
}

/* ============================================
   음역대 테스트 유도 CTA
   ============================================ */
.test-cta-illust { width:144px; height:auto; margin:0 auto 16px; display:block; }

.test-cta-section {
  background: #fff;
  padding: 64px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.test-cta-section .section-label {
  padding-top: 0;
  margin-bottom: 8px;
}

.test-cta-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--black-800);
  margin-bottom: 8px;
  line-height: 1.3;
}

.test-cta-sub {
  font-size: 17px;
  color: var(--black-700);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* 홈 게이지 */
.home-gauge {
  max-width: 560px;
  margin: 0 auto 32px;
}

.home-gauge__frame {
  display: flex;
  gap: 2px;
  height: 48px;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(85,162,217,0.3);
  border-radius: 8px;
}

.home-gauge__cell {
  flex: 1;
  background: rgba(200,200,200,0.08);
  border: 1px dashed rgba(200,200,200,0.25);
  border-radius: 4px;
}

.test-cta-btn {
  display: inline-block;
  background: var(--purple-600);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 40px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s var(--ease);
  margin-bottom: 16px;
  animation: btnGlow 2s ease-in-out infinite;
}
@keyframes btnGlow { 0%,100% { box-shadow: 0 0 8px rgba(232,93,138,0.3); } 50% { box-shadow: 0 0 24px rgba(232,93,138,0.6), 0 0 48px rgba(232,93,138,0.2); } }

.test-cta-btn:hover {
  background: var(--purple-700);
}

.test-cta-note {
  font-size: 15px;
  color: var(--beige-400);
  line-height: 1.6;
}

/* ============================================
   푸터
   ============================================ */
.site-footer {
  background: var(--navy);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-right a {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

.footer-info {
  display: flex;
  gap: 48px;
}
.footer-info-col p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0;
}

.footer-copy {
  text-align: center;
  padding: 16px 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* ============================================
   서브 페이지용 공통 (기존 호환)
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--beige { background: var(--beige-50); }
.section--cream { background: var(--beige-100); }
.section--dark  { background: var(--pink-100); color: var(--black-800); }

.section__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 8px;
}

.section__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--black-800);
}

.section--dark .section__title { color: var(--black-800); }

.section__desc {
  font-size: 15px;
  color: var(--black-700);
  max-width: 560px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-600);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s var(--ease);
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--purple-700); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--black-800);
  color: var(--black-800);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s var(--ease);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--black-800);
  color: var(--black-800);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--purple-600);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s var(--ease);
  cursor: pointer;
}

.btn-ghost:hover { background: var(--purple-50); }

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.badge {
  display: inline-block;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 11px;
}

/* ============================================
   수강후기 — 공통
   ============================================ */
.page-hero { padding: 100px 24px 40px; text-align: center; background: linear-gradient(180deg, #D6EEFF 0%, #EFF8FF 60%, #FFFFFF 100%); position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; bottom:-30%; left:50%; transform:translateX(-50%); width:500px; height:500px; background:radial-gradient(circle, rgba(232,93,138,0.1) 0%, transparent 70%); pointer-events:none; }
.page-hero .label { font-size: 11px; letter-spacing: 3px; color: var(--purple-600); margin-bottom: 8px; }
.page-hero h1 { font-size: 28px; font-weight: 600; color: var(--black-800); margin-bottom: 8px; }
.page-hero .desc { font-size: 14px; color: var(--black-700); }

.tabs { display: flex; justify-content: center; gap: 8px; padding: 0 24px 24px; background: var(--beige-50); }
.tab { padding: 10px 28px; font-size: 14px; font-weight: 500; color: var(--black-700); border: 1px solid var(--beige-300); border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s var(--ease); }
.tab:hover { border-color: var(--purple-400); color: var(--black-800); }
.tab.active { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }

.toolbar { max-width: 800px; margin: 0 auto; padding: 0 24px 16px; display: flex; justify-content: space-between; align-items: center; }
.toolbar .count { font-size: 13px; color: var(--black-700); }
.write-btn { font-size: 13px; font-weight: 500; color: var(--purple-600); background: var(--purple-50); padding: 8px 20px; border-radius: var(--radius-md); transition: background 0.15s; }
.write-btn:hover { background: var(--purple-100); }

/* 수강후기 — 게시판 리스트 */
.board-list { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.board-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(212,223,235,0.3); transition: background 0.15s; cursor: pointer; }
.board-item:hover { background: rgba(212,223,235,0.08); margin: 0 -12px; padding: 16px 12px; }
.board-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--beige-200); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A09B90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center 60%; background-size: 22px; }
.board-content { flex: 1; min-width: 0; }
.board-title { font-size: 15px; font-weight: 500; color: var(--black-800); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-meta { font-size: 12px; color: var(--black-700); margin-bottom: 4px; }
.board-stars { display: flex; gap: 2px; }
.star-xs { width: 12px; height: 12px; }
.star-xs svg { width: 100%; height: 100%; fill: var(--purple-600); stroke: none; }
.board-arrow { font-size: 20px; color: var(--black-700); flex-shrink: 0; }

/* 수강후기 — 페이지네이션 */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 24px; }
.page-num, .page-nav { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); font-size: 14px; color: var(--black-700); border: 1px solid var(--beige-300); cursor: pointer; transition: all 0.15s; }
.page-num:hover, .page-nav:hover { border-color: var(--purple-400); }
.page-num.active { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.page-dots { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 14px; color: var(--black-700); }

/* 영상후기 상세 */
.vreview-detail { max-width: 800px; margin: 0 auto; padding: 0 24px 64px; }

.vreview-player { position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.vreview-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.vreview-header { margin-bottom: 24px; }
.vreview-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.vreview-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--black-700); margin-bottom: 12px; }
.vreview-name { color: var(--purple-600); font-weight: 500; }
.vreview-comment { font-size: 15px; color: var(--black-700); line-height: 1.6; }

.vreview-text { font-size: 15px; color: var(--black-800); line-height: 1.8; padding-top: 24px; border-top: 1px solid var(--beige-200); }

/* 수강후기 — 검색 */
.search-area { max-width: 800px; margin: 0 auto; padding: 24px; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--beige-300); border-radius: var(--radius-md); padding: 10px 16px; }
.search-icon { width: 18px; height: 18px; flex-shrink: 0; }
.search-icon svg { width: 100%; height: 100%; stroke: var(--black-300); fill: none; stroke-width: 2; }
.search-box input { flex: 1; border: none; outline: none; font-size: 14px; color: var(--black-800); background: transparent; }
.search-box input::placeholder { color: var(--beige-400); }

/* 수강후기 — 영상후기 그리드 */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; padding: 0 24px 32px; }
.vid-card { display:block; text-decoration:none; color:inherit; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(212,223,235,0.2); cursor: pointer; transition: transform 0.2s; }
.vid-card:hover { transform: translateY(-4px); }
.vid-thumb { aspect-ratio: 16/9; position: relative; background-color: var(--beige-200); overflow:hidden; }
.vid-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.vid-info { padding: 12px 14px; }
.vid-title { font-size: 14px; font-weight: 600; color: var(--black-800); margin-bottom: 4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.vid-name { font-size: 12px; color: var(--purple-600); }
.vid-comment { font-size: 12px; color: var(--black-700); line-height: 1.5; }

/* 수강후기 — 뒤로가기 */
.back-bar { max-width: 800px; margin: 0 auto; padding: 80px 24px 16px; }
.back-bar a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--black-700); transition: color 0.15s; }
.back-bar a:hover { color: var(--purple-600); }
.back-arrow { font-size: 18px; line-height: 1; }

/* 수강후기 — 상세 */
.detail-header { max-width: 800px; margin: 0 auto; padding: 0 24px 24px; }
.detail-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.detail-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--beige-200); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A09B90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center 60%; background-size: 26px; }
.detail-name { font-size: 15px; font-weight: 600; color: var(--black-800); }
.detail-meta { font-size: 12px; color: var(--black-700); margin-top: 2px; }
.detail-stars { margin-left: auto; display: flex; gap: 3px; }
.star-sm { width: 16px; height: 16px; }
.star-sm svg { width: 100%; height: 100%; fill: var(--purple-600); stroke: none; }
.detail-title-text { font-size: 22px; font-weight: 600; color: var(--black-800); line-height: 1.4; }

.qa-section { max-width: 800px; margin: 0 auto; padding: 0 24px 64px; }
.qa-block { padding: 24px 0; }
.qa-q { font-size: 14px; font-weight: 600; color: var(--purple-600); margin-bottom: 10px; }
.qa-a { font-size: 15px; color: var(--black-700); line-height: 1.8; }

.review-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; text-align: center; padding: 16px 24px; background: linear-gradient(to top, rgba(250,246,239,0.95), rgba(250,246,239,0.8)); backdrop-filter: blur(8px); }
.review-cta__btn { display: inline-block; background: var(--purple-600); color: #fff; font-size: 15px; font-weight: 600; padding: 12px 36px; border-radius: var(--radius-md); transition: background 0.2s var(--ease); box-shadow: 0 4px 16px rgba(232,93,138,0.3); }
.review-cta__btn:hover { background: var(--purple-700); color: #fff; }
.qa-divider { height: 1px; background: var(--beige-300); opacity: 0.3; }

/* 수강후기 — 작성 폼 */
.form-container { max-width: 640px; margin: 0 auto; padding: 0 24px 64px; }
.form-title { font-size: 22px; font-weight: 600; color: var(--black-800); margin-bottom: 6px; }
.form-desc { font-size: 14px; color: var(--black-700); margin-bottom: 28px; }

.profile-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border: 1px solid rgba(212,223,235,0.3); border-radius: var(--radius-lg); margin-bottom: 32px; }
.profile-avatar-lg { width: 44px; height: 44px; border-radius: 50%; background: var(--beige-200); flex-shrink: 0; }
.profile-name { font-size: 14px; font-weight: 600; color: var(--black-800); }
.profile-email { font-size: 12px; color: var(--black-700); margin-top: 2px; }
.profile-badge { margin-left: auto; font-size: 11px; color: var(--purple-600); background: var(--purple-50); padding: 4px 10px; border-radius: 20px; font-weight: 500; }

.field-group { margin-bottom: 24px; }
.field-label { font-size: 13px; font-weight: 600; color: var(--black-800); margin-bottom: 8px; }

.star-row { display: flex; gap: 6px; }
.star-i { width: 32px; height: 32px; cursor: pointer; transition: transform 0.15s; }
.star-i:hover { transform: scale(1.15); }
.star-i svg { width: 100%; height: 100%; fill: var(--purple-600); stroke: none; transition: fill 0.15s; }
.star-i.empty svg { fill: var(--beige-300); }

.text-input, .select-input { width: 100%; padding: 12px 16px; border: 1px solid var(--beige-300); border-radius: var(--radius-md); font-size: 14px; color: var(--black-800); background: #fff; outline: none; transition: border-color 0.15s; }
.text-input:focus, .select-input:focus, .textarea:focus { border-color: var(--purple-400); }
.text-input::placeholder { color: var(--beige-400); }

.form-divider { height: 1px; background: var(--beige-300); opacity: 0.3; margin: 32px 0; }

.qa-field { margin-bottom: 20px; }
.qa-question-label { font-size: 14px; font-weight: 500; color: var(--black-800); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.qa-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--purple-600); color: #fff; font-size: 11px; font-weight: 600; flex-shrink: 0; }

.textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--beige-300); border-radius: var(--radius-md); font-size: 14px; color: var(--black-800); background: #fff; outline: none; resize: vertical; min-height: 80px; font-family: inherit; line-height: 1.7; transition: border-color 0.15s; }
.textarea::placeholder { color: var(--beige-400); }

.char-counter { text-align: right; margin-bottom: 4px; }
.char-current { font-size: 20px; font-weight: 700; }
.char-current.under { color: var(--black-700); }
.char-current.over { color: var(--purple-600); }
.char-total { font-size: 13px; color: var(--black-700); }
.char-msg { text-align: right; font-size: 12px; margin-bottom: 20px; }
.char-msg.under { color: var(--black-700); }
.char-msg.over { color: var(--purple-600); }

.submit-btn { width: 100%; padding: 16px; border-radius: var(--radius-md); font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; }
.submit-btn.disabled { background: var(--beige-300); color: var(--beige-50); cursor: not-allowed; }
.submit-btn.enabled { background: var(--purple-600); color: #fff; }
.submit-btn.enabled:hover { background: var(--purple-700); }

@media (max-width: 768px) {
  .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px 24px; }
}
@media (max-width: 480px) {
  .vid-grid { grid-template-columns: 1fr; }
}

/* ============================================
   음역대 테스트 페이지
   ============================================ */
.vocal-test-hero {
  text-align: center;
  padding: 64px 0;
}

.vocal-test-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--black-800);
  margin-bottom: 16px;
}

.vocal-test-hero__desc {
  font-size: 16px;
  color: var(--black-700);
  max-width: 500px;
  margin: 0 auto;
}

.vocal-test-app {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 0;
}

.vt-question {
  background: #FFFFFF;
  border: 1px solid rgba(212, 195, 165, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.vt-question__number {
  font-size: 11px;
  color: var(--purple-600);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.vt-question__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--black-800);
  margin-bottom: 24px;
}

.vt-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vt-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--beige-50);
  border: 1px solid var(--beige-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  font-size: 14px;
  color: var(--black-800);
  text-align: left;
  width: 100%;
}

.vt-option:hover {
  border-color: var(--purple-600);
  background: var(--purple-50);
}

.vt-option.selected {
  border-color: var(--purple-600);
  background: var(--purple-50);
}

.vt-option__radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--beige-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.vt-option.selected .vt-option__radio {
  border-color: var(--purple-600);
}

.vt-option.selected .vt-option__radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--purple-600);
  border-radius: 50%;
}

.vt-progress {
  height: 4px;
  background: var(--beige-200);
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
}

.vt-progress__bar {
  height: 100%;
  background: var(--purple-600);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.vt-result {
  text-align: center;
  padding: 48px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 195, 165, 0.3);
  border-radius: var(--radius-lg);
  display: none;
}

.vt-result.active { display: block; }

.vt-result__type {
  font-size: 40px;
  color: var(--purple-600);
  letter-spacing: 3px;
  font-weight: 700;
}

.vt-result__range {
  font-size: 18px;
  font-weight: 500;
  color: var(--black-800);
  margin: 16px 0;
}

.vt-result__desc {
  font-size: 15px;
  color: var(--black-700);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 32px;
}

/* ============================================
   수업 소개 페이지
   ============================================ */
.class-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.class-feature {
  background: #FFFFFF;
  border: 1px solid rgba(212, 195, 165, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.class-feature__icon {
  width: 40px;
  height: 40px;
  background: var(--purple-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  margin-bottom: 16px;
}

.class-feature__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--black-800);
  margin-bottom: 8px;
}

.class-feature__desc {
  font-size: 14px;
  color: var(--black-700);
  line-height: 1.7;
}

/* ============================================
   수강후기 페이지
   ============================================ */
.review-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.review-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black-700);
  border: 1px solid var(--beige-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.review-tab.active {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
}

.review-panel { display: none; }
.review-panel.active { display: block; }

.text-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.text-review {
  background: #FFFFFF;
  border: 1px solid rgba(212, 195, 165, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.text-review__content {
  font-size: 14px;
  color: var(--black-700);
  line-height: 1.7;
  margin-bottom: 16px;
}

.text-review__author {
  font-size: 13px;
  font-weight: 500;
  color: var(--black-800);
}

/* ============================================
   수강생 커버 페이지
   ============================================ */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cover-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 195, 165, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s var(--ease);
}

.cover-card:hover { transform: translateY(-4px); }

.cover-card__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--beige-200);
}

.cover-card__info {
  padding: 16px;
}

.cover-card__song {
  font-size: 14px;
  font-weight: 500;
  color: var(--black-800);
}

.cover-card__student {
  font-size: 12px;
  color: var(--purple-600);
  margin-top: 8px;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 768px) {
  /* 헤더 — 모바일: 투명 오버레이, 스크롤 시 흰색 전환 */
  .site-header { background: transparent; border-bottom: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background 0.3s, border-bottom 0.3s; }
  .site-header.header--solid { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(189,224,254,0.4); }
  .site-header:not(.header--solid) .header-logo { color: #fff; }
  .site-header:not(.header--solid) .mobile-menu-toggle { color: #fff; }
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 24px; gap: 16px; border-bottom: 1px solid rgba(189,224,254,0.4); }
  .mobile-menu-toggle { display: block; }
  .header-cta { display: none; }
  .header-user { display: none; }
  .header-mobile-auth { display: none; }
  .header-nav.open .header-mobile-auth { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(189,224,254,0.4); padding-top: 16px; margin-top: 8px; }
  .header-mobile-auth a { color: var(--black-800); font-size: 14px; }

  /* 히어로 */
  .hero-content { padding: 0 24px 60px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .hero-cta { font-size: 14px; padding: 12px 24px; width: 100%; text-align: center; display: block; }

  /* 캐러셀 */
  .coach-carousel { padding: 0 40px; }
  .coach-card { flex: 0 0 240px; }
  .coach-arrow { width: 32px; height: 32px; font-size: 20px; }

  /* 수강생 그리드 — 모바일 2열, 마지막(9번째) 숨김 → 8개(4행) */
  .student-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
  .student-grid .student-card:last-child { display: none; }

  /* 서브 페이지 */
  .section { padding: 64px 0; }
  .class-features,
  .text-reviews,
  .cover-grid {
    grid-template-columns: 1fr;
  }

  /* 테스트 섹션 */
  .test-cta-title { font-size: 24px; }
  .home-gauge__frame { height: 48px; }
  .test-cta-btn { font-size: 15px; padding: 12px 32px; width: 100%; max-width: 320px; }

  /* 푸터 */
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-right { text-align: left; }
  .footer-info { flex-direction: column; gap: 16px; }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
  .header-mobile-auth { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .section-title { font-size: 22px; }
  .student-grid { grid-template-columns: repeat(2, 1fr); }
}
