/* =============================================
   프라임클래스 - 메인 스타일시트
   Brand: White + Red (#E8192C)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; font-size: 16px; background: #ffffff;
  overflow-x: hidden;
}
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Malgun Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;
  color: #1a1a1a; background: #ffffff; line-height: 1.6;
  overflow-x: visible;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── 모든 애니메이션 없이 즉시 표시 ── */
.pc-page-body {
  /* 애니메이션 없음 - 즉시 표시 */
}
.pc-header {
  opacity: 1;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }



:root {
  --red: #E8192C;
  --red2: #ff2d40;
  --red3: #c0101f;
  --red-light: #fff0f1;
  --red-mid: #ffe0e3;
  --navy: #1a1a2e;
  --dark: #111111;
  --white: #ffffff;
  --g50: #f8f9fa;
  --g100: #f3f4f6;
  --g200: #e9ecef;
  --g300: #dee2e6;
  --g400: #ced4da;
  --g500: #6c757d;
  --g600: #495057;
  --g700: #343a40;
  --g900: #111827;
  --green: #10b981;
  --blue: #3b82f6;
  --yellow: #f59e0b;
  --hh: 68px;
  --sub-hh: 40px;
  --max: 1200px;
  --r: 10px;
  --rs: 6px;
  --sh: 0 2px 12px rgba(0,0,0,.08);
  --sh2: 0 8px 32px rgba(0,0,0,.12);
  --tr: all .2s ease;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* ══════════════════════════════════════
   HEADER (2-line like 핏크닉)
══════════════════════════════════════ */
.pc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 99990;
  background: #fff;
  border-bottom: 1px solid var(--g200);
  box-shadow: 0 1px 12px rgba(0,0,0,.07);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Line 1: logo + search + auth */
.pc-header-top {
  height: var(--hh);
  display: flex; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  gap: 16px;
}
.pc-logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.pc-logo img {
  width: 160px;
  max-width: min(160px, 50vw);
  height: auto;
  object-fit: contain;
}

.pc-search {
  flex: 1; max-width: 340px;
  position: relative;
}
.pc-search input {
  width: 100%; height: 38px;
  border: 1.5px solid var(--g300); border-radius: 20px;
  padding: 0 40px 0 16px;
  font-size: 14px; font-family: inherit; color: var(--g700);
  outline: none; transition: var(--tr);
  background: var(--g50);
}
.pc-search input:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(232,25,44,.1); }
.pc-search input::placeholder { color: #aaa; }
.pc-search-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--g500); font-size: 15px; cursor: pointer;
}
.pc-search-suggest {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--g200); border-radius: 10px;
  box-shadow: var(--sh2); z-index: 100; display: none;
  max-height: 320px; overflow-y: auto;
}
.pc-search-suggest.active { display: block; }
.suggest-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 14px; cursor: pointer;
  color: var(--g700); transition: var(--tr);
}
.suggest-item:hover { background: var(--g50); color: var(--red); }
.suggest-item i { color: var(--g400); font-size: 13px; }

.pc-header-right {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
}
.pc-btn-login {
  padding: 6px 14px; font-size: 13px; font-weight: 500;
  color: var(--g700); border-radius: 6px; transition: var(--tr);
}
.pc-btn-login:hover { color: var(--red); }
.pc-btn-join {
  padding: 6px 16px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--red) 0%, #ff4d5e 100%);
  color: #fff; border-radius: 20px;
  transition: var(--tr);
  box-shadow: 0 2px 10px rgba(232,25,44,.3);
}
.pc-btn-join:hover { background: linear-gradient(135deg, var(--red3) 0%, var(--red) 100%); box-shadow: 0 4px 16px rgba(232,25,44,.4); transform: translateY(-1px); }

/* 관리자 버튼 */
.pc-btn-admin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e0b84d; border-radius: 20px;
  border: 1px solid rgba(224,184,77,.3);
  transition: all .22s ease;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.pc-btn-admin:hover {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  color: #f5c842; border-color: rgba(245,200,66,.5);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.pc-btn-admin i { font-size: 11px; }

/* 로그아웃 버튼 */
.pc-btn-logout {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; font-size: 13px; font-weight: 600;
  color: var(--g500); border-radius: 20px;
  border: 1px solid var(--g200);
  transition: all .22s ease; background: #fff;
  cursor: pointer;
}
.pc-btn-logout:hover { color: var(--red); border-color: var(--red); background: var(--rl); }
.pc-btn-logout i { font-size: 11px; }

/* 유저 아바타 버튼 */
.pc-user-area { display: flex; align-items: center; }
.pc-user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1.5px solid var(--g200); border-radius: 100px;
  background: #fff; cursor: pointer; transition: all .2s ease;
}
.pc-user-btn:hover { border-color: var(--red); background: var(--rl); }
.pc-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pc-user-name { font-size: 13px; font-weight: 700; color: var(--g700); }

/* ── 마이페이지 모달 ── */
.mypage-box {
  max-width: 420px; width: 92%; padding: 0;
  overflow: hidden; border-radius: 20px;
}
.myp-header {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 24px 24px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}
.myp-avatar {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,.15);
}
.myp-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.myp-email { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.myp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.myp-section { padding: 20px 20px 0; }

/* 빠른 메뉴 그리드 */
.myp-quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.myp-quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; background: var(--g50); border: 1px solid var(--g100);
  border-radius: 12px; cursor: pointer; transition: all .2s ease;
  font-size: 11.5px; font-weight: 700; color: var(--g700);
}
.myp-quick-item:hover { background: var(--rl); border-color: var(--rl2); color: var(--red); }
.myp-quick-item i { font-size: 18px; color: var(--red); }

/* 마이페이지 하단 */
.myp-footer {
  padding: 16px 20px 20px;
}
.myp-logout-btn {
  width: 100%; padding: 11px;
  border: 1.5px solid var(--g200); border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: var(--g500);
  background: #fff; cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.myp-logout-btn:hover { border-color: var(--red); color: var(--red); background: var(--rl); }

/* 관리자 전용 바 */
.myp-admin-bar {
  padding: 12px 20px 0;
}
.myp-admin-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 18px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(224,184,77,.25);
  border-radius: 14px; text-decoration: none;
  transition: all .2s ease; cursor: pointer;
}
.myp-admin-btn:hover {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  border-color: rgba(224,184,77,.5);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.myp-admin-btn i:first-child {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(224,184,77,.15); color: #e0b84d;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.myp-admin-btn span {
  font-size: 14px; font-weight: 800; color: #fff; flex: 1;
}


/* ── 결제내역 모달 ── */
.payment-box { max-width: 480px; width: 94%; padding: 0; border-radius: 20px; overflow: hidden; }

/* 요약 바 */
.ph-summary {
  display: flex; align-items: center;
  background: linear-gradient(135deg,#111827,#1f2937);
  padding: 20px 24px;
}
.ph-sum-item { flex: 1; text-align: center; }
.ph-sum-val { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.ph-sum-label { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 600; }
.ph-sum-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* 탭 필터 */
.ph-tabs {
  display: flex; gap: 0; padding: 14px 20px 0;
  border-bottom: 1px solid var(--g100);
}
.ph-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 700;
  color: var(--g500); border-bottom: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; background: none; border-top: none; border-left: none; border-right: none;
  margin-bottom: -1px;
}
.ph-tab:hover { color: var(--red); }
.ph-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* 목록 */
.ph-list { max-height: 360px; overflow-y: auto; padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.ph-list::-webkit-scrollbar { width: 4px; }
.ph-list::-webkit-scrollbar-thumb { background: var(--g200); border-radius: 4px; }

/* 개별 결제 카드 */
.ph-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--g100);
  border-radius: 14px; padding: 14px 16px;
  transition: box-shadow .18s ease;
}
.ph-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.ph-item-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ph-item-body { flex: 1; min-width: 0; }
.ph-item-name { font-size: 13.5px; font-weight: 700; color: var(--g900); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-item-meta { font-size: 12px; color: var(--g500); }
.ph-item-right { text-align: right; flex-shrink: 0; }
.ph-item-price { font-size: 14px; font-weight: 800; color: var(--g900); margin-bottom: 5px; }
.ph-status {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
}
.ph-status.active   { background: #ecfdf5; color: #059669; }
.ph-status.completed{ background: var(--g100); color: var(--g500); }
.ph-status.refunded { background: #fff7ed; color: #ea580c; }

/* 빈 상태 */
.ph-empty {
  text-align: center; padding: 48px 20px;
  color: var(--g400); font-size: 14px; line-height: 1.7;
}
.ph-empty i { font-size: 40px; display: block; margin-bottom: 14px; opacity: .35; }

/* Line 2: nav */
.pc-header-nav {
  border-top: 1px solid var(--g100);
  height: var(--sub-hh);
  display: flex; align-items: center;
  overflow: hidden; /* active 밑줄이 nav 밖으로 나가지 않도록 */
}
.pc-nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.pc-nav-left { display: flex; align-items: center; gap: 0; }
.pc-nav-item {
  display: flex; align-items: center;
  height: var(--sub-hh); padding: 0 12px;
  font-size: 13px; font-weight: 500; color: var(--g700);
  cursor: pointer; transition: var(--tr); position: relative;
  white-space: nowrap;
}
.pc-nav-item:hover, .pc-nav-item.active { color: var(--red); }
.pc-nav-item.active::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--red); border-radius: 2px 2px 0 0;
  /* 레이아웃 영향 없이 렌더링 */
  pointer-events: none;
  will-change: opacity;
}
.pc-nav-right { display: flex; align-items: center; gap: 16px; }
.pc-nav-sub {
  font-size: 13px; color: var(--g500); cursor: pointer; transition: var(--tr);
}
.pc-nav-sub:hover { color: var(--red); }

/* dropdown */
.pc-nav-item.has-drop { position: relative; }
.pc-dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--g200);
  border-radius: 10px; box-shadow: var(--sh2);
  min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: var(--tr); z-index: 200;
}
.pc-nav-item.has-drop:hover .pc-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.pc-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 14px; color: var(--g700); transition: var(--tr);
}
.pc-dropdown a:hover { background: var(--g50); color: var(--red); }
.pc-dropdown a i { width: 16px; color: var(--g400); font-size: 13px; }

/* mobile toggle */
.pc-mobile-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.pc-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--g700); border-radius: 2px; transition: var(--tr); }

/* body offset */
body { padding-top: calc(var(--hh) + var(--sub-hh) + 1px); }

/* ══════════════════════════════════════
   MAIN BANNER SLIDER (핏크닉 스타일)
   좌: 큰 슬라이드 / 우: 단일 큰 배너
══════════════════════════════════════ */
.main-banner {
  max-width: var(--max); margin: 0 auto; padding: 10px 16px 8px;
  display: grid; grid-template-columns: 2.6fr 1fr; gap: 10px;
  align-items: stretch;
  height: 440px;
}

/* 좌측 큰 배너 */
.banner-main {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #111;
  cursor: pointer;
  height: 100%;
  flex-shrink: 0;
}
.banner-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.banner-slide-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
}
.banner-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
  margin-bottom: 10px; width: fit-content;
}
.banner-title {
  font-size: 26px; font-weight: 800; color: #fff;
  line-height: 1.3; margin-bottom: 8px; letter-spacing: -.5px;
}
.banner-title b { color: var(--red2); }
.banner-sub {
  font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 16px;
}
.banner-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 10px 22px; border-radius: 25px;
  font-size: 14px; font-weight: 700; width: fit-content;
  transition: var(--tr);
}
.banner-cta:hover { background: var(--red3); transform: translateY(-1px); }
.banner-cta-free {
  background: #fff; color: var(--red); border: 2px solid var(--red);
}
.banner-cta-free:hover { background: var(--red-light); }

/* ══════════════════════════════════════
   BANNER LIVE SLIDE (금대표 AI 퍼블리싱)
   ══════════════════════════════════════ */
.banner-slide-live {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #111;
}

/* 배경 이미지 — 꽉 채우기 */
.blive-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
}

/* CTA 레이어 — 이미지 위에 오버레이 */
.blive-cta-layer {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px 36px;
}

/* CTA 버튼 */
.blive-main-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px; font-weight: 800;
  letter-spacing: -.3px;
  box-shadow: 0 6px 24px rgba(232,25,44,.5);
  transition: all .2s ease;
  text-decoration: none;
}
.blive-main-cta:hover {
  background: var(--red3);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,25,44,.6);
}
.blive-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  font-size: 11px;
}

/* ── 반응형 ── */
@media (max-width: 700px) {
  .blive-cta-layer { padding: 16px 20px; }
  .blive-main-cta { font-size: 13px; padding: 11px 20px; }
}

/* ══════════════════════════════════════
   SLIDE 2 — 수익인증
══════════════════════════════════════ */
.banner-slide-proof {
  position: absolute; inset: 0;
  overflow: hidden;
}
.bnr-proof-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #052e16 0%, #064e3b 40%, #065f46 100%);
}
.bnr-proof-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(16,185,129,.25) 0%, transparent 60%);
}
.bnr-proof-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 28px 36px;
  gap: 24px;
}
.bnr-proof-left { flex: 1; min-width: 0; }
.bnr-proof-cards {
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0; width: 170px;
}
.bnr-proof-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}
.bnr-proof-card--highlight {
  background: rgba(16,185,129,.2);
  border-color: rgba(110,231,183,.4);
}
.bnr-proof-emoji { font-size: 16px; margin-bottom: 2px; }
.bnr-proof-amount { font-size: 16px; font-weight: 900; color: #6ee7b7; }
.bnr-proof-name { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.bnr-proof-period { font-size: 10px; color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════
   SLIDE 3 — 무료 전자책
══════════════════════════════════════ */
.banner-slide-ebook {
  position: absolute; inset: 0;
  overflow: hidden;
}
.bnr-ebook-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1c1033 0%, #2d1b69 50%, #1e1b4b 100%);
}
.bnr-ebook-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(251,191,36,.12) 0%, transparent 60%);
}
.bnr-ebook-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 40px;
  max-width: 60%;
}
.bnr-ebook-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,191,36,.2);
  border: 1px solid rgba(251,191,36,.4);
  color: #fbbf24;
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 14px; width: fit-content;
}
.bnr-ebook-mockup {
  position: absolute;
  right: 80px; top: 50%;
  transform: translateY(-50%);
}
.bnr-ebook-book {
  width: 140px; height: 190px;
  transform: perspective(600px) rotateY(-15deg);
  filter: drop-shadow(-20px 20px 40px rgba(0,0,0,.6));
}
.bnr-ebook-book-cover {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  border-radius: 4px 10px 10px 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 16px;
  text-align: center;
}
.bnr-ebook-book-title { font-size: 16px; font-weight: 900; color: #111; line-height: 1.3; }
.bnr-ebook-book-sub { font-size: 10px; font-weight: 700; color: rgba(0,0,0,.5); }
.bnr-ebook-book-icon { font-size: 28px; color: rgba(0,0,0,.3); }

/* ══════════════════════════════════════
   SLIDE 5 — 다음 강의 예고
══════════════════════════════════════ */
.banner-slide-next {
  position: absolute; inset: 0;
  overflow: hidden;
}
.bnr-next-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1060 50%, #24243e 100%);
}
.bnr-next-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,.3) 0%, transparent 60%);
}
.bnr-next-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 44px;
}
.bnr-next-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bnr-next-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(165,180,252,.15);
}
.bnr-next-circle.c1 { width: 300px; height: 300px; right: -60px; top: -80px; }
.bnr-next-circle.c2 { width: 200px; height: 200px; right: 60px; top: -30px; background: rgba(99,102,241,.06); }
.bnr-next-circle.c3 { width: 120px; height: 120px; right: 120px; top: 20px; background: rgba(99,102,241,.1); }

/* 배너 컨트롤 */
.banner-controls {
  position: absolute; bottom: 16px; right: 20px;
  display: flex; align-items: center; gap: 10px;
}
.banner-ctrl-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; cursor: pointer; transition: var(--tr); border: none;
}
.banner-ctrl-btn:hover { background: rgba(255,255,255,.4); }
.banner-counter {
  font-size: 13px; color: rgba(255,255,255,.8); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.banner-counter span { color: #fff; }
.banner-progress-line {
  width: 60px; height: 2px; background: rgba(255,255,255,.3); border-radius: 2px;
  position: relative; overflow: hidden;
}
.banner-progress-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: #fff; border-radius: 2px;
  animation: progressFill 5s linear infinite;
}
@keyframes progressFill { from { width: 0; } to { width: 100%; } }

/* 우측 단일 큰 배너 */
.banner-side {
  position: relative;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  cursor: pointer;
  display: flex; flex-direction: column;
  border: 1px solid rgba(232,25,44,.12);
  box-shadow: 0 4px 24px rgba(232,25,44,.08);
  /* height는 grid stretch로 자동 결정 */
}

/* 우상단 레드 글로우 장식 */
.banner-side::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(232,25,44,.12) 0%, transparent 70%);
}

/* 하단 레드 라인 */
.banner-side::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 40%, #ff4d5e 70%, transparent 100%);
}

.bside-overlay { display: none; }

/* 콘텐츠 */
.bside-content {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 14px 13px 12px;
  box-sizing: border-box;
  min-height: 0;
}

/* 상단 텍스트 */
.bside-top { flex-shrink: 0; margin-bottom: 6px; }
.bside-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--red);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 5px;
}
.bside-title {
  font-size: 14px; font-weight: 900; color: #111;
  line-height: 1.35; letter-spacing: -.3px;
  margin-bottom: 2px;
}
.bside-title b { color: var(--red); }
.bside-desc {
  font-size: 10px; color: #9ca3af; line-height: 1.4;
}

/* ── 미니 달력 그래픽 ── */
.bside-icon-area {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}
.bside-cal-graphic {
  width: 100%;
  background: #fff;
  border: 1px solid #f3e0e2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(232,25,44,.08);
}

/* 달력 헤더 */
.bcg-header {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--red) 0%, #ff4d5e 100%);
  padding: 6px 11px;
  font-size: 11px; font-weight: 800; color: #fff;
}

/* 날짜 그리드 */
.bcg-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  padding: 4px 5px 4px;
  background: #f9fafb;
}
.bcg-grid span {
  text-align: center;
  font-size: 9.5px; font-weight: 500;
  color: #6b7280;
  padding: 2.5px 0;
  border-radius: 3px;
  position: relative;
  line-height: 1.5;
  background: #fff;
}
/* 첫 행 (요일) */
.bcg-grid span:nth-child(-n+7) {
  font-size: 9px; font-weight: 700;
  color: #9ca3af;
  padding-bottom: 4px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 0;
  background: #fafafa;
}
.bcg-sun { color: var(--red) !important; }
.bcg-sat { color: #3b82f6 !important; }

/* 이벤트 날짜 (31일) */
.bcg-event {
  background: linear-gradient(135deg, var(--red) 0%, #ff4d5e 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 2px 10px rgba(232,25,44,.45);
  animation: bcgPulse 2s ease-in-out infinite;
}
@keyframes bcgPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(232,25,44,.4); }
  50%       { box-shadow: 0 2px 16px rgba(232,25,44,.8); }
}
.bcg-dot {
  display: block; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.8); margin-top: 1px;
}

/* 이벤트 칩 */
.bcg-event-chip {
  margin: 0 5px 6px;
  background: #fff0f1;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px; font-weight: 700;
  color: var(--red);
  display: flex; align-items: center; gap: 5px;
}
.bcg-live-dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #E8192C;
  animation: bliveDot 1s infinite;
  flex-shrink: 0;
}

/* 하단 CTA */
.bside-bottom { flex-shrink: 0; margin-top: 8px; }
.bside-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--red) 0%, #ff4d5e 100%);
  border: none;
  color: #fff;
  padding: 10px 14px; border-radius: 10px;
  font-size: 12px; font-weight: 700;
  transition: var(--tr); text-align: center;
  box-shadow: 0 4px 14px rgba(232,25,44,.3);
}
.bside-cta:hover {
  background: linear-gradient(135deg, var(--red3) 0%, var(--red) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,25,44,.4);
}
.bside-brand {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 6px;
  font-size: 10px; color: #9ca3af; font-weight: 600;
}
.bside-brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}

/* 반응형 */
@media (max-width: 768px) {
  .banner-side { min-height: 280px; }
  .bside-icon-area { padding: 4px 0; }
}


/* ══════════════════════════════════════
   CATEGORY ICONS (핏크닉 스타일 원형 아이콘)
══════════════════════════════════════ */
.category-icons {
  max-width: var(--max); margin: 0 auto; padding: 2px 16px 10px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.category-icons-grid {
  display: flex; align-items: center; gap: 0;
  justify-content: space-between;
}
.cat-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; padding: 10px 6px; border-radius: 12px;
  transition: var(--tr); flex: 1; min-width: 0;
}
.cat-icon-item:hover { background: #fdf0f1; }
.cat-icon-item:hover .cat-icon-circle { border-color: var(--red); box-shadow: 0 4px 14px rgba(232,25,44,.18); transform: translateY(-2px); }
.cat-icon-item:hover .cat-icon-circle i { color: var(--red); }
.cat-icon-circle {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(145deg, #f8f9fa 0%, #fff 100%);
  border: 1.5px solid var(--g200);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cat-icon-circle i { font-size: 20px; color: var(--g600); }
.cat-icon-circle.red { background: linear-gradient(145deg, #fff0f1 0%, #ffe4e6 100%); border-color: var(--red-mid); }
.cat-icon-circle.red i { color: var(--red); }
.cat-icon-label { font-size: 12px; font-weight: 600; color: var(--g700); white-space: nowrap; }

/* ══════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════ */
.pc-section { max-width: var(--max); margin: 0 auto; padding: 18px 16px; }
.pc-section + .pc-section { padding-top: 0; }

.section-head { margin-bottom: 14px; }
.section-title {
  font-size: 19px; font-weight: 900; color: var(--dark);
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.section-title .dot { font-size: 18px; }
.section-sub { font-size: 14px; color: var(--g500); }

/* ══════════════════════════════════════
   COURSE CARDS GRID (핏크닉 스타일)
══════════════════════════════════════ */
.courses-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.courses-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

.course-card {
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: all .22s ease; background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.13); border-color: transparent; }

.course-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: #222;
}
.course-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: var(--tr);
}
.course-card:hover .course-thumb img { transform: scale(1.04); }

/* LIVE badge */
.live-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: #fff;
  padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}
.live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: livePulse 1.2s infinite;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.course-badges {
  position: absolute; top: 8px; left: 8px; display: flex; gap: 4px;
}
.badge {
  padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff;
}
.badge-free { background: var(--green); }
.badge-new { background: var(--blue); }
.badge-best { background: var(--red); }
.badge-sale { background: var(--red); }
.badge-live { background: var(--red); display: flex; align-items: center; gap: 4px; }
.badge-live::before { content:''; width:6px;height:6px;border-radius:50%;background:#fff;animation:livePulse 1.2s infinite; }

.course-wishlist {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content:center;
  font-size: 13px; color: var(--g400); transition: var(--tr);
}
.course-wishlist:hover, .course-wishlist.active { color: var(--red); }

.course-body { padding: 12px 10px 10px; }
.course-schedule {
  font-size: 12px; color: var(--g500); margin-bottom: 4px;
}
.course-title {
  font-size: 14px; font-weight: 700; color: var(--dark);
  line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-instructor { font-size: 13px; color: var(--g500); margin-bottom: 8px; }

/* 마감 타이머 */
.course-deadline {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.deadline-chip {
  display: flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700;
}
.chip-days { background: var(--red); color: #fff; }
.chip-time { background: var(--g100); color: var(--g700); }
.deadline-text { font-size: 12px; color: var(--g500); }

.course-price-row {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.price-free { font-size: 16px; font-weight: 800; color: var(--red); }
.price-current { font-size: 15px; font-weight: 700; color: var(--dark); }
.price-original { font-size: 13px; color: var(--g400); text-decoration: line-through; }
.price-off { font-size: 13px; font-weight: 700; color: var(--red); }

.course-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--g600); margin-top: 4px;
}
.course-rating .stars { color: var(--yellow); font-size: 12px; }
.level-chip {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
  margin-top: 4px;
}
.level-입문 { background: #e0f2fe; color: #0369a1; }
.level-초급 { background: #dcfce7; color: #15803d; }
.level-중급 { background: #fef9c3; color: #b45309; }
.level-고급 { background: #fee2e2; color: #b91c1c; }

/* no results */
.no-results {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--g500);
}
.no-results i { font-size: 48px; margin-bottom: 12px; display: block; color: var(--g300); }

/* ══════════════════════════════════════
   LOAD MORE
══════════════════════════════════════ */
.load-more-wrap { text-align: center; padding: 24px 0; }
.btn-load-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 32px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--g300); color: var(--g700); transition: var(--tr);
}
.btn-load-more:hover { border-color: var(--red); color: var(--red); }

/* ══════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════ */
.pc-divider {
  height: 6px;
  background: linear-gradient(90deg, #f4f5f8 0%, #eef0f5 50%, #f4f5f8 100%);
  border-top: 1px solid #e8eaef;
  border-bottom: 1px solid #e8eaef;
  margin: 0;
}

/* ══════════════════════════════════════
   INSTRUCTOR SECTION
══════════════════════════════════════ */
.inst-section {
  max-width: var(--max); margin: 0 auto; padding: 16px 16px;
}
.inst-scroll-wrap { overflow: hidden; position: relative; }
.inst-grid {
  display: flex; gap: 12px; transition: transform .4s ease;
}
.inst-card {
  flex-shrink: 0; width: 200px; border-radius: 12px; overflow: hidden;
  cursor: pointer; position: relative; background: #111;
}
.inst-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  transition: var(--tr);
}
.inst-card:hover img { transform: scale(1.04); }
.inst-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
  padding: 16px 14px 12px;
}
.inst-card-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.inst-card-title { font-size: 12px; color: rgba(255,255,255,.75); }
.inst-scroll-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 14px; color: var(--g700);
  transition: var(--tr); border: 1px solid var(--g200);
}
.inst-scroll-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.inst-scroll-prev { left: -18px; }
.inst-scroll-next { right: -18px; }

/* ── 강사 카드 공통 리셋 ── */
.inst-card { border-radius: 16px; overflow: hidden; }

/* ── 금대표: 파란 그라데이션 배경 ── */
.inst-card.inst-active {
  position: relative;
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 40px rgba(59,130,246,.4);
  background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
}
.inst-card.inst-active img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
  transition: transform .4s ease;
  mix-blend-mode: normal;
  filter: none;
}
.inst-card.inst-active:hover img { transform: scale(1.03); }
.inst-card.inst-active .inst-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(to top, rgba(29,78,216,.95) 0%, rgba(37,99,235,.4) 50%, transparent 100%);
  padding: 22px 14px 14px;
}
.inst-card.inst-active .inst-card-name {
  font-size: 17px; font-weight: 900; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: 3px;
}
.inst-card.inst-active .inst-card-title {
  font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600;
}
/* 파란 빛 뱃지 */
.inst-card.inst-active::after {
  content: '✦ 공개강사';
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: rgba(37,99,235,.85);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.2);
}

/* ── 비공개 강사 카드 공통 ── */
.inst-card.inst-secret {
  cursor: default;
  position: relative;
  aspect-ratio: 3/4;
  display: flex; align-items: stretch;
  border: none; overflow: hidden;
}
.inst-card.inst-secret:hover img { transform: none !important; }

/* 실루엣 이미지 레이어 */
.inst-secret-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: top center;
  filter: blur(3px) brightness(.18) grayscale(.4);
  transform: scale(1.05);
  transition: filter .4s;
}
.inst-card.inst-secret:hover .inst-secret-bg {
  filter: blur(2px) brightness(.24) grayscale(.3);
}

/* 색상 오버레이 — 카드별 고유 컬러 */
.inst-secret-color {
  position: absolute; inset: 0; z-index: 1;
  opacity: .55; transition: opacity .4s;
}
.inst-card.inst-secret:hover .inst-secret-color { opacity: .45; }

/* 카드1 — 보라/핑크 */
.inst-secret-color.c1 {
  background: linear-gradient(160deg, #1a0533 0%, #7c3aed 50%, #ec4899 100%);
}
/* 카드2 — 초록/청록 */
.inst-secret-color.c2 {
  background: linear-gradient(160deg, #022c22 0%, #059669 50%, #06b6d4 100%);
}
/* 카드3 (반쪽) — 주황/빨강 */
.inst-secret-color.c3 {
  background: linear-gradient(160deg, #1c0a00 0%, #ea580c 50%, #e8192c 100%);
}
/* 카드4 — 남색/보라 */
.inst-secret-color.c4 {
  background: linear-gradient(160deg, #0f172a 0%, #1d4ed8 50%, #7c3aed 100%);
}
/* 카드5 — 청록/라임 */
.inst-secret-color.c5 {
  background: linear-gradient(160deg, #134e4a 0%, #0d9488 50%, #a3e635 100%);
}

/* 콘텐츠 */
.inst-secret-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; gap: 12px; padding: 20px;
}

/* 물음표 아이콘 */
.inst-secret-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: rgba(255,255,255,.7);
  animation: pulse-secret 2.4s ease-in-out infinite;
}
@keyframes pulse-secret {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,255,255,.15); }
  50%       { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.inst-secret-label {
  font-size: 13px; font-weight: 900; color: #fff;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.inst-secret-sub {
  font-size: 11px; color: rgba(255,255,255,.55);
  font-weight: 500; letter-spacing: .3px;
}

/* 마지막 카드 반쪽 */
.inst-card.inst-secret-half {
  width: 120px !important;
  flex-shrink: 0;
  mask-image: linear-gradient(to right, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
}

/* 오른쪽 페이드 */
.inst-fade-right {
  position: absolute; top: 0; right: 0;
  width: 100px; height: 100%;
  background: linear-gradient(to right, transparent, #f4f5f8 90%);
  pointer-events: none; z-index: 10;
}

/* ══════════════════════════════════════
   WHY US (3 CARDS) - 핏크닉 스타일
══════════════════════════════════════ */
.why-section {
  background: linear-gradient(160deg, #f0f2ff 0%, #fff5f5 50%, #f0f9ff 100%);
  padding: 36px 16px;
  margin: 0;
}
.why-inner { max-width: var(--max); margin: 0 auto; }
.why-label {
  text-align: center; font-size: 13px; font-weight: 600;
  color: var(--red); margin-bottom: 8px;
}
.why-title {
  text-align: center; font-size: 24px; font-weight: 800;
  color: var(--dark); margin-bottom: 20px; letter-spacing: -.5px;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  border-radius: 16px; overflow: hidden; padding: 24px 22px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.13); }
.why-card:nth-child(1) { background: linear-gradient(145deg, #111827 0%, #1e293b 100%); color: #fff; }
.why-card:nth-child(2) { background: linear-gradient(145deg, #E8192C 0%, #ff4d5e 100%); color: #fff; }
.why-card:nth-child(3) { background: #fff; border: 1.5px solid var(--g200); color: var(--dark); }
.why-card-icon {
  width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.why-card:nth-child(1) .why-card-icon { background: rgba(255,255,255,.1); color: #fff; }
.why-card:nth-child(2) .why-card-icon { background: rgba(255,255,255,.2); color: #fff; }
.why-card:nth-child(3) .why-card-icon { background: #fff; color: var(--red); }
.why-card-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.why-card-desc { font-size: 14px; line-height: 1.7; opacity: .85; margin-bottom: 12px; }
.why-card-points { font-size: 13px; line-height: 1.9; opacity: .8; }
.why-card-points li::before { content: '* '; }

/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.reviews-section { max-width: var(--max); margin: 0 auto; padding: 18px 16px; }
.reviews-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex-shrink: 0; width: 280px;
  padding: 20px;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

/* 상단: 아바타 + 이름/수강강의/별점 */
.review-card-top {
  display: flex; align-items: center; gap: 12px;
}
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid #f0f0f0;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-author-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.review-author-course { font-size: 11.5px; color: var(--g500); }
.review-stars { color: var(--yellow); font-size: 12px; margin-top: 2px; }

/* 리뷰 텍스트 */
.review-text {
  font-size: 13.5px; color: var(--g700); line-height: 1.65;
  flex: 1;
}

/* 수익 배지 - 카드 맨 아래 */
.review-income {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(16,185,129,.08); color: #059669;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(16,185,129,.2);
  align-self: flex-start;
}

/* ══════════════════════════════════════
   FREE LECTURE PAGE BANNER (핏크닉 무료강의 상단)
══════════════════════════════════════ */
/* ══ 무료강의 카드 섹션 ══ */
.fc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
  max-width: 860px; /* 카드 2개일 때 너무 넓지 않게 */
}

/* 카드 전체 */
.fc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #f0f0f0;
}
.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
}
.fc-card-coming {
  cursor: default;
  opacity: .65;
}
.fc-card-coming:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* 썸네일 영역 */
.fc-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.fc-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* LIVE 배지 */
.fc-live-badge {
  position: absolute;
  top: 9px; left: 9px;
  background: #E8192C;
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
  letter-spacing: .3px;
  z-index: 2;
}
.fc-live-badge i {
  font-size: 7px;
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}

/* 날짜 태그 */
.fc-thumb-date {
  position: absolute;
  top: 9px; right: 9px;
  background: rgba(0,0,0,.60);
  color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  white-space: nowrap;
}

/* 썸네일 하단 오버레이 텍스트 */
.fc-thumb-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  padding: 28px 12px 10px;
  z-index: 2;
}
.fc-thumb-title {
  color: #fff;
  font-size: 13px; font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}
.fc-thumb-title b { color: #FFD700; }
.fc-thumb-instructor {
  color: rgba(255,255,255,.8);
  font-size: 10px;
}

/* 준비중 썸네일 */
.fc-thumb-coming {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #aaa;
}
.fc-thumb-coming i { font-size: 30px; }
.fc-thumb-coming span { font-size: 12px; font-weight: 600; }

/* 정보 영역 */
.fc-info {
  padding: 12px 14px 14px;
}
.fc-tag {
  font-size: 11px; font-weight: 700;
  color: #E8192C;
  margin-bottom: 4px;
}
.fc-tag-gray { color: #aaa; }
.fc-title {
  font-size: 13.5px; font-weight: 700;
  color: #111;
  line-height: 1.45;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fc-title-gray { color: #bbb; }
.fc-inst {
  font-size: 11.5px; color: #888;
  margin-bottom: 8px;
}
.fc-inst-gray { color: #ccc; }

/* 마감 타이머 */
.fc-deadline {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 4px;
  font-size: 11px; color: #444;
}
.fc-deadline-gray { color: #ccc; font-size: 11px; }
.fc-dday {
  background: #E8192C;
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 2px;
  display: none; /* 타이머 시작 후 표시 */
}
.fc-timer {
  font-size: 11px; color: #555; font-weight: 500;
}
.fc-t-box {
  display: inline-block;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
  color: #111;
  font-size: 11px;
  margin: 0 1px;
}

/* 반응형 */
@media (max-width: 640px) {
  .fc-grid { grid-template-columns: 1fr; gap: 12px; max-width: 100%; }
}



/* ══════════════════════════════════════
   무료강의 전용 뷰 (fcv)
══════════════════════════════════════ */

/* 상단 히어로 배너 */
.fcv-hero {
  background: linear-gradient(120deg, #1a237e 0%, #4a148c 50%, #880e4f 100%);
  position: relative;
  overflow: hidden;
  padding: 52px 0;
}
.fcv-hero::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.fcv-hero::after {
  content: '';
  position: absolute; left: 40%; bottom: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.fcv-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative; z-index: 1;
}
.fcv-hero-title {
  font-size: 32px; font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}
.fcv-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.80);
  line-height: 1.6;
}

/* 카드 그리드 - 3컬럼 */
.fcv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .fcv-grid { grid-template-columns: repeat(2, 1fr); }
  .fcv-hero-title { font-size: 26px; }
}
@media (max-width: 640px) {
  .fcv-grid { grid-template-columns: 1fr; }
  .fcv-hero { padding: 36px 0; }
  .fcv-hero-title { font-size: 22px; }
  .fcv-hero-inner { padding: 0 20px; }
}

/* FREE 섹션 — 무료강의 탭 활성 시 3컬럼, 카드 1개여도 왼쪽 정렬 */
#freeSection.free-mode .courses-grid {
  grid-template-columns: repeat(3, 1fr);
}
/* 무료강의 모드: coursesGrid 3컬럼 */
.courses-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
/* 카드 1개일 때 전체 너비 채우지 않고 고정 */
.courses-grid.grid-3 .course-card {
  width: 100%;
}

/* ══════════════════════════════════════
   EBOOK + SUPPORT BANNERS (핏크닉 2-col)
══════════════════════════════════════ */
.util-banners {
  max-width: var(--max); margin: 0 auto; padding: 0 16px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.util-banner {
  border-radius: 16px; padding: 22px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: all .22s ease;
  gap: 16px;
}
.util-banner:hover { box-shadow: 0 10px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.util-banner-text h3 { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.util-banner-text p { font-size: 13px; color: var(--g500); line-height: 1.5; }
.util-banner-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 28px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.pc-footer {
  background: linear-gradient(180deg, #0f172a 0%, #111 100%);
  color: rgba(255,255,255,.6);
  padding: 40px 0 0;
}
.pc-footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
}
.pc-footer-logo { margin-bottom: 12px; }
.pc-footer-logo img {
  width: 120px;
  max-width: min(120px, 40vw);
  height: auto;
  object-fit: contain;
  display: block;
  opacity: .95;
}
.pc-footer-links { display: flex; gap: 12px; margin-bottom: 16px; }
.pc-footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: var(--tr); }
.pc-footer-links a:hover { color: #fff; }
.pc-footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.pc-footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 11px 24px; border-radius: 25px; font-size: 14px; font-weight: 700;
  transition: var(--tr);
}
.pc-footer-cta:hover { background: var(--red3); }
.pc-footer-sns { display: flex; gap: 12px; }
.pc-footer-sns a {
  font-size: 13px; color: rgba(255,255,255,.5); transition: var(--tr);
}
.pc-footer-sns a:hover { color: #fff; }
.pc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 20px;
  max-width: var(--max); margin: 0 auto;
  font-size: 12px; color: rgba(255,255,255,.35);
  line-height: 1.8;
}

/* ══════════════════════════════════════
   MODALS
══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 800; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2); overflow: hidden;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(.95) translateY(12px); } to { opacity:1; transform:none; } }
.modal-head {
  padding: 24px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-head h2 { font-size: 20px; font-weight: 700; color: var(--dark); }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--g100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--g500); cursor: pointer; transition: var(--tr);
}
.modal-close:hover { background: var(--g200); }
.modal-body { padding: 20px 24px 24px; }

/* form */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 6px; }
.form-input {
  width: 100%; height: 44px; border: 1.5px solid var(--g300); border-radius: 8px;
  padding: 0 14px; font-size: 14px; font-family: inherit; outline: none; transition: var(--tr);
}
.form-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,25,44,.1); }
.form-input-wrap { position: relative; }
.form-input-wrap .form-input { padding-right: 44px; }
.form-input-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--g400); cursor: pointer; transition: var(--tr);
}
.form-input-btn:hover { color: var(--red); }
textarea.form-input { height: auto; padding: 10px 14px; resize: vertical; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.btn-full {
  width: 100%; height: 46px; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--tr);
  display: flex; align-items: center; justify-content: center; gap: 8px; border: none;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red3); }
.btn-outline-gray { background: #fff; color: var(--g700); border: 1.5px solid var(--g300); }
.btn-outline-gray:hover { border-color: var(--red); color: var(--red); }

.modal-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.modal-divider span { font-size: 13px; color: var(--g400); white-space: nowrap; }
.modal-divider::before, .modal-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--g200);
}
/* ── 로그인 소셜 버튼 ── */
.social-btns { display: flex; flex-direction: column; gap: 8px; }
.social-btn {
  width: 100%; height: 44px; border-radius: 10px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: var(--tr); border: 1.5px solid var(--g200); background: #fff;
}
.social-btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.social-btn.kakao { background: #FEE500; border-color: #FEE500; color: #3C1E1E; }
.social-btn.naver { background: #03C75A; border-color: #03C75A; color: #fff; }

/* ── 회원가입 소셜 버튼 (상단 강조형) ── */
.social-signup-wrap {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 6px;
}
.social-signup-btn {
  width: 100%; height: 52px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; transition: all .2s ease;
  border: none; font-family: inherit;
  position: relative;
}
.social-signup-btn:hover { filter: brightness(.93); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.social-signup-btn:active { transform: translateY(0); }
.social-signup-btn.kakao { background: #FEE500; color: #3C1E1E; }
.social-signup-btn.naver { background: #03C75A; color: #fff; }
.social-signup-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.08); flex-shrink: 0;
}
.social-signup-btn.kakao .social-signup-icon { background: rgba(60,30,30,.12); }
.social-signup-btn.naver .social-signup-icon { background: rgba(255,255,255,.2); }
.modal-footer-text { text-align: center; font-size: 13px; color: var(--g500); margin-top: 14px; }
.modal-footer-text a { color: var(--red); font-weight: 600; }
.modal-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g600); cursor: pointer; margin-bottom: 14px; }
.modal-check input { accent-color: var(--red); }

/* ── EBOOK MODAL ── */
.ebook-modal-header {
  background: linear-gradient(135deg, var(--red3), var(--red));
  padding: 28px 24px; color: #fff; text-align: center;
}
.ebook-modal-header h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ebook-modal-header p { font-size: 14px; opacity: .85; }

/* INST APPLY MODAL */
.inst-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px;
}
.inst-benefit {
  background: var(--g50); border-radius: 10px; padding: 14px;
  border-left: 3px solid var(--red); font-size: 13px;
}
.inst-benefit strong { display: block; font-size: 14px; color: var(--red); margin-bottom: 2px; }

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
#toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: #111; color: #fff; padding: 12px 24px; border-radius: 40px;
  font-size: 14px; font-weight: 500; opacity: 0; transition: var(--tr); z-index: 900;
  white-space: nowrap; pointer-events: none; box-shadow: var(--sh2);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#backToTop {
  position: fixed; bottom: 28px; right: 24px; z-index: 400;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--tr); cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,25,44,.3); border: none;
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--red3); transform: translateY(-3px); }

/* ══════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════ */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
  background: #fff; z-index: 600; box-shadow: 4px 0 24px rgba(0,0,0,.15);
  transform: translateX(-100%); transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); display: block; }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--g200);
}
.mobile-nav-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--g100);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-nav-item {
  display: flex; align-items: center; padding: 14px 20px;
  font-size: 15px; font-weight: 500; color: var(--g700);
  border-bottom: 1px solid var(--g100); cursor: pointer; transition: var(--tr);
}
.mobile-nav-item:hover, .mobile-nav-item.active { color: var(--red); }
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 599;
}
.mobile-overlay.active { display: block; }

/* spinner */
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--g200);
  border-top-color: var(--red); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width: 1024px) {
  .main-banner { grid-template-columns: 2.2fr 1fr; height: 420px; }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .banner-title { font-size: 20px; }
}
@media(max-width: 768px) {
  .main-banner { grid-template-columns: 1fr; height: auto; }
  .banner-main { min-height: 280px; height: 280px; }
  .banner-side { min-height: 320px; height: 320px; }
  .bside-icon-area { display: flex; padding: 6px 0; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .courses-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .util-banners { grid-template-columns: 1fr; }
  .pc-search { max-width: 200px; }
  .pc-nav-right { display: none; }
  .category-icons-grid { gap: 0; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .cat-icon-item { flex: 0 0 auto; }
  .inst-scroll-prev, .inst-scroll-next { display: none; }
}
@media(max-width: 480px) {
  .courses-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc-header-top { gap: 10px; }
  .pc-search { max-width: 160px; }
  .banner-title { font-size: 17px; }
  .pc-btn-login { display: none; }
  .category-icons-grid { gap: 0; }
  .cat-icon-circle { width: 52px; height: 52px; }
  .cat-icon-circle i { font-size: 20px; }
  .cat-icon-label { font-size: 11px; }
  .pc-footer-inner { flex-direction: column; gap: 20px; }
  .pc-footer-right { align-items: flex-start; }
}
