/* ═══ GLOBAL ═══ */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { overscroll-behavior-y: none; }

/* ═══ AUTH GLOW ═══ */
.auth-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { max-height: 0; opacity: 0; } to { max-height: 600px; opacity: 1; } }
.animate-fadeIn { animation: fadeIn 0.4s ease-out both; }

/* ═══ MODULE ACCORDION ═══ */
.module-content { overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; max-height: 0; opacity: 0; }
.module-content.open { max-height: 600px; opacity: 1; }
.module-toggle .chevron { transition: transform 0.3s ease; }
.module-toggle.active .chevron { transform: rotate(180deg); }

/* ═══ LESSON BUTTONS ═══ */
.lesson-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 16px;
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(31,31,31,0.5);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.lesson-btn:hover { background: rgba(30,30,30,0.8); border-color: rgba(201,168,76,0.15); }
.lesson-btn:active { transform: scale(0.985); }
.lesson-btn.playing { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); }
.lesson-btn.playing .lesson-dot { background: #c9a84c; box-shadow: 0 0 8px rgba(201,168,76,0.5); }

.lesson-dot {
  width: 8px; height: 8px; min-width: 8px;
  border-radius: 50%;
  background: rgba(240,230,211,0.2);
  transition: all 0.3s ease;
}
.lesson-label { font-size: 13px; color: rgba(240,230,211,0.75); font-weight: 500; }

/* ═══ LOCKED CARDS ═══ */
.locked-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(20,20,20,0.4);
  border: 1px solid rgba(31,31,31,0.4);
  border-radius: 14px;
  cursor: not-allowed;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.locked-card::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(201,168,76,0.02) 10px, rgba(201,168,76,0.02) 20px);
  pointer-events: none;
}
.unlock-badge {
  white-space: nowrap;
  font-size: 10px; font-weight: 600;
  color: #c9a84c;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.15); border-radius: 4px; }

/* ═══ VIDEO CONTAINER ═══ */
#video-container vturb-smartplayer { display: block; width: 100%; }
