:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #ef4444;
  --pink: #ec4899;
  --dark: #111827;
  --deep: #0f172a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--dark);
  background: #f9fafb;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
  font-size: 14px;
}

.brand-name {
  font-size: 24px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #374151;
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown > button:hover {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  width: 210px;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: var(--orange);
  background: var(--soft);
}

.top-search {
  width: 260px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.top-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 6px 10px 16px;
}

.top-search button,
.hero-search button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: var(--orange);
  padding: 10px 16px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #374151;
  font-weight: 700;
}

.mobile-nav.is-open {
  display: grid;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red), var(--pink));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2) 0, transparent 26%), radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12) 0, transparent 24%), linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.58));
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.2);
  transform: scale(1.08);
  opacity: 0.42;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.76));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 640px;
  margin: 0 auto;
  padding: 88px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 740px;
  margin: 24px 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
  background: #ffedd5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.inline-actions {
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  color: var(--orange);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-search {
  max-width: 560px;
  margin-top: 26px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.22);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 16px 20px;
  color: var(--dark);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
  background: #111827;
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 30px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #ffffff;
}

.page-main {
  padding-top: 0;
}

.page-hero {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 70px 24px;
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red), var(--deep));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.slim-hero,
.search-hero,
.category-hero,
.ranking-hero {
  position: relative;
}

.slim-hero::after,
.search-hero::after,
.category-hero::after,
.ranking-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.soft-section {
  padding-top: 24px;
}

.dark-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937, #0f172a);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.list-tools h2,
.detail-section h2,
.side-card h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p,
.list-tools p {
  margin: 0;
  color: var(--muted);
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.section-action {
  flex: none;
  color: var(--orange);
  font-weight: 900;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.channel-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.channel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: transform 0.5s ease;
}

.channel-card:hover img {
  transform: scale(1.08);
}

.channel-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.92));
}

.channel-card strong,
.channel-card p {
  position: relative;
  z-index: 1;
}

.channel-card strong {
  font-size: 22px;
  font-weight: 900;
}

.channel-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.duration-badge,
.rank-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
}

.duration-badge {
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.7);
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 6px 11px;
  font-size: 13px;
  background: var(--orange);
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: all 0.25s ease;
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.35);
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-body {
  padding: 18px;
}

.movie-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.movie-title:hover {
  color: var(--orange);
}

.movie-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
}

.movie-card-compact .movie-poster img {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card-compact .movie-desc {
  -webkit-line-clamp: 2;
}

.list-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.74fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.tool-controls {
  display: grid;
  gap: 12px;
}

.tool-controls input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  padding: 13px 18px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.tool-controls input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: #374151;
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.filter-pill.is-active,
.filter-pill:hover {
  border-color: var(--orange);
  color: #ffffff;
  background: var(--orange);
}

.empty-state {
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.breadcrumb {
  max-width: 1280px;
  margin: 28px auto 18px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.1);
  opacity: 0.45;
}

.detail-backdrop span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.66));
}

.detail-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 36px;
  padding: 44px;
}

.detail-cover {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.detail-one-line {
  margin: 20px 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.86);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.detail-meta div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-meta dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.player-section {
  padding-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.big-play {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 22px 44px rgba(249, 115, 22, 0.35);
  font-size: 34px;
}

.player-cover strong {
  font-size: 22px;
}

.player-message {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.78);
  font-weight: 800;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding-top: 28px;
}

.detail-text,
.side-card,
.pager-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.detail-text {
  padding: 28px;
}

.detail-section + .detail-section {
  margin-top: 28px;
}

.detail-section p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.side-card {
  padding: 24px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.side-card a,
.side-card span {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
}

.side-card a:hover {
  color: var(--orange);
}

.pager-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
  padding-bottom: 28px;
}

.pager-link {
  padding: 18px 20px;
  font-weight: 900;
  color: #374151;
}

.pager-link:hover {
  color: var(--orange);
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937, #0f172a);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, 0.5fr));
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.footer-about p {
  max-width: 520px;
  color: #9ca3af;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links a {
  color: #d1d5db;
}

.footer-links a:hover {
  color: #fb923c;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  text-align: center;
  color: #9ca3af;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.filter-card.is-hidden {
  display: none;
}

@media (max-width: 1120px) {
  .desktop-nav,
  .top-search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .channel-grid,
  .movie-grid,
  .ranking-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-wrap {
    height: 64px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 21px;
  }

  .hero,
  .hero-inner {
    min-height: 600px;
  }

  .hero-inner {
    padding: 72px 18px 58px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

  .page-hero {
    margin: 18px 16px 0;
    padding: 50px 20px;
    border-radius: 24px;
  }

  .content-section {
    padding: 42px 16px;
  }

  .section-heading,
  .list-tools,
  .detail-content,
  .pager-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .channel-grid,
  .movie-grid,
  .ranking-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-card-compact {
    display: block;
  }

  .detail-hero {
    margin: 0 16px;
    border-radius: 24px;
  }

  .detail-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .detail-cover {
    max-width: 260px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 36px;
  }

  .channel-grid,
  .movie-grid,
  .ranking-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster img {
    aspect-ratio: 16 / 9;
  }

  .player-cover strong {
    padding: 0 18px;
    text-align: center;
  }
}
