/* ---------- Video izleme sayfası ---------- */
.watch-page {
  padding: 32px 0 68px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
}

.watch-main {
  min-width: 0;
}

.watch-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.5;
}

.watch-breadcrumb a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.watch-breadcrumb a:hover {
  color: var(--yellow);
}

.watch-breadcrumb span[aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.watch-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-title {
  margin: 22px 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.watch-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.watch-cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.13);
  color: var(--yellow-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-desc {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-line;
}

.watch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.watch-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.watch-tag:hover {
  border-color: rgba(255, 196, 0, 0.45);
  background: rgba(255, 196, 0, 0.08);
  color: var(--yellow-soft);
}

.watch-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.watch-side-title,
.watch-popular h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.watch-side-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.watch-side-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.watch-side-item:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.watch-side-item img {
  width: 112px;
  aspect-ratio: 16 / 9;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel-solid);
}

.watch-side-item div {
  min-width: 0;
}

.watch-side-item strong {
  display: block;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.watch-side-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.68rem;
}

.watch-popular {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.watch-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}

.watch-popular-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.watch-popular-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  background: var(--panel-solid);
}

.watch-popular-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.watch-popular-card span {
  color: var(--muted-2);
  font-size: 0.68rem;
}

.watch-empty {
  color: var(--muted);
  font-size: 0.84rem;
}

.watch-notfound {
  padding: 80px 0;
  text-align: center;
}

.watch-notfound h1 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.watch-notfound p {
  margin-bottom: 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .watch-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .watch-main {
    order: -1;
  }

  .watch-sidebar {
    position: static;
    order: 0;
  }

  .watch-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .watch-page {
    padding: 20px 0 48px;
  }

  .watch-popular-grid {
    grid-template-columns: 1fr;
  }

  .watch-desc {
    padding: 16px;
  }
}
