/* ===================================================================
   PERİ AKADEMİ & DERS PORTALI - MASTERCLASS DENEYİMİ STİL DOSYASI
   Lüks, Estetik & Modern Rose-Gold / Obsidian E-Öğrenme Tasarımı
   =================================================================== */

/* --- 1. AKADEMİ GENEL YAPI & BAŞLIKLAR --- */
.academy-section {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(242, 194, 184, 0.09) 0%, transparent 55%),
              radial-gradient(circle at 90% 70%, rgba(255, 209, 102, 0.04) 0%, transparent 40%),
              var(--bg-dark);
  overflow: hidden;
}

.academy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-rose), transparent);
}

/* Kategori Filtre Butonları */
.academy-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 44px;
}

.academy-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 24, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.academy-filter-pill:hover {
  color: var(--text-white);
  border-color: var(--rose-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 194, 184, 0.15);
}

.academy-filter-pill.active {
  background: linear-gradient(135deg, var(--rose-primary), #e5ac9f);
  color: #1a0f0d;
  border-color: transparent;
  box-shadow: 0 8px 24px var(--rose-glow);
  transform: translateY(-2px);
}

.academy-filter-pill .pill-badge {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.academy-filter-pill.active .pill-badge {
  background: rgba(0, 0, 0, 0.2);
  color: #1a0f0d;
}

/* --- 2. SİNEMATİK DERS OYNATICI ALANI (CINEMA PLAYER GRID) --- */
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1040px) {
  .lesson-grid {
    grid-template-columns: 1fr;
  }
}

/* Ana Oynatıcı Kartı */
.lesson-main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-player-card {
  position: relative;
  background: #0f1014;
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(242, 194, 184, 0.08);
}

.lesson-player-ambient-glow {
  position: absolute;
  top: 10%;
  left: 20%;
  right: 20%;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(242, 194, 184, 0.18), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

/* Sinematik 16:9 Ekran */
.video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  background: radial-gradient(circle at center, #1b1c24 0%, #0d0e12 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  z-index: 2;
}

/* Video Arka Plan Deseni / Mockup */
.video-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(242, 194, 184, 0.15) 0%, transparent 45%),
              linear-gradient(180deg, rgba(10, 10, 11, 0.4) 0%, rgba(10, 10, 11, 0.85) 100%);
  z-index: 0;
}

.video-screen-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Üst Rozet Barı */
.video-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 18, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-primary);
  backdrop-filter: blur(10px);
}

.video-badge-4k {
  background: linear-gradient(135deg, #ffd166, #f39c12);
  color: #1a0f0d;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Oynatıcı Merkez İkonu */
.video-center-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  cursor: pointer;
  margin: auto 0;
}

.play-pulse-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), #e5ac9f);
  color: #1a0f0d;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 35px var(--rose-glow);
  transition: all var(--transition-normal);
  position: relative;
}

.play-pulse-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--rose-primary);
  opacity: 0.6;
  animation: playPulse 2.4s infinite;
}

@keyframes playPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.play-pulse-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 45px rgba(242, 194, 184, 0.6);
}

.play-pulse-btn svg {
  transform: translateX(2px);
}

.video-center-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
  max-width: 650px;
  line-height: 1.35;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.video-center-sub {
  font-size: 0.88rem;
  color: var(--rose-light);
  opacity: 0.9;
}

/* Oynatıcı Alt Kontrol Çubuğu (Realistic Media Scrubber) */
.video-control-bar {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(14px);
}

.video-scrubber-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-scrubber-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--rose-primary), #ffd166);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

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

.video-controls-left, .video-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.video-time-display {
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--text-secondary);
}

.video-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.video-ctrl-btn:hover {
  color: var(--rose-primary);
}

.video-speed-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-speed-pill:hover, .video-speed-pill.active {
  background: var(--rose-primary);
  color: #1a0f0d;
}

/* Ders Alt Navigasyon & Aksiyon Çubuğu */
.lesson-action-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(24, 24, 28, 0.5);
  border-top: 1px solid var(--border-subtle);
}

.lesson-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lesson-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-lesson-nav:hover:not(:disabled) {
  color: var(--text-white);
  border-color: var(--rose-primary);
  background: rgba(242, 194, 184, 0.1);
}

.btn-lesson-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-complete-lesson {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-rose);
  background: rgba(242, 194, 184, 0.12);
  color: var(--rose-primary);
  transition: all var(--transition-normal);
}

.btn-complete-lesson:hover {
  background: var(--rose-primary);
  color: #1a0f0d;
  box-shadow: 0 4px 18px var(--rose-glow);
  transform: translateY(-2px);
}

.btn-complete-lesson.completed {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

/* --- 3. DERS DETAYLARI & İÇERİK SEKMELERİ (TABS) --- */
.lesson-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.lesson-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.lesson-title-bar h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #fff;
  margin-top: 6px;
  line-height: 1.35;
}

/* Ders İçerik Sekmeleri */
.lesson-content-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
}

.lesson-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lesson-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.lesson-tab-btn.active {
  color: var(--rose-primary);
  background: rgba(242, 194, 184, 0.1);
  font-weight: 700;
}

/* Sekme İçerikleri */
.lesson-tab-pane {
  display: none;
  animation: fadeInPane 0.35s ease;
}

.lesson-tab-pane.active {
  display: block;
}

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

.lesson-rich-text h3 {
  font-size: 1.15rem;
  color: var(--rose-light);
  margin: 20px 0 10px;
  font-weight: 700;
}

.lesson-rich-text p {
  color: var(--text-primary);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lesson-points-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lesson-points-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.lesson-points-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--rose-primary);
  font-size: 0.9rem;
}

.lesson-points-list li strong {
  color: #fff;
}

/* Eylem Görevi / Aksiyon Kutusu */
.action-item-card {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.08) 0%, rgba(242, 194, 184, 0.05) 100%);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 16px;
}

.action-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.action-item-badge {
  background: #ffd166;
  color: #1a0f0d;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* İnteraktif Bilgi / Hafıza Kartı (3D Flip Card) */
.flashcard-container {
  perspective: 1000px;
  width: 100%;
  min-height: 220px;
  margin: 18px 0;
  cursor: pointer;
}

.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  text-align: center;
  transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border-radius: var(--radius-md);
}

.flashcard-container.flipped .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-front, .flashcard-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.flashcard-front {
  background: radial-gradient(circle at 50% 0%, #202028 0%, #15151a 100%);
  border: 1.5px dashed var(--border-rose);
  color: #fff;
}

.flashcard-back {
  background: linear-gradient(135deg, rgba(242, 194, 184, 0.15) 0%, rgba(20, 20, 24, 0.95) 100%);
  border: 1.5px solid var(--rose-primary);
  color: var(--text-primary);
  transform: rotateY(180deg);
  box-shadow: 0 10px 30px var(--rose-glow);
}

.flashcard-hint-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--rose-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* PDF Eki Kutusu */
.lesson-pdf-attached {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(242, 194, 184, 0.06);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
}

/* --- 4. SAĞ MÜFREDAT & DERS LİSTESİ (SYLLABUS SIDEBAR) --- */
.syllabus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 110px;
}

.syllabus-header {
  padding: 24px;
  background: linear-gradient(180deg, rgba(242, 194, 184, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.syllabus-course-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 4px;
}

.syllabus-header h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}

/* İlerleme Çubuğu */
.syllabus-progress-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.syllabus-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.syllabus-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.syllabus-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-primary), #ffd166);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Ders Listesi */
.syllabus-list {
  max-height: 480px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.syllabus-list::-webkit-scrollbar {
  width: 5px;
}

.syllabus-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.lesson-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lesson-item-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.08);
}

.lesson-item-link.active {
  background: rgba(242, 194, 184, 0.12);
  border-color: var(--border-rose);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(242, 194, 184, 0.1);
}

.lesson-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.lesson-item-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.lesson-item-link.active .lesson-item-badge {
  background: var(--rose-primary);
  color: #1a0f0d;
}

.lesson-item-title-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lesson-item-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lesson-item-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.lesson-item-check.done {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* --- 5. EĞİTİM KEŞİF VİTRİNİ (COURSES EXPLORER GRID) --- */
.courses-showcase-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border-subtle);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-card-lux {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.course-card-lux:hover {
  transform: translateY(-8px);
  border-color: var(--border-rose);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(242, 194, 184, 0.15);
}

.course-card-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1e1e24;
}

.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card-lux:hover .course-card-thumb img {
  transform: scale(1.08);
}

.course-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose-primary);
  backdrop-filter: blur(8px);
}

.course-card-rating {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd166;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
}

.course-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.course-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
}

.course-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.course-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.course-card-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose-primary);
  color: #1a0f0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- 6. İNDİRİLEBİLİR PDF KÜTÜPHANESİ (LUXURY PDF CARDS) --- */
.pdf-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.pdf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pdf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--rose-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pdf-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-rose);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(242, 194, 184, 0.12);
}

.pdf-card:hover::before {
  opacity: 1;
}

.pdf-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pdf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 194, 184, 0.12);
  color: var(--rose-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rose-light);
  border: 1px solid var(--border-subtle);
}

.pdf-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: var(--font-serif);
}

.pdf-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pdf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.pdf-pages {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-pdf-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(242, 194, 184, 0.12);
  border: 1px solid var(--border-rose);
  color: var(--rose-primary);
  transition: all var(--transition-fast);
}

.btn-pdf-view:hover {
  background: var(--rose-primary);
  color: #1a0f0d;
  box-shadow: 0 4px 15px var(--rose-glow);
}

/* --- 7. ÖĞRENCİ PANELİ (DASHBOARD) EK STİLLERİ --- */
.dashboard-page {
  background-color: var(--bg-dark);
}

.dashboard-hero {
  margin: 30px 0 35px;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(24, 24, 28, 0.9) 0%, rgba(35, 25, 28, 0.7) 100%);
  border: 1px solid var(--border-rose);
  box-shadow: var(--shadow-card);
}

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.welcome-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), #ffd166);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px var(--rose-glow);
}

.welcome-text h1 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 6px;
}

.welcome-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.welcome-quote {
  max-width: 380px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--rose-light);
  border-left: 3px solid var(--rose-primary);
  padding-left: 14px;
}

/* İstatistik Kartları Grid */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.dash-stat-card:hover {
  border-color: var(--border-rose);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(242, 194, 184, 0.12);
  color: var(--rose-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-stat-content h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

.dash-stat-content span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0 20px;
}

.dash-section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-section-header h2 span {
  color: var(--rose-primary);
}

/* Hata Defteri Formu */
.journal-section {
  background: var(--bg-card);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0 60px;
}

.journal-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.journal-form input, .journal-form textarea {
  background: rgba(10, 10, 11, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.journal-form input:focus, .journal-form textarea:focus {
  border-color: var(--rose-primary);
}

.journal-form input {
  flex: 1;
  min-width: 240px;
}

.journal-form textarea {
  flex: 2;
  min-width: 300px;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.note-item-title {
  font-weight: 700;
  color: var(--rose-primary);
  margin-bottom: 4px;
}

.note-item-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- 8. HOCALARIN SESLİ ANLATIMI & VİDEO DERS KESİTLERİ --- */
.video-mode-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.video-mode-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.video-mode-btn:hover {
  color: #fff;
}

.video-mode-btn.active {
  background: var(--rose-primary);
  color: #1a0f0d;
  box-shadow: 0 2px 10px var(--rose-glow);
}

/* YouTube Video Iframe Wrapper */
.video-iframe-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: #000;
  display: none;
}

.video-iframe-wrapper.active {
  display: block;
}

.video-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Hoca Sesli Dinleme Oynatıcı Barı (Audio Voice Bar) */
.instructor-voice-player {
  background: linear-gradient(135deg, rgba(24, 24, 30, 0.95) 0%, rgba(35, 25, 28, 0.9) 100%);
  border: 1.5px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(242, 194, 184, 0.12);
  position: relative;
  overflow: hidden;
}

.instructor-voice-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-primary), #ffd166, var(--rose-primary));
}

.voice-instructor-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), #ffd166);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px var(--rose-glow);
  flex-shrink: 0;
}

.voice-mic-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 2px solid #141418;
}

.voice-instructor-meta h4 {
  font-size: 1.05rem;
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 2px;
}

.voice-instructor-meta span {
  font-size: 0.82rem;
  color: var(--rose-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Canlı Ses Dalgaları (Equalizer Bars) */
.voice-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-left: 8px;
}

.voice-bar {
  width: 3px;
  height: 4px;
  background: var(--rose-primary);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.voice-equalizer.playing .voice-bar:nth-child(1) { animation: soundWave 0.8s infinite ease-in-out; }
.voice-equalizer.playing .voice-bar:nth-child(2) { animation: soundWave 1.1s infinite 0.1s ease-in-out; }
.voice-equalizer.playing .voice-bar:nth-child(3) { animation: soundWave 0.7s infinite 0.2s ease-in-out; }
.voice-equalizer.playing .voice-bar:nth-child(4) { animation: soundWave 1.3s infinite 0.15s ease-in-out; }
.voice-equalizer.playing .voice-bar:nth-child(5) { animation: soundWave 0.9s infinite 0.25s ease-in-out; }

@keyframes soundWave {
  0%, 100% { height: 4px; }
  50% { height: 18px; background: #ffd166; }
}

/* Ses Denetim Butonları */
.voice-controls-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-voice-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--rose-primary), #e5ac9f);
  color: #1a0f0d;
  font-size: 0.9rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--rose-glow);
  transition: all var(--transition-fast);
}

.btn-voice-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(242, 194, 184, 0.4);
}

.btn-voice-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-voice-stop:hover {
  background: rgba(255, 75, 75, 0.2);
  border-color: #ff4b4b;
  color: #ff4b4b;
}

.voice-speed-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 6px;
}

.voice-speed-btn {
  background: transparent;
  border: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.voice-speed-btn.active {
  background: var(--rose-primary);
  color: #1a0f0d;
}

/* Sesli Okuma Esnasında Paragraf Vurgulama */
.speech-highlight-active {
  background: rgba(242, 194, 184, 0.16) !important;
  border-left: 4px solid var(--rose-primary) !important;
  padding-left: 14px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: #fff !important;
}

/* Hocanın Kritik Konuşma Kesiti Vurgusu */
.instructor-speech-card {
  background: linear-gradient(135deg, rgba(20, 20, 26, 0.8) 0%, rgba(30, 22, 25, 0.8) 100%);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 20px 0;
  position: relative;
}

.instructor-speech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.instructor-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 194, 184, 0.12);
  color: var(--rose-primary);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.instructor-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 12px;
}

.instructor-quote-author {
  font-size: 0.84rem;
  color: var(--rose-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
