/* ===== ABONE BUTONU ===== */
.yt-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #ff0000;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  margin-top: 28px;
}
.yt-subscribe-btn:hover { background: #cc0000; transform: translateY(-2px); }
.yt-subscribe-btn svg { width: 20px; height: 20px; }

/* ===== VİDEOLAR BÖLÜMÜ ===== */
.videos-section {
  padding: 64px 0 96px;
  background: var(--white);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== VİDEO KARTI ===== */
.video-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}

.video-card:hover {
  border-color: rgba(200,168,75,0.35);
  box-shadow: 0 10px 32px rgba(13,27,62,0.09);
  transform: translateY(-4px);
}

.video-card.hidden { display: none; }

/* THUMBNAIL */
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
  opacity: 1;
}

/* PLACEHOLDER - video ID girilmemişse */
.video-thumb img[src*="BURAYA_VIDEO_ID"] {
  opacity: 0;
}
.video-thumb:has(img[src*="BURAYA_VIDEO_ID"])::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(200,168,75,0.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
}

.play-btn svg {
  width: 22px; height: 22px;
  fill: var(--navy-dark);
  margin-left: 3px;
}

.video-card:hover .play-btn {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.1);
}

/* VİDEO BİLGİ */
.video-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vi-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}
.vi-tag.tyt      { background: rgba(200,168,75,0.12); color: #8a6d1e; }
.vi-tag.ayt      { background: rgba(13,27,62,0.08);   color: var(--navy-light); }
.vi-tag.lise     { background: rgba(30,51,112,0.07);  color: #2a4080; }
.vi-tag.ortaokul { background: rgba(16,100,60,0.08);  color: #0f6c3a; }
.vi-tag.lgs      { background: rgba(180,30,30,0.08);  color: #a01e1e; }
.vi-tag.kpss     { background: rgba(80,30,120,0.08);  color: #5a1e8a; }

.video-info h4 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.video-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== KANAL CTA ===== */
.channel-cta {
  padding: 56px 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(200,168,75,0.1);
}

.channel-cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.channel-logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(200,168,75,0.3);
  flex-shrink: 0;
}
.channel-logo img { width: 100%; height: 100%; object-fit: contain; background: var(--navy); }

.channel-text { flex: 1; min-width: 220px; }
.channel-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.channel-text p { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 32, 0.92);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  background: var(--navy-dark);
  border-radius: var(--radius);
  border: 1px solid rgba(200,168,75,0.2);
  overflow: hidden;
  animation: fadeUp 0.3s ease both;
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(200,168,75,0.3); }
.modal-close svg { width: 16px; height: 16px; }

.modal-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .videos-grid { grid-template-columns: 1fr; }
  .channel-cta-inner { flex-direction: column; text-align: center; }
  .channel-cta-inner .yt-subscribe-btn { margin-top: 0; }
}
