/* 폰트 정의 */
@font-face {
  font-family: "Pretendard";
  src: url("/static/font/Pretendard-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/static/font/Pretendard-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/static/font/Pretendard-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/static/font/Pretendard-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/static/font/Pretendard-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/static/font/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 전역 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0a0e1a;
  --secondary-dark: #1a1f35;
  --navy: #1e2a4a;
  --accent-gold: #d4af37;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #6b7280;
  --border-color: #2d3748;
  --success-green: #10b981;
  --gray-400: #9ca3af;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 400;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* 헤더 */
.header {
  background-color: var(--secondary-dark);
  border-bottom: 0.0625rem solid var(--border-color);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-link {
  text-decoration: none;
}

.logo {
  font-family: "Paperlogy", sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--accent-gold);
  letter-spacing: -0.03125rem;
  transition: opacity 0.3s;
}

.logo-link:hover .logo {
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.875rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn-login-link {
  text-decoration: none;
}

.btn-login {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 0.625rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-login:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.3);
}

/* Hero 영역 */
.hero-section {
  position: relative;
  width: 100%;
  height: 32rem;
  overflow: hidden;
  background-color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-dark);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background-color: var(--secondary-dark);
}

/* 데스크톱에서는 데스크톱 이미지만 표시 */
.hero-img-desktop {
  display: block;
}

.hero-img-mobile {
  display: none;
}

.hero-controls {
  position: absolute;
  bottom: 1.875rem;
  right: 3.125rem;
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  background-color: rgba(10, 14, 26, 0.8);
  padding: 0.75rem 1.25rem;
  border-radius: 3.125rem;
  backdrop-filter: blur(0.625rem);
}

.hero-btn {
  background-color: transparent;
  border: 0.0625rem solid var(--text-secondary);
  color: var(--text-primary);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.hero-page-indicator {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 3.125rem;
  text-align: center;
}

.current-page {
  color: var(--accent-gold);
  font-weight: 700;
}

/* 수익화 성공사례 영역 */
.success-story {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--secondary-dark) 100%
  );
  padding: 2rem 0;
}

.success-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.75rem;
}

.success-left {
  flex: 2;
  max-width: 50rem;
}

.success-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.congrat-img {
  width: 100%;
  max-width: 18.75rem;
  height: auto;
}

.success-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-block;
  background-color: rgba(107, 114, 128, 0.3);
  padding: 0.625rem 1.25rem;
  border-radius: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.success-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.875rem;
  line-height: 1.4;
}

.btn-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-success:hover {
  color: var(--accent-gold);
}

.btn-success:hover .arrow-icon {
  transform: translateX(0.3125rem);
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(78%) sepia(10%) saturate(724%)
    hue-rotate(177deg) brightness(92%) contrast(88%);
}

.btn-success:hover .arrow-icon {
  filter: brightness(0) saturate(100%) invert(73%) sepia(48%) saturate(418%)
    hue-rotate(4deg) brightness(91%) contrast(85%);
}

/* 강의 리스트 영역 */
.lecture-section {
  padding: 5rem 0;
  background-color: var(--primary-dark);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.lecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.875rem;
}

.lecture-card {
  background-color: var(--secondary-dark);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 0.0625rem solid var(--border-color);
}

.lecture-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.5);
}

.lecture-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 912;
  overflow: hidden;
  background-color: var(--secondary-dark);
}

.lecture-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lecture-status {
  position: absolute;
  top: 0.9375rem;
  right: 0.9375rem;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lecture-status.recruiting {
  background-color: var(--success-green);
  color: white;
}

.lecture-status.upcoming {
  background-color: rgba(107, 114, 128, 0.6);
  color: var(--gray-400);
}

.lecture-info {
  padding: 1.5625rem;
}

.lecture-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.9375rem;
  line-height: 1.4;
}

.lecture-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.instructor {
  color: var(--accent-gold);
}

.duration {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.time-icon {
  width: 0.875rem;
  height: 0.875rem;
  filter: brightness(0) saturate(100%) invert(48%) sepia(9%) saturate(595%)
    hue-rotate(180deg) brightness(93%) contrast(87%);
}

/* Footer */
.footer {
  background-color: var(--secondary-dark);
  border-top: 0.0625rem solid var(--border-color);
  padding: 3.125rem 0 1.875rem;
}

/* 플로팅 배너가 있을 때 footer 하단 여백 추가 */
body:has(.floating-enroll-banner.show) .footer {
  padding-bottom: 6rem;
}

/* :has() 지원하지 않는 브라우저를 위한 대체 방법 */
.footer.with-floating-banner {
  padding-bottom: 6rem;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  gap: 1.875rem;
  margin-bottom: 1.875rem;
  padding-bottom: 1.5625rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-info {
  margin-bottom: 1.5625rem;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9375rem;
  margin-bottom: 0.4rem;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-item {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.info-label {
  color: var(--text-secondary);
  margin-right: 0.375rem;
}

.info-value {
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid var(--border-color);
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--accent-gold);
}

.footer-copyright {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 1.5625rem;
}

/* 플로팅 버튼 */
.floating-btn {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fee500 0%, #ffd700 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.9375rem rgba(254, 229, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 999;
  color: #3c1e1e;
}

.floating-btn:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.5rem 1.5625rem rgba(254, 229, 0, 0.6);
}

/* TOP 플로팅 버튼 */
.floating-btn-top {
  position: fixed;
  bottom: 6.25rem;
  right: 1.875rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background-color: var(--secondary-dark);
  border: 0.125rem solid var(--border-color);
  cursor: pointer;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 999;
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.25rem);
}

.floating-btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn-top:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.5rem 1.5625rem rgba(212, 175, 55, 0.4);
}

/* 플로팅 수강신청 배너 */
.floating-enroll-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--secondary-dark) 100%
  );
  border-top: 0.125rem solid var(--border-color);
  padding: 1rem 0;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 0.3s;
  box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.3);
}

.floating-enroll-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-enroll-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.floating-enroll-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-discount-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0.25rem 0.75rem rgba(220, 38, 38, 0.4);
  white-space: nowrap;
}

.floating-countdown-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.floating-countdown-text span {
  font-weight: 700;
  color: var(--accent-gold);
}

.btn-floating-enroll {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-floating-enroll:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.4);
}

/* 로그인 페이지 */
.login-section {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: stretch;
  background-color: var(--primary-dark);
}

/* 회원가입 페이지는 높이 제한 없음 */
.signup-scroll ~ * .login-section,
.login-section:has(.signup-scroll) {
  min-height: auto;
}

.login-split-container {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 5rem);
}

/* 회원가입 페이지는 높이 제한 없음 */
.login-split-container:has(.signup-scroll) {
  min-height: auto;
}

/* 왼쪽 영역 - 이미지 & 혜택 */
.login-left {
  flex: 1;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--secondary-dark) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.login-hero-slider {
  position: relative;
  width: 100%;
  max-width: 30rem;
  text-align: center;
  min-height: 25rem;
}

.login-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  z-index: 1;
}

.login-hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.login-hero-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.login-hero-slide.slide-in-right {
  opacity: 0;
  transform: translateX(100%);
  z-index: 2;
}

.login-hero-img {
  width: 15rem;
  height: 15rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.login-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.login-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* 슬라이더 인디케이터 */
.login-slider-dots {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.login-slider-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.login-slider-dots .dot.active {
  background-color: var(--accent-gold);
  width: 2rem;
  border-radius: 0.25rem;
}

/* 우측 영역 - 로그인 폼 */
.login-right {
  flex: 1;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.login-form-wrapper {
  width: 100%;
  max-width: 26rem;
}

.login-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  text-align: center;
}

.btn-kakao {
  width: 100%;
  background-color: #fee500;
  color: #000000;
  border: none;
  padding: 1.125rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.btn-kakao:hover {
  background-color: #fdd835;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(254, 229, 0, 0.4);
}

.kakao-icon {
  color: #000000;
}

.btn-email {
  width: 100%;
  background-color: transparent;
  color: var(--text-primary);
  border: 0.125rem solid var(--border-color);
  padding: 1.125rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.btn-email:hover {
  background-color: var(--navy);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-0.125rem);
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 0.0625rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-color),
    transparent
  );
}

.divider span {
  padding: 0 1rem;
  color: var(--text-secondary);
}

.forgot-password {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: var(--text-secondary);
}

.btn-email-link {
  text-decoration: none;
  display: block;
}

/* 이메일 로그인 폼 */
.email-login-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  color: var(--text-primary);
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: rgba(26, 31, 53, 0.8);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}

.checkbox-input {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.checkbox-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1.25rem;
}

.btn-submit:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.4);
}

.form-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s;
}

.form-link:hover {
  color: var(--text-secondary);
}

.link-divider {
  color: var(--border-color);
  font-size: 0.875rem;
}

.signup-section {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--border-color);
  margin-bottom: 1.5rem;
}

.signup-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-signup-link {
  text-decoration: none;
  display: block;
}

.btn-signup {
  width: 100%;
  background-color: transparent;
  color: var(--text-primary);
  border: 0.125rem solid var(--border-color);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-signup:hover {
  background-color: var(--navy);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-0.125rem);
}

.back-to-login {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s;
}

.back-to-login:hover {
  color: var(--accent-gold);
}

/* 회원가입 페이지 */
.signup-section-centered {
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.signup-container {
  width: 100%;
  max-width: 34rem;
  padding: 0 1.5rem;
}

.signup-content {
  background-color: var(--primary-dark);
}

.signup-content .login-form-wrapper {
  max-width: 100%;
  padding: 0;
}

.signup-form {
  margin-bottom: 1.5rem;
}

.date-inputs {
  display: flex;
  gap: 0.5rem;
}

.form-select {
  flex: 1;
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  color: var(--text-primary);
  padding: 0.875rem 2rem 0.875rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23b8c5d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: rgba(26, 31, 53, 0.8);
}

.gender-options {
  display: flex;
  gap: 1.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
}

.radio-input {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.phone-number-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-prefix {
  flex: 0 0 5rem;
}

.phone-number-input {
  flex: 1;
}

.phone-dash {
  color: var(--text-secondary);
  font-weight: 500;
}

.phone-number-group .btn-verify {
  flex-shrink: 0;
  margin-top: 0;
}

.verify-input-group {
  display: flex;
  gap: 0.5rem;
}

.verify-input-group .form-input {
  flex: 1;
}

.password-confirm-group {
  margin-bottom: 2rem !important;
}

.btn-verify,
.btn-verify-confirm {
  background-color: var(--navy);
  color: var(--text-primary);
  border: 0.0625rem solid var(--border-color);
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-verify:hover,
.btn-verify-confirm:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.terms-section {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  position: relative;
}

.form-checkbox-group:last-child {
  margin-bottom: 0;
}

.checkbox-label-bold {
  font-weight: 700;
  color: var(--text-primary);
}

.terms-divider {
  height: 0.0625rem;
  background-color: var(--border-color);
  margin: 1rem 0;
}

.terms-link {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-decoration: underline;
  margin-left: auto;
  transition: color 0.3s;
}

.terms-link:hover {
  color: var(--accent-gold);
}

.login-link-section {
  text-align: center;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--border-color);
}

.login-link-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* 강의 상세 페이지 */
/* 할인 배너 */
.discount-banner {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 1.5rem 0;
  text-align: center;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.banner-notice {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.banner-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* 카운트다운 타이머 */
.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.countdown-text {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.03125rem;
}

.countdown-text span {
  font-weight: 700;
  color: var(--text-primary);
}

.countdown-ended {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* 강의 상세 정보 */
.course-detail-section {
  padding: 3rem 0;
  background-color: var(--primary-dark);
}

.course-detail-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.course-thumbnail-wrapper {
  position: relative;
}

.course-detail-thumbnail {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}

.course-open-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #00895c;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.course-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: fit-content;
}

.course-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.course-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.course-instructor {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0 0 0 0;
  font-weight: 500;
}

.course-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.course-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.tag-red {
  background-color: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 0.0625rem solid rgba(220, 38, 38, 0.3);
}

.tag-purple {
  background-color: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border: 0.0625rem solid rgba(124, 58, 237, 0.3);
}

/* 가격 섹션 */
.price-section {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.installment-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.0625rem solid var(--border-color);
  margin-bottom: 0.75rem;
}

.installment-price-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.installment-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.installment-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-unit {
  font-size: 1.125rem;
  font-weight: 600;
}

.price-row {
  display: flex;
  margin-bottom: 1rem;
}

.price-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.original-price {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 0.0625rem solid rgba(220, 38, 38, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.discount-deadline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.btn-enroll {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 0.75rem;
}

.btn-enroll:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.4);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-wishlist,
.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--text-secondary);
  border: 0.0625rem solid var(--border-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-wishlist:hover,
.btn-share:hover {
  background-color: var(--navy);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* 탭 영역 */
.course-content-section {
  padding: 3rem 0;
  background-color: var(--primary-dark);
  border-top: 0.0625rem solid var(--border-color);
}

.tab-menu {
  display: flex;
  gap: 0;
  border-bottom: 0.125rem solid var(--border-color);
  margin-bottom: 3rem;
}

.tab-button {
  background-color: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.tab-button:hover {
  color: var(--text-primary);
}

.tab-button.active {
  color: var(--accent-gold);
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  right: 0;
  height: 0.125rem;
  background-color: var(--accent-gold);
}

.intro-content {
  margin-bottom: 3rem;
  background-color: black;
  text-align: center;
}

.faq-content {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 0.0625rem solid var(--border-color);
}

.detail-image {
  width: 60%;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* FAQ */
.faq-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.faq-item {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--accent-gold);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-label {
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.faq-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  gap: 0.75rem;
}

.faq-item.active .faq-answer {
  display: flex;
}

.faq-answer .faq-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* 유의사항 */
.notice-section {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
}

.notice-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.notice-list > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.notice-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.notice-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.notice-sublist > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.notice-sublist > li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.notice-subtext {
  margin: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

.notice-sublist-detail {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.notice-sublist-detail > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.notice-sublist-detail > li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* 공유 팝업 */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.share-popup.show {
  opacity: 1;
  visibility: visible;
}

.share-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  max-width: 25rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.share-popup.show .share-popup-content {
  transform: translateY(0);
}

.share-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.share-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.share-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.share-popup-close:hover {
  color: var(--text-primary);
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--primary-dark);
  border: 0.125rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.share-option:hover {
  border-color: var(--accent-gold);
  background-color: var(--navy);
  transform: translateY(-0.125rem);
}

.share-option-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--secondary-dark);
  border: 0.125rem solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s;
}

.share-option:hover .share-option-icon {
  border-color: var(--accent-gold);
  background-color: var(--navy);
}

.share-option-icon.kakao-bg {
  background-color: #fee500;
  border-color: #fee500;
  color: #3c1e1e;
}

.share-option:hover .share-option-icon.kakao-bg {
  background-color: #fdd835;
  border-color: #fdd835;
}

/* 결제 팝업 */
.payment-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  overflow-y: auto;
  padding: 1rem;
}

.payment-popup.show {
  opacity: 1;
  visibility: visible;
}

.payment-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.payment-popup.show .payment-popup-content {
  transform: translateY(0);
}

.payment-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
  flex-shrink: 0;
}

.payment-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.payment-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.payment-popup-close:hover {
  color: var(--text-primary);
}

.payment-popup-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.payment-motivation {
  background-color: rgba(255, 255, 255, 0.03);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.payment-motivation-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.payment-section {
  margin-bottom: 2rem;
}

.payment-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.payment-course-name {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 1rem;
  background-color: var(--primary-dark);
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--border-color);
  margin: 0;
}

.payment-methods {
  display: flex;
  gap: 1rem;
}

.payment-method-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: var(--primary-dark);
  border: 0.125rem solid var(--border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-method-option:has(.payment-radio:checked) {
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.1);
}

.payment-radio {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.payment-method-label {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* 추가 옵션 */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-option-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--primary-dark);
  border: 0.125rem solid var(--border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background-color: rgba(26, 31, 53, 0.8);
}

.payment-option-item:has(.payment-option-checkbox:checked) {
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.1);
}

.payment-option-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
}

.payment-option-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-option-name {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.payment-option-price {
  font-size: 1rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.payment-details {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.payment-detail-row:last-child {
  margin-bottom: 0;
}

.payment-detail-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.payment-detail-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.payment-detail-row.discount .payment-detail-label,
.payment-detail-row.discount .payment-detail-value {
  color: #fca5a5;
}

.payment-detail-divider {
  height: 0.0625rem;
  background-color: var(--border-color);
  margin: 1rem 0;
}

.payment-detail-row.total {
  margin-top: 1rem;
}

.payment-detail-row.total .payment-detail-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-detail-row.total .payment-detail-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.payment-detail-row.installment {
  padding: 0.75rem;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.payment-detail-row.installment .payment-detail-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.payment-detail-row.installment .payment-detail-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.btn-payment {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 1.125rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.btn-payment:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.4);
}

.payment-notice {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.payment-notice-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.payment-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.875rem;
}

.payment-notice-list > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.payment-notice-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.payment-notice-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.payment-notice-sublist > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.payment-notice-sublist > li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.payment-notice-subtext {
  margin: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-style: italic;
}

.payment-notice-detail {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.payment-notice-detail > li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}

.payment-notice-detail > li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* 마이페이지 */
.mypage-section {
  padding: 2.5rem 0 3rem 0;
  background-color: var(--primary-dark);
  min-height: calc(100vh - 10rem);
}

.mypage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.mypage-greeting {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.btn-logout:hover {
  color: var(--text-secondary);
}

.mypage-tabs {
  display: flex;
  gap: 0;
  border-bottom: 0.125rem solid var(--border-color);
  margin-bottom: 3rem;
}

.mypage-tab {
  background-color: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
}

.mypage-tab:hover {
  color: var(--text-primary);
}

.mypage-tab.active {
  color: var(--accent-gold);
}

.mypage-tab.active::after {
  content: "";
  position: absolute;
  bottom: -0.125rem;
  left: 0;
  right: 0;
  height: 0.125rem;
  background-color: var(--accent-gold);
}

.mypage-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2.5rem;
}

.mypage-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* 내 강의실 */
.mypage-course-section {
  margin-bottom: 3rem;
}

.mypage-course-section:last-child {
  margin-bottom: 0;
}

.mypage-course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mypage-empty-state {
  grid-column: 1 / -1;
  background-color: rgba(255, 255, 255, 0.02);
  border: 0.0625rem dashed rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.mypage-empty-state .empty-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mypage-empty-state .empty-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 28rem;
}

.btn-empty-link {
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-empty-link:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.35);
}

.mypage-course-card {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.mypage-course-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-0.25rem);
}

.mypage-course-card.expired {
  opacity: 0.7;
}

.mypage-course-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 912;
  overflow: hidden;
  background-color: var(--secondary-dark);
}

.mypage-course-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.expired-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expired-badge {
  background-color: var(--text-muted);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.mypage-course-info {
  padding: 1.5rem;
}

.mypage-course-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.mypage-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.mypage-course-instructor {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.mypage-course-period {
  font-size: 0.8125rem;
  color: var(--accent-gold);
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}

.mypage-course-progress {
  margin-bottom: 1.25rem;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #d4a84e 100%);
  border-radius: 0.25rem;
  transition: width 0.3s;
}

.progress-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.mypage-course-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mypage-course-actions.single-action {
  grid-template-columns: 1fr;
}

.btn-course-detail,
.btn-course-review {
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-course-detail {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
}

.btn-course-detail:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.4);
}

.btn-course-review {
  background-color: transparent;
  color: var(--text-secondary);
  border: 0.0625rem solid var(--border-color);
}

.btn-course-review:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* 결제내역 */
.payment-history-table {
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table thead {
  background-color: var(--primary-dark);
}

.history-table th {
  padding: 1rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 0.125rem solid var(--border-color);
}

.history-table td {
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 0.0625rem solid var(--border-color);
}

.status-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-badge.completed {
  background-color: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 0.0625rem solid rgba(16, 185, 129, 0.3);
}

.status-badge.refunded {
  background-color: rgba(156, 163, 175, 0.15);
  color: #d1d5db;
  border: 0.0625rem solid rgba(156, 163, 175, 0.3);
}

.btn-view-detail {
  background-color: var(--navy);
  color: var(--text-primary);
  border: 0.0625rem solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-detail:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

/* 결제내역 카드 (모바일용) */
.payment-history-cards {
  display: none;
}

.payment-card {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.payment-card:hover {
  border-color: var(--accent-gold);
}

.payment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.payment-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.payment-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.payment-card-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.payment-card-value {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}

.payment-card-value.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.payment-card-footer {
  display: flex;
  justify-content: flex-end;
}

.payment-card-footer .btn-view-detail {
  width: 100%;
}

.load-more-row td {
  text-align: center;
  border-bottom: none;
  padding-top: 1.25rem;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 1.25rem;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2.5rem;
  border-radius: 2rem;
  border: 0.0625rem solid var(--border-color);
  background-color: transparent;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-load-more:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.1);
}

.btn-load-more.loading {
  opacity: 0.6;
  cursor: wait;
}

/* 결제 상세 팝업 */
.payment-detail-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.payment-detail-popup.show {
  opacity: 1;
  visibility: visible;
}

.payment-detail-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 30rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.payment-detail-popup.show .payment-detail-popup-content {
  transform: translateY(0);
}

.payment-detail-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.payment-detail-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.payment-detail-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.payment-detail-popup-close:hover {
  color: var(--text-primary);
}

.payment-detail-popup-body {
  padding: 2rem;
}

/* 내 정보 */

.myinfo-section {
  margin-bottom: 2.5rem;
}

.myinfo-section:last-child {
  margin-bottom: 0;
  text-align: right;
}

.myinfo-field {
  margin-bottom: 1.5rem;
}

.myinfo-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.myinfo-value {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0;
  padding: 0.875rem 1rem;
  background-color: var(--primary-dark);
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--border-color);
}

.marketing-consent {
  padding: 1.25rem;
  background-color: var(--primary-dark);
  border-radius: 0.5rem;
  border: 0.0625rem solid var(--border-color);
}

.consent-row {
  margin-bottom: 0.75rem;
}

.consent-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-primary);
}

.consent-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.consent-notice {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 2rem;
}

.btn-change-password {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-change-password:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.4);
}

.btn-withdraw {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  text-decoration: underline;
}

.btn-withdraw:hover {
  color: #dc2626;
}

/* 비밀번호 변경 팝업 */
.password-change-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.password-change-popup.show {
  opacity: 1;
  visibility: visible;
}

.password-change-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 30rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.password-change-popup.show .password-change-popup-content {
  transform: translateY(0);
}

.password-change-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.password-change-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.password-change-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.password-change-popup-close:hover {
  color: var(--text-primary);
}

.password-change-popup-body {
  padding: 2rem;
}

.password-guide {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
}

.btn-submit-password {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit-password:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.4);
}

/* 무료특강 신청 완료 팝업 */
.free-lecture-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.free-lecture-popup.show {
  opacity: 1;
  visibility: visible;
}

.free-lecture-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 30rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.free-lecture-popup.show .free-lecture-popup-content {
  transform: translateY(0);
}

.free-lecture-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.free-lecture-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.free-lecture-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.free-lecture-popup-close:hover {
  color: var(--text-primary);
}

.free-lecture-popup-body {
  padding: 2rem;
  text-align: center;
}

.free-lecture-message {
  margin-bottom: 2rem;
}

.free-lecture-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.free-lecture-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.btn-join-chat {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: #3c1e1e;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.btn-join-chat:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.02rem 1rem rgba(254, 229, 0, 0.6);
}

.free-lecture-notice {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* 입금 정보 팝업 */
/* 후기 작성 팝업 스타일 */
.review-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.review-popup.show {
  opacity: 1;
  visibility: visible;
}

.review-popup-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.review-popup.show .review-popup-content {
  transform: translateY(0);
}

.review-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.review-popup-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.review-popup-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.review-popup-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.review-popup-body {
  padding: 1.5rem;
}

.review-section {
  margin-bottom: 1.5rem;
}

.review-rating-section {
  margin-bottom: 1.5rem;
}

.review-text-section {
  position: relative;
}

.review-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star {
  font-size: 1.5rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.star:hover,
.star.active {
  color: #fbbf24;
}

.review-textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
}

.review-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.review-char-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  background: white;
  padding: 0 0.25rem;
}

.review-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-review-submit,
.btn-review-cancel {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-review-submit {
  background-color: #3b82f6;
  color: white;
}

.btn-review-submit:hover:not(:disabled) {
  background-color: #2563eb;
}

.btn-review-submit:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.btn-review-cancel {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-review-cancel:hover {
  background-color: #e5e7eb;
}

.deposit-info-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.deposit-info-popup.show {
  opacity: 1;
  visibility: visible;
}

.deposit-info-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 32rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.deposit-info-popup.show .deposit-info-popup-content {
  transform: translateY(0);
}

.deposit-info-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.deposit-info-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.deposit-info-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.deposit-info-popup-close:hover {
  color: var(--text-primary);
}

.deposit-info-popup-body {
  padding: 2rem;
}

.deposit-info-section {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deposit-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.deposit-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.deposit-info-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 5rem;
}

.deposit-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  flex: 1;
}

.deposit-info-value.deadline {
  color: var(--accent-gold);
  font-weight: 700;
}

.deposit-info-value.amount {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.125rem;
}

.deposit-account-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.btn-copy-account {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  padding: 0.375rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-copy-account:hover {
  background-color: #b8932f;
  transform: translateY(-0.0625rem);
}

.deposit-info-notice {
  background-color: rgba(212, 175, 55, 0.1);
  border: 0.0625rem solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.deposit-notice-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 0.75rem 0;
}

.deposit-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deposit-notice-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.deposit-notice-list li:last-child {
  margin-bottom: 0;
}

.deposit-notice-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

/* 회원 탈퇴 팝업 */
.withdraw-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.withdraw-popup.show {
  opacity: 1;
  visibility: visible;
}

.withdraw-popup-content {
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 35rem;
  transform: translateY(-1.25rem);
  transition: transform 0.3s;
}

.withdraw-popup.show .withdraw-popup-content {
  transform: translateY(0);
}

.withdraw-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.withdraw-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.withdraw-popup-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.withdraw-popup-close:hover {
  color: var(--text-primary);
}

.withdraw-popup-body {
  padding: 2rem;
}

.withdraw-message {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  text-align: center;
}

.withdraw-submessage {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.withdraw-textarea {
  width: 100%;
  min-height: 10rem;
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  resize: vertical;
  margin-bottom: 1.5rem;
  font-family: inherit;
}

.withdraw-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.withdraw-textarea::placeholder {
  color: var(--text-muted);
}

.btn-submit-withdraw {
  width: 100%;
  background-color: #dc2626;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit-withdraw:hover {
  background-color: #991b1b;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1rem rgba(220, 38, 38, 0.4);
}

/* 후기 팝업 모바일 반응형 */
@media (max-width: 640px) {
  .review-popup-content {
    width: 95%;
    margin: 1rem;
  }

  .review-popup-header,
  .review-popup-body {
    padding: 1rem;
  }

  .review-actions {
    flex-direction: column;
  }

  .btn-review-submit,
  .btn-review-cancel {
    width: 100%;
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .detail-image {
    width: 100%;
  }

  /* 헤더 - 한 줄로 표시 */
  .header-content {
    flex-direction: row;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  /* Hero 영역 - 모바일 이미지 비율에 맞게 (1080:1296) */
  .hero-section {
    height: auto;
    aspect-ratio: 1080 / 1296;
    align-items: stretch;
  }

  .hero-slider {
    height: 100%;
  }

  .hero-slide {
    height: 100%;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 모바일에서는 모바일 이미지만 표시 */
  .hero-img-desktop {
    display: none;
  }

  .hero-img-mobile {
    display: block;
  }

  /* Hero 컨트롤 크기 줄이기 */
  .hero-controls {
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 0.875rem;
    gap: 0.625rem;
  }

  .hero-btn {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }

  .hero-page-indicator {
    font-size: 0.75rem;
    min-width: 2.5rem;
  }

  .success-story {
    padding: 1rem 0;
  }

  .success-content {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .success-left {
    flex: 2;
    max-width: none;
  }

  .success-right {
    flex: 1;
    max-width: 35%;
  }

  .congrat-img {
    max-width: 100%;
  }

  .success-title {
    font-size: 0.75rem;
    padding: 0.3rem 0.875rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
  }

  .success-subtitle {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .btn-success {
    font-size: 0.75rem;
  }

  .arrow-icon {
    width: 0.75rem;
    height: 0.75rem;
  }

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

  .section-title {
    font-size: 1.25rem;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .floating-btn {
    width: 3.125rem;
    height: 3.125rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-btn-top {
    width: 3.125rem;
    height: 3.125rem;
    bottom: 5rem;
    right: 1.25rem;
  }

  .floating-enroll-banner {
    padding: 0.75rem 0;
  }

  .floating-enroll-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .floating-enroll-text {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .floating-discount-badge {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }

  .floating-countdown-text {
    font-size: 0.875rem;
  }

  .btn-floating-enroll {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  .payment-popup {
    padding: 0;
  }

  .payment-popup-content {
    max-height: 95vh;
    border-radius: 0.5rem;
  }

  .payment-popup-header {
    padding: 1.25rem 1.5rem;
  }

  .payment-popup-title {
    font-size: 1.25rem;
  }

  .payment-popup-body {
    padding: 1.5rem;
  }

  .payment-motivation {
    padding: 0.75rem 1rem;
  }

  .payment-motivation-text {
    font-size: 0.875rem;
  }

  .payment-methods {
    flex-direction: column;
  }

  .payment-option-item {
    padding: 0.875rem 1rem;
  }

  .payment-option-name {
    font-size: 0.9375rem;
  }

  .payment-option-price {
    font-size: 0.9375rem;
  }

  .payment-detail-row.total .payment-detail-value {
    font-size: 1.25rem;
  }

  .btn-payment {
    font-size: 1rem;
    padding: 1rem;
  }

  .login-section {
    min-height: auto;
  }

  .login-split-container {
    flex-direction: column;
    min-height: auto;
  }

  .login-left {
    padding: 1.5rem;
    justify-content: center;
    background: linear-gradient(
      135deg,
      rgba(30, 42, 74, 0.5) 0%,
      rgba(26, 31, 53, 0.5) 100%
    );
    border-bottom: 0.0625rem solid var(--border-color);
  }

  .login-hero-slider {
    max-width: 100%;
    min-height: 4rem;
    text-align: center;
  }

  .login-slider-dots {
    margin-top: 1rem;
  }

  .login-right {
    padding: 2.5rem 1.5rem;
  }

  .login-hero-img {
    display: none;
  }

  .login-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .login-text {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: var(--text-muted);
  }

  .login-form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .gender-options {
    gap: 1rem;
  }

  .phone-number-group {
    flex-wrap: wrap;
  }

  .phone-number-group .btn-verify {
    width: 100%;
    flex: 1 1 100%;
    margin-top: 0.5rem;
  }

  /* 상세 페이지 반응형 */
  .banner-title {
    font-size: 1.2rem;
  }

  .banner-notice {
    font-size: 0.75rem;
  }

  .banner-subtitle {
    font-size: 0.9375rem;
  }

  .countdown-timer {
    margin-top: 0.75rem;
  }

  .countdown-text {
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
  }

  .course-open-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .course-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .course-detail-section {
    padding: 0 0;
    background-color: var(--primary-dark);
  }

  .course-thumbnail-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .course-detail-thumbnail {
    width: 100%;
    height: auto;
  }

  .course-detail-title {
    font-size: 1.5rem;
  }

  .course-description {
    font-size: 1rem;
  }

  .installment-price {
    font-size: 1.5rem;
  }

  .price-unit {
    font-size: 0.875rem;
  }

  .installment-price-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .discount-badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
  }

  .price-info {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .original-price,
  .discount-price,
  .discount-deadline {
    font-size: 0.8125rem;
  }

  .tab-button {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1rem 1.25rem;
  }

  .notice-section {
    padding: 1.5rem;
  }

  /* 마이페이지 반응형 */
  .mypage-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
  }

  .mypage-tabs {
    margin-bottom: 2rem;
  }

  .mypage-section {
    padding: 1rem 0 3rem 0;
  }

  .mypage-greeting {
    font-size: 1.125rem;
  }

  .mypage-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .mypage-tab {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mypage-content {
    padding: 1.5rem;
  }

  .mypage-section-title {
    font-size: 1.25rem;
  }

  .mypage-course-grid {
    grid-template-columns: 1fr;
  }

  /* 결제내역 - 모바일에서는 테이블 숨기고 카드 표시 */
  .payment-history-table {
    display: none;
  }

  .payment-history-cards {
    display: block;
  }

  .myinfo-container {
    max-width: 100%;
  }
}

/* 이용약관 페이지 */
.terms-page-section {
  padding: 3rem 0 5rem 0;
  background-color: var(--primary-dark);
  min-height: calc(100vh - 10rem);
}

.terms-page-wrapper {
  max-width: 50rem;
  margin: 0 auto;
  background-color: var(--secondary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 3rem;
}

.terms-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.125rem solid var(--border-color);
}

.terms-page-content {
  margin-bottom: 2rem;
}

.terms-article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.terms-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.terms-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.terms-text:last-child {
  margin-bottom: 0;
}

.terms-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.terms-page-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 0.0625rem solid var(--border-color);
}

.btn-back-terms {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932f 100%);
  color: var(--primary-dark);
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-back-terms:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(212, 175, 55, 0.4);
}

/* 경고 메시지 */
.alert-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(220, 38, 38, 0.15);
  border: 0.0625rem solid rgba(220, 38, 38, 0.3);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

.alert-icon {
  color: #fca5a5;
  flex-shrink: 0;
}

.alert-text {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 로딩 스피너 */
.loading-spinner {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-primary);
  animation: spinner 0.6s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* 인증 완료 표시 */
.verification-complete {
  display: inline-flex;
  align-items: center;
  color: var(--success-green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5rem;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 개인정보 취급방침 페이지 추가 스타일 */
.privacy-intro {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.privacy-table-section {
  background-color: var(--primary-dark);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-table-section:last-child {
  margin-bottom: 0;
}

.privacy-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.0625rem solid var(--border-color);
}

.privacy-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.05);
}

.privacy-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.privacy-retention-item {
  padding: 0;
}

.privacy-retention-item .terms-text {
  margin-bottom: 0.75rem;
}

.privacy-retention-item .terms-text:last-child {
  margin-bottom: 0;
}

.privacy-retention-item strong {
  color: var(--accent-gold);
  font-weight: 700;
}

/* 이용약관 페이지 반응형 */
@media (max-width: 768px) {
  .terms-page-section {
    padding: 2rem 0 3rem 0;
  }

  .terms-page-wrapper {
    padding: 2rem 1.5rem;
  }

  .terms-page-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }

  .terms-subtitle {
    font-size: 1.125rem;
  }

  .terms-text {
    font-size: 0.875rem;
  }

  .terms-article {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .btn-back-terms {
    width: 100%;
    padding: 1rem;
  }

  .privacy-intro {
    padding: 1.25rem;
  }

  .privacy-table-section {
    padding: 1.25rem;
  }

  .privacy-section-title {
    font-size: 1rem;
  }

  /* 입금 정보 팝업 반응형 */
  .deposit-info-popup-content {
    max-width: 95%;
    margin: 0 1rem;
  }

  .deposit-info-popup-header {
    padding: 1.25rem 1.5rem;
  }

  .deposit-info-popup-title {
    font-size: 1.25rem;
  }

  .deposit-info-popup-body {
    padding: 1.5rem;
  }

  .deposit-info-section {
    padding: 1.25rem;
  }

  .deposit-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .deposit-info-label {
    min-width: auto;
  }

  .deposit-info-value {
    text-align: left;
    width: 100%;
  }

  .deposit-account-wrapper {
    justify-content: space-between;
    width: 100%;
  }

  .deposit-info-notice {
    padding: 1rem;
  }

  .deposit-notice-title {
    font-size: 0.9375rem;
  }

  .deposit-notice-list li {
    font-size: 0.8125rem;
  }

  /* 모바일에서 플로팅 배너가 있을 때 footer 여백 조정 */
  body:has(.floating-enroll-banner.show) .footer,
  .footer.with-floating-banner {
    padding-bottom: 5rem;
  }
}
