:root {
  --bg: #0b0b0f;
  --bg-soft: #14141b;
  --card: #181822;
  --text: #f4f4f6;
  --muted: #a6a6b2;
  --accent: #8ea619;
  --accent-hover: #a8c41f;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.stream-body,
.watch-body {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
}

.brand a {
  text-decoration: none;
}

.brand-radio {
  color: #72727c;
}

.brand-muppa {
  color: #ececf1;
}

.topnav a {
  color: var(--muted);
  font-size: 0.98rem;
}

.topnav a:hover {
  color: var(--text);
}

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 60px 28px 40px;
}

.hero-content {
  max-width: 640px;
}

.hero-kicker,
.watch-kicker {
  text-transform: none;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.hero h1,
.watch-meta h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

.hero p,
.watch-meta p {
  margin: 0;
  color: #e2e2ea;
  font-size: 1.04rem;
  line-height: 1.55;
  max-width: 58ch;
}

.hero-meta,
.watch-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.content,
.watch-main {
  padding: 16px 28px 44px;
}

.row-section {
  margin-top: 26px;
}

.section-header {
  margin-bottom: 14px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.video-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.video-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.16);
}

.thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

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

.duration-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-info {
  padding: 14px 14px 16px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: none;
}

.player-section {
  max-width: 1280px;
  margin: 0 auto;
}

.player-shell {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.player-shell .video-js {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 8px #101010,
    0 0 0 14px #1a1a1a,
    0 22px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(255, 255, 255, 0.03);
}

.watch-meta {
  padding: 24px 4px 8px;
}

.related-section {
  max-width: 1280px;
  margin: 18px auto 0;
}

.not-found {
  max-width: 720px;
  margin: 70px auto;
  text-align: center;
  padding: 24px;
}

.not-found h1 {
  margin-top: 0;
  font-size: 2rem;
  text-transform: none;
}

.video-js {
  width: 100%;
  max-width: 100%;
  display: block;
}

@media (min-width: 769px) {
  .watch-body .player-shell {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .watch-body .player-shell .video-js {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 16px 18px;
  }

  .hero {
    min-height: 58vh;
    padding: 34px 18px 28px;
  }

  .content,
  .watch-main {
    padding: 14px 18px 34px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
  }
}
