/* ===== SportZane Watch Page Styles ===== */
.watch-page { overflow: auto; height: auto; background: var(--bg); }

/* Nav */
.watch-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 54px;
}
.watch-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--text);
  text-decoration: none;
}
.watch-logo i     { color: var(--accent); }
.watch-logo strong { color: var(--accent); }
.watch-nav-links  { display: flex; gap: 20px; }
.watch-nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  display: flex; align-items: center; gap: 5px; transition: color .15s;
}
.watch-nav-links a:hover { color: var(--text); }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 8px 20px; font-size: 12px; color: var(--muted);
}
.breadcrumb-bar a { color: var(--muted); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar span { margin: 0 6px; }

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.watch-main { padding: 24px 0 40px; }
.watch-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* Player */
.watch-player-wrap {
  position: relative; background: #000;
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/9;
}
.watch-player-wrap video { width: 100%; height: 100%; object-fit: contain; }
.watch-player-overlay, .watch-player-error {
  position: absolute; inset: 0;
  background: rgba(13,13,26,.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); font-size: 14px;
}
.watch-player-error i { font-size: 40px; color: var(--danger); }
.watch-player-error button {
  background: var(--accent); border: none; color: #fff;
  padding: 8px 20px; border-radius: 8px; cursor: pointer; font-size: 13px;
}

/* Info bar */
.watch-info-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 14px 16px;
  background: var(--bg2); border-radius: 10px; margin-top: 12px;
  border: 1px solid var(--border);
}
.watch-channel-ident { display: flex; align-items: center; gap: 12px; }
.watch-ch-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--bg3); }
.watch-channel-ident h1 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.watch-cat-badge {
  background: var(--bg3); color: var(--muted);
  padding: 2px 10px; border-radius: 12px; font-size: 11px; text-transform: capitalize;
}
.watch-live-badge {
  background: rgba(255,71,87,.15); color: var(--danger);
  padding: 2px 10px; border-radius: 12px; font-size: 11px;
  margin-left: 4px; animation: pulse 2s infinite;
}
.watch-live-badge i { font-size: 8px; margin-right: 4px; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.watch-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.watch-quality-wrap {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0 8px; height: 34px;
  transition: border-color .15s;
}
.watch-quality-wrap:focus-within { border-color: var(--accent); }
.watch-quality-wrap i { font-size: 11px; color: var(--muted); }
.watch-quality-wrap select {
  background: transparent; border: none; color: var(--text);
  font-size: 12px; cursor: pointer; outline: none; padding: 0 4px 0 0;
  max-width: 100px;
}
.watch-quality-badge {
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: rgba(108,99,255,.15); border-radius: 4px;
  padding: 2px 5px; white-space: nowrap;
}
.watch-btn {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 7px 14px; border-radius: 8px;
  cursor: pointer; font-size: 12px; display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: all .15s;
}
.watch-btn:hover { background: var(--accent); border-color: var(--accent); }
.watch-btn-back:hover { background: var(--bg4); border-color: var(--border); }

/* Description */
.watch-description, .watch-faq {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; margin-top: 14px;
}
.watch-description h2, .watch-faq h2 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.watch-description p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 10px; }

/* How to Watch */
.watch-how h2 { margin-bottom: 14px; }
.how-steps { margin: 0; padding-left: 20px; }
.how-steps li {
  color: var(--muted); font-size: 14px; line-height: 1.7;
  margin-bottom: 8px; padding-left: 6px;
}
.how-steps li strong { color: var(--text); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 8px; overflow: hidden;
}
.faq-item summary {
  padding: 12px 14px; cursor: pointer; font-size: 14px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--accent); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 14px 14px; color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* Right sidebar */
.related-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.related-title i { color: var(--accent); margin-right: 6px; }

.related-list { display: flex; flex-direction: column; gap: 6px; }
.related-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px; text-decoration: none;
  color: var(--text); transition: all .15s;
}
.related-item:hover { background: var(--bg3); border-color: rgba(108,99,255,.3); }
.related-item img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: var(--bg3); }
.related-logo-fb {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--bg4); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.related-info { flex: 1; min-width: 0; }
.related-name { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-cat  { font-size: 11px; color: var(--muted); }
.related-live { color: var(--danger); font-size: 8px; animation: pulse 2s infinite; }

/* Category quick links */
.watch-cats {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; margin-top: 14px;
}
.watch-cats h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.watch-cats a {
  display: block; padding: 6px 10px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: 13px;
  transition: background .15s; margin-bottom: 4px;
}
.watch-cats a:hover { background: var(--bg3); }

/* Footer */
.watch-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.footer-logo { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-logo i, .footer-logo strong { color: var(--accent); }
.footer-cols p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-cols h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.footer-cols a { display: block; color: var(--muted); text-decoration: none; font-size: 13px; margin-bottom: 6px; transition: color .15s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--muted); font-size: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .watch-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .watch-nav-links { display: none; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .watch-info-bar { flex-direction: column; align-items: flex-start; }
}
