/* ============================================================
   COURSES SPECIFIC CSS
   ============================================================ */

/* Views */
.view-section {
  animation: fadeUp 0.4s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}
.breadcrumb-btn {
  background: var(--white-08); color: var(--white-90); padding: 8px 16px; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600; font-family: var(--font-arabic); transition: background 0.2s;
}
.breadcrumb-btn:hover { background: var(--white-15); }
.breadcrumb-sep { color: var(--white-30); font-size: 0.75rem; }
.breadcrumb-current { color: var(--white); font-weight: 700; font-size: 0.875rem; }

/* Stages Grid */
.view-icon {
  width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px auto; font-size: 1.875rem;
}
.stages-grid { display: grid; gap: 16px; }
.max-w-700 { max-width: 700px; }
.stage-card {
  background: var(--white); border: 2px solid rgba(6,11,20,0.1); border-radius: 16px; padding: 24px;
  display: flex; align-items: center; gap: 24px; cursor: pointer; transition: all 0.3s;
}
.stage-card:hover { transform: translateY(-4px); border-color: var(--accent-400); box-shadow: var(--shadow-md); }
.stage-card-gold { border-color: var(--accent-400); background: linear-gradient(135deg, var(--white), var(--white-90)); }
.stage-num {
  width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900; color: white; flex-shrink: 0;
}
.stage-info { flex: 1; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-tags .tag { background: var(--white-90); color: var(--navy-700); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 9999px; border: 1px solid rgba(6,11,20,0.1); }
@media (max-width: 639px) { .hidden-mobile { display: none; } }

/* Subjects Grid */
.max-w-800 { max-width: 800px; }
.subjects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 768px) { .subjects-grid { grid-template-columns: 1fr 1fr 1fr; } }
.subject-card {
  background: var(--white); border: 2px solid rgba(6,11,20,0.1); border-radius: 16px; padding: 24px;
  text-align: center; cursor: pointer; transition: all 0.3s;
}
.subject-card:hover { transform: translateY(-4px); border-color: var(--accent-400); }
.subject-icon {
  width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem; margin: 0 auto 16px auto;
}

/* Video Layout */
.video-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .video-layout { grid-template-columns: 1fr 2fr; } }
.video-sidebar { border: 1px solid rgba(6,11,20,0.1); background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.sidebar-header { padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-badge { background: rgba(255,255,255,0.25); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; }
.lesson-item { padding: 16px; border-bottom: 1px solid rgba(6,11,20,0.05); display: flex; align-items: center; gap: 12px; cursor: pointer; transition: background 0.2s; }
.lesson-item:hover { background: rgba(6,11,20,0.05); }
.lesson-item.active { background: rgba(6,11,20,0.05); }
.lesson-num { width: 32px; height: 32px; background: rgba(6,11,20,0.05); color: var(--accent-400); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; flex-shrink: 0; }
.lesson-title { font-size: 0.875rem; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.lesson-type { font-size: 0.75rem; color: var(--navy-500); }

.video-main { border: 1px solid rgba(6,11,20,0.1); background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.video-locked { height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; text-align: center; }
.locked-icon { width: 64px; height: 64px; background: var(--white-04); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.unlock-form { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 300px; }
.unlock-input { flex: 1; background: var(--navy-900); border: 1px solid var(--white-15); border-radius: 12px; padding: 12px 16px; color: white; text-align: center; font-size: 1rem; letter-spacing: 2px; outline: none; transition: border-color 0.2s; }
.unlock-input:focus { border-color: var(--accent-400); }
.unlock-btn { padding: 0 24px; min-height: 48px; border-radius: 12px; }

.video-header { padding: 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(6,11,20,0.1); }
.lock-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(6,11,20,0.05); color: var(--navy-500); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.lock-btn:hover { background: rgba(6,11,20,0.1); color: var(--navy-900); }
.video-player { aspect-ratio: 16/9; background: var(--navy-950); display: flex; align-items: center; justify-content: center; width: 100%; }
