:root {
  --bg: #0d0d0d;
  --surface: #121215;
  --surface-2: #18181d;
  --border: #24242b;
  --text: #f5f5f7;
  --muted: #9ca3af;
  --accent: #a78bfa;
  --accent-strong: #b79cff;
  --accent-soft: rgba(167, 139, 250, 0.18);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-y;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  touch-action: pan-y;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 40px);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(0.98rem, 2.6vw, 1.08rem);
  z-index: 2;
}

/* "DON'T CLICK" CTA button — always visible in the top navbar */
.dont-click-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  color: #fff;
  font-size: clamp(0.72rem, 2.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  z-index: 2;
  margin-left: auto;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45), 0 0 0 0 rgba(244, 63, 94, 0.6);
  animation: dont-click-pulse 2.2s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

@keyframes dont-click-pulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45), 0 0 0 0 rgba(244, 63, 94, 0.55);
  }
  50% {
    box-shadow: 0 4px 22px rgba(168, 85, 247, 0.65), 0 0 0 6px rgba(244, 63, 94, 0);
  }
}

.dont-click-btn:hover {
  transform: translateY(-1px) scale(1.04);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.65), 0 0 0 6px rgba(244, 63, 94, 0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(0.84rem, 2.3vw, 0.92rem);
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-link.active {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2);
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #d8cbff;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.12);
  min-width: 98px;
}

.nav-discord span {
  display: inline-block;
  line-height: 1;
}

.nav-discord:hover {
  color: #efe9ff;
  background: rgba(167, 139, 250, 0.2);
}

.discord-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.menu-toggle-inner {
  width: 18px;
  height: 14px;
  position: relative;
}

.menu-toggle-inner span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.menu-toggle-inner span:nth-child(1) {
  top: 0;
}

.menu-toggle-inner span:nth-child(2) {
  top: 6px;
}

.menu-toggle-inner span:nth-child(3) {
  top: 12px;
}

.menu-toggle.active .menu-toggle-inner span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle.active .menu-toggle-inner span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle-inner span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.5);
}

/* ============================================================
   ANNOUNCEMENT
   ============================================================ */
.announcement-banner {
  background: linear-gradient(90deg, #181428 0%, #171726 100%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-badge {
  background: var(--accent);
  color: #0d0d0d;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.banner-text {
  color: #d1d5db;
  font-size: clamp(0.74rem, 2.05vw, 0.84rem);
  font-weight: 400;
  line-height: 1.45;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(20px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(24px, 6vw, 62px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: clamp(0.7rem, 1.9vw, 0.8rem);
  letter-spacing: 0.09em;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-sub {
  color: #b3bac6;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.85rem, 2.3vw, 0.95rem);
  padding: 12px 22px;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn .ic {
  width: 18px;
  height: 18px;
}

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

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(167, 139, 250, 0.34);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #bac0cb;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: clamp(0.78rem, 2vw, 0.86rem);
}

.featured-card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 16px 34px rgba(167, 139, 250, 0.18);
}

.thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-card:hover .thumb img {
  transform: scale(1.06);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 2%, rgba(0, 0, 0, 0.12) 66%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.94);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn svg {
  width: 23px;
  height: 23px;
  margin-left: 2px;
}

.featured-card:hover .play-btn {
  transform: scale(1.08);
  background: var(--accent-strong);
}

.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(13, 13, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.77rem;
  font-weight: 600;
}

/* ============================================================
   EPISODES GRID
   ============================================================ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.season-section {
  margin-bottom: clamp(40px, 8vw, 80px);
}

.season-heading {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #e5e7eb;
  border-bottom: 2px solid rgba(167, 139, 250, 0.3);
  padding-bottom: 8px;
}

.count {
  color: #9fb0c6;
  font-size: clamp(0.82rem, 2.3vw, 0.9rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(12px, 2.4vw, 22px);
  margin-bottom: clamp(20px, 5vw, 40px);
}

.grid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.grid-card:hover {
  border-color: rgba(167, 139, 250, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.grid-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);
}

.grid-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

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

.grid-card:hover .grid-thumb img {
  transform: scale(1.05);
  opacity: 0.9;
}

.grid-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
}

.card-body {
  padding: 11px 12px 12px;
}

.card-title {
  color: var(--text);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  line-height: 1.35;
  margin-bottom: 4px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.card-meta {
  color: var(--muted);
  font-size: clamp(0.77rem, 2vw, 0.84rem);
}

/* ============================================================
   WATCH PAGE / PLAYER
   ============================================================ */
main,
.watch-page {
  min-height: 100vh;
  touch-action: pan-y;
}

.player-shell {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: clamp(12px, 3vw, 24px) auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  touch-action: manipulation;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-shell:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.buffering-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 15;
}

.buffering-spinner.visible {
  opacity: 1;
}

.spinner-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(167, 139, 250, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.95);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
}

.big-play-btn svg {
  width: 34px;
  height: 34px;
  margin-left: 3px;
}

.big-play-btn:hover {
  background: var(--accent-strong);
  transform: translate(-50%, -50%) scale(1.07);
}

.custom-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 40px 14px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-controls.visible,
.player-shell:hover .custom-controls,
.player-shell:focus-within .custom-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ctrl-btn svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.ctrl-btn:hover,
.skip-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.08);
}

.skip-btn {
  border: 0;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.skip-btn svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.skip-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.seek-wrap {
  flex: 1;
  min-width: 0;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
}

.seek-wrap input[type="range"] {
  width: 100%;
  margin: 0;
  height: 3px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: height 0.2s ease;
}

.seek-wrap:hover input[type="range"] {
  height: 6px;
}

.seek-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  transition: height 0.2s ease;
}

.seek-wrap:hover .seek-track {
  height: 6px;
}

.seek-buffer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.36);
  border-radius: 99px;
  z-index: 2;
}

.seek-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff3b4e 0%, var(--accent) 100%);
  border-radius: 99px;
  z-index: 3;
}

.seek-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  transform-origin: center bottom;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.seek-wrap:hover .seek-tooltip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.seek-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.seek-wrap:hover input[type="range"]::-webkit-slider-thumb,
.seek-wrap input[type="range"]:active::-webkit-slider-thumb {
  opacity: 1;
}

.seek-wrap input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.seek-wrap:hover input[type="range"]::-moz-range-thumb,
.seek-wrap input[type="range"]:active::-moz-range-thumb {
  opacity: 1;
}

.time-display {
  color: #fff;
  font-size: 0.82rem;
  min-width: 86px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  flex-shrink: 0;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.volume-wrap input[type="range"] {
  width: 74px;
  height: 5px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 99px;
  -webkit-appearance: none;
  appearance: none;
}

.volume-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}

.volume-wrap input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  background: #fff;
}

.skip-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 13px 18px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  z-index: 25;
  animation: flashOut 0.62s ease forwards;
}

@keyframes flashOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.03);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

.player-shell:fullscreen {
  margin: 0;
  border-radius: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
}

.watch-info {
  max-width: 1280px;
  margin: 12px auto 0;
  padding: 0 clamp(14px, 4vw, 30px);
}

.watch-title {
  font-size: clamp(1.25rem, 4.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.watch-desc {
  color: var(--muted);
  font-size: clamp(0.89rem, 2.3vw, 0.98rem);
  margin-bottom: 16px;
}

.player-error-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
}

.player-error-overlay .error-icon {
  opacity: 0.65;
  margin-bottom: 10px;
}

.player-error-overlay .error-msg {
  color: #b7bdc8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.retry-btn svg {
  width: 16px;
  height: 16px;
}

.retry-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin: 0 clamp(14px, 4vw, 30px) 18px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.disclaimer strong {
  color: var(--text);
}

.other-episodes {
  margin-bottom: clamp(28px, 7vw, 64px);
}

.other-episodes .grid {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: clamp(26px, 7vw, 70px);
  padding-block: clamp(20px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.brand-sm {
  font-size: 0.9rem;
}

.footnote {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 26px;
  }

  .featured-card {
    order: -1;
  }

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

  .player-shell {
    border-radius: 10px;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .container {
    padding-inline: 12px;
  }

  main,
  .watch-page {
    touch-action: pan-y;
  }

  .nav {
    min-height: 56px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    right: -100%;
    width: min(82vw, 290px);
    height: calc(100dvh - 56px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 14px;
    background: rgba(13, 13, 13, 0.98);
    border-left: 1px solid var(--border);
    transition: right 0.22s ease;
    z-index: 65;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 0.92rem;
    justify-content: flex-start;
  }

  .nav-discord {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .discord-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .banner-content {
    justify-content: center;
    text-align: center;
  }

  .banner-text {
    font-size: 0.78rem;
    max-width: 38ch;
    font-weight: 400;
  }

  .hero {
    gap: 16px;
    padding-block: 20px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .hero-actions {
    gap: 8px;
  }

  .btn {
    padding: 11px 18px;
  }

  .meta-chip {
    padding: 8px 12px;
  }

  /* Smaller episode cards on mobile (requested) */
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
  }

  .grid-card {
    border-radius: 11px;
  }

  .grid-card .play-btn {
    width: 34px;
    height: 34px;
  }

  .grid-card .play-btn svg {
    width: 16px;
    height: 16px;
  }

  .card-body {
    padding: 8px 9px 10px;
  }

  .card-title {
    font-size: 0.86rem;
    min-height: 2.45em;
    line-height: 1.25;
  }

  .card-meta {
    font-size: 0.76rem;
  }

  .section-head {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 1.28rem;
  }

  .season-heading {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }

  .season-section {
    margin-bottom: 50px;
  }

  .count {
    font-size: 0.8rem;
  }

  .player-shell {
    border-radius: 0;
    margin-inline: -12px;
    width: calc(100% + 24px);
  }

  .watch-info {
    padding: 0;
    margin-top: 12px;
  }

  .watch-title {
    font-size: 1.2rem;
  }

  .watch-desc {
    font-size: 0.87rem;
  }

  .disclaimer {
    margin-inline: 0;
  }

  .custom-controls {
    flex-wrap: wrap;
    gap: 5px;
    padding: 30px 10px 10px;
    transform: translateY(0);
  }

  .seek-wrap {
    order: -1;
    flex: 1 0 100%;
    height: 26px;
  }

  .ctrl-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .skip-btn {
    padding: 9px 8px;
    min-height: 44px;
  }

  .skip-label {
    font-size: 0.74rem;
  }

  .time-display {
    min-width: 74px;
    font-size: 0.75rem;
    margin-left: auto;
  }

  .volume-wrap {
    width: 56px;
  }

  .volume-wrap input[type="range"] {
    width: 52px;
  }

  .big-play-btn {
    width: 64px;
    height: 64px;
  }

  .big-play-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* very small phones */
@media (max-width: 390px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .card-title {
    font-size: 0.81rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .meta-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .skip-label {
    display: none;
  }

  .volume-wrap {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
