:root {
  --bg: #fff9f0;
  --ink: #2d3436;
  --muted: #6c7a80;
  --card: #ffffff;
  --accent: #4dabf7;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(45, 52, 54, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Nunito", "Comic Sans MS", "Chalkboard SE", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, .brand { font-family: "Baloo 2", "Comic Sans MS", cursive; }
img { max-width: 100%; }
a { color: var(--accent); }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 14px 22px; background: var(--card);
  border-bottom: 4px solid #ffe08a;
  position: sticky; top: 0; z-index: 10;
}
.brand { font-size: 1.7rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand span { color: #ff6b6b; }
.topbar nav a {
  margin-left: 14px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 1rem;
}
.topbar nav a:hover { color: #ff6b6b; }

.hero {
  text-align: center; padding: 56px 20px 40px;
  background: linear-gradient(135deg, #a5d8ff 0%, #b2f2bb 50%, #ffe8a3 100%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.hero h1 span { color: #e8590c; }
.hero p { font-size: 1.2rem; color: #345; margin-top: 10px; }

.channel { padding: 44px 20px; max-width: 1200px; margin: 0 auto; }
.channel-head { text-align: center; margin-bottom: 26px; }
.channel-head h2 { font-size: 2rem; color: var(--accent, var(--ink)); }
.channel-head p { color: var(--muted); margin: 6px 0 14px; }
.yt-link {
  display: inline-block; background: #ff0000; color: #fff !important;
  padding: 8px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: var(--shadow);
}
.yt-link:hover { transform: translateY(-2px); }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  border: 3px solid transparent; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--accent, #ffd43b); }
.thumb { position: relative; aspect-ratio: 16/9; background: #dfe6e9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,.75); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 2px 8px; border-radius: 8px;
}
.card-body { padding: 14px 16px 18px; }
.card-body h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 6px; }
.card-body p { font-size: .88rem; color: var(--muted); }

.watch { max-width: 900px; margin: 0 auto; padding: 30px 20px 50px; }
.crumbs { font-size: .9rem; margin-bottom: 12px; color: var(--muted); }
.watch h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.25; }
.watch .meta { color: var(--muted); margin: 10px 0 20px; font-weight: 600; }
.player {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: #000;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about { background: var(--card); border-radius: var(--radius); padding: 24px 26px; margin-top: 26px; box-shadow: var(--shadow); }
.about h2, .related h2 { color: var(--accent, #4dabf7); margin-bottom: 12px; font-size: 1.4rem; }
.about p { margin-bottom: 14px; }
.yt-cta a { font-weight: 800; text-decoration: none; }
.related { margin-top: 38px; }
.related h2 { margin-bottom: 18px; }

.footer {
  text-align: center; padding: 34px 20px; background: var(--card);
  border-top: 4px solid #ffe08a; color: var(--muted); font-size: .95rem;
}
.footer p { margin-bottom: 8px; }
.footer a { color: #e8590c; font-weight: 700; }
.powered { color: #94a3b8; }
