/* ===== FONTS ===== */
/* Proza Libre — body font (matches Mystik theme) */
@import url('https://fonts.googleapis.com/css2?family=Proza+Libre:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'BluuNext';
  src: url('../assets/fonts/font-face/BluuNext/BluuNext-Bold.woff2') format('woff2'),
       url('../assets/fonts/font-face/BluuNext/BluuNext-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* ===== VARIABLES ===== */
:root {
  --gold: #c9a84c;
  --gold-light: #e4c97e;
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #141414;
  --text: #e0d9ce;
  --text-muted: #8a7f72;
  --border: rgba(201,168,76,0.2);
  --heading-font: 'BluuNext', Georgia, serif;
  --body-font: 'Proza Libre', sans-serif;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: var(--bg2); }
.gold { color: var(--gold); }
.text-center { text-align: center; }

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-family: var(--heading-font);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

/* diamond decorators */
.diamond-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.diamond-divider::before, .diamond-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.diamond-divider span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  display: block;
}

/* stars background */
.stars-bg {
  position: relative;
  overflow: hidden;
}
.stars-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/bg.jpg') center/cover no-repeat;
  opacity: 0.4;
  z-index: 0;
}
.stars-bg > * { position: relative; z-index: 1; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  font-family: var(--heading-font);
  font-size: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-star { color: var(--gold); font-size: 18px; }
.logo:hover { color: var(--gold); }

.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: all var(--transition);
  position: relative;
}
.cart-btn:hover { background: var(--gold); color: #000; }
.cart-count {
  background: var(--gold);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cart-btn:hover .cart-count { background: #000; color: var(--gold); }

.cabinet-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.cabinet-btn:hover { background: rgba(201,168,76,0.2); color: var(--gold); }
.cabinet-btn svg { width: 16px; height: 16px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero_bg.jpg') center/cover no-repeat;
  opacity: 0.6;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.3) 60%, rgba(8,8,8,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 120px 0 80px;
}
.hero-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--heading-font);
  font-size: clamp(42px, 7vw, 80px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
}
.hero-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-photo-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: -1;
}
.about-photo-badge {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background: var(--gold);
  color: #000;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  border-radius: var(--radius);
}
.about-photo-badge span { font-size: 28px; display: block; }

.about-text .section-desc { max-width: 100%; }
.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.about-feature:hover { border-color: var(--gold); }
.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
}
.about-feature-text strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}
.about-feature-text span { color: var(--text-muted); font-size: 13px; }

/* ===== VIDEO GREETING ===== */
.video-section {
  text-align: center;
  padding: 80px 0;
  background: var(--bg2);
}
.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16/9;
}
.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/bg.jpg') center/cover;
  cursor: pointer;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.video-play-btn {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(201,168,76,0.4);
  animation: pulse 2s infinite;
}
.video-play-btn:hover { transform: scale(1.1); background: var(--gold-light); }
.video-play-btn svg { width: 28px; height: 28px; fill: #000; margin-left: 4px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
.video-placeholder-text {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== COURSES INTRO ===== */
.courses-intro {
  padding: 80px 0 40px;
}
.courses-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.courses-intro-text .section-desc { max-width: 100%; margin-bottom: 32px; }
.courses-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.stat-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.stat-item .num {
  font-family: var(--heading-font);
  font-size: 36px;
  color: var(--gold);
  display: block;
}
.stat-item .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.courses-intro-visual {
  position: relative;
}
.courses-intro-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== COURSE CARDS ===== */
.courses-grid-section {
  padding: 40px 0 80px;
}
.courses-grid-section .section-title { text-align: center; margin-bottom: 48px; }
.courses-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.course-card {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: row;
  cursor: pointer;
  min-height: 340px;
}
.course-card:first-child { border-top: 1px solid var(--border); }
.course-card:hover {
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--gold), inset 0 0 80px rgba(201,168,76,0.04);
}
.card-media {
  position: relative;
  width: 56%;
  flex-shrink: 0;
  overflow: hidden;
  background: #000;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.course-card:hover .card-media img { transform: scale(1.04); }
.card-act-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}
.course-card--soon {
  cursor: default;
  pointer-events: none;
}
.course-card--soon .card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.course-card--soon .card-body {
  opacity: 0.6;
}
.card-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  z-index: 3;
  white-space: nowrap;
}
.card-video-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  background: rgba(0,0,0,0.4);
  z-index: 2;
}
.course-card:hover .card-video-btn { opacity: 1; }
.card-video-btn button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.card-video-btn button:hover { transform: scale(1.15); }
.card-video-btn button svg { width: 20px; height: 20px; fill: #000; margin-left: 3px; }

.card-body {
  padding: 48px 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.card-act-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.card-title {
  font-family: var(--heading-font);
  font-size: 26px;
  color: #fff;
  line-height: 1.2;
}
.card-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  max-width: 420px;
  margin-top: 4px;
}
.card-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}
.card-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.card-actions .btn {
  justify-content: center;
  padding: 12px 28px;
  font-size: 12px;
}
.card-actions .btn-cart {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.card-actions .btn-cart:hover { background: rgba(201,168,76,0.1); }

/* ===== VIDEO MODAL ===== */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal-overlay.open { display: flex; }
.video-modal {
  width: 100%;
  max-width: 860px;
  position: relative;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition);
}
.video-modal-close:hover { color: var(--gold); }
.video-modal video, .video-modal iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #000;
  display: block;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.cart-drawer.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  color: #fff;
}
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--gold); }
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-muted);
  gap: 12px;
  text-align: center;
}
.cart-empty svg { width: 48px; height: 48px; opacity: 0.3; }
.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #000;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: #fff; font-size: 14px; margin-bottom: 4px; }
.cart-item-price { color: var(--gold); font-size: 14px; font-weight: 700; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: #e05555; }
.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cart-total-label { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.cart-total-price { font-family: var(--heading-font); font-size: 28px; color: var(--gold); }
.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 16px;
}
.prodamus-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.prodamus-note::before {
  content: '🔒';
  font-size: 12px;
}

/* ===== AUTH MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--gold); }
.modal-title {
  font-family: var(--heading-font);
  font-size: 26px;
  color: #fff;
  margin-bottom: 8px;
}
.modal-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--body-font);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--text-muted); }
.auth-btn { width: 100%; justify-content: center; margin-top: 8px; padding: 14px; font-size: 13px; }
.auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-switch a { color: var(--gold); cursor: pointer; }
.auth-error {
  background: rgba(224,85,85,0.1);
  border: 1px solid rgba(224,85,85,0.3);
  color: #e05555;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* ===== CABINET PAGE ===== */
.cabinet-page {
  min-height: 100vh;
  padding-top: 72px;
}
.cabinet-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.cabinet-user {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cabinet-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 32px;
  color: var(--gold);
}
.cabinet-user-info h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}
.cabinet-user-info p { color: var(--text-muted); font-size: 14px; }
.cabinet-logout {
  margin-left: auto;
  padding: 8px 20px;
  font-size: 12px;
}
.cabinet-content { padding: 40px 0; }
.cabinet-section-title {
  font-family: var(--heading-font);
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.purchases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.purchase-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.purchase-card:hover { border-color: var(--gold); }
.purchase-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.purchase-card-body { padding: 16px; }
.purchase-card-title {
  font-family: var(--heading-font);
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.purchase-card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.purchases-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 14px;
}
.purchase-access-soon {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0;
}
.purchase-access-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  width: 100%;
  justify-content: center;
}
.no-purchases {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.no-purchases h3 { font-family: var(--heading-font); font-size: 22px; color: #fff; margin: 16px 0 8px; }
.no-purchases a:not(.btn) { color: var(--gold); }

/* ===== CABINET SUCCESS BANNER ===== */
.cabinet-success-banner {
  background: rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding: 14px 0;
}
.cabinet-success-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
}
.cabinet-success-inner svg { flex-shrink: 0; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg2);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  color: #fff;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: var(--gold); font-size: 18px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { font-size: 24px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 14px; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 12px; }
.footer-bottom a { color: var(--text-muted); font-size: 12px; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== CARD — кнопка Подробнее ===== */
.btn-details {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-details:hover { color: var(--gold); border-color: var(--gold); }

/* ===== PRODUCT PAGE ===== */
.page-product { padding-top: 72px; min-height: 100vh; }

/* Video Hero */
.product-video-hero { width: 100%; }
.pvh-inner {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
}
.pvh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.25) 100%);
}
.pvh-content {
  position: relative;
  z-index: 1;
  padding: 56px 80px;
  max-width: 680px;
}
.pvh-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.pvh-title {
  font-family: var(--heading-font);
  font-size: 44px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pvh-price {
  font-family: var(--heading-font);
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 28px;
}
.pvh-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product video section */
.product-video-section { padding: 60px 0; }
.pvs-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 40px auto 0;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.pvs-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.pvs-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--bg3);
  border-radius: 10px;
}

/* Product Info Section */
.product-section {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.product-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.product-info { position: sticky; top: 96px; }
.product-title {
  font-family: var(--heading-font);
  font-size: 36px;
  color: #fff;
  line-height: 1.2;
  margin: 8px 0 16px;
}
.product-price {
  font-family: var(--heading-font);
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}
.product-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 28px;
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 14px;
}
.product-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.product-guarantees { display: flex; flex-direction: column; gap: 10px; }
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.guarantee-item span { color: var(--gold); font-size: 16px; }

/* Program & Description sections */
.product-program {
  padding: 60px 0;
  background: var(--bg2);
}
.program-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.program-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.program-item:hover { border-color: var(--gold); }
.program-num {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--gold);
  min-width: 36px;
  line-height: 1;
}
.program-text strong { color: #fff; display: block; margin-bottom: 4px; font-size: 14px; }
.program-text span { color: var(--text-muted); font-size: 13px; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-breadcrumb a { color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .pvh-content { padding: 40px 24px; }
  .pvh-title { font-size: 32px; }
  .pvh-price { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-info { position: static; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .courses-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { order: -1; }
  .about-photo img { height: 400px; }
  .about-photo-badge { right: 0; bottom: -16px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .burger { display: flex; }
  .header-actions .cabinet-btn span { display: none; }
  .course-card { flex-direction: column; min-height: auto; }
  .card-media { width: 100%; aspect-ratio: 16/9; height: auto; }
  .card-body { padding: 28px 24px; }
  .card-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-drawer { width: 100%; right: -100%; }
  .courses-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .card-body { padding: 24px 20px; }
  .card-title { font-size: 20px; }
  .modal { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
