
* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-solid: #0f172a;
  --panel-soft: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --orange: #ea580c;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(234, 88, 12, 0.12), transparent 30rem),
    linear-gradient(180deg, #0f172a 0%, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.65;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.32);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fde68a, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(245, 158, 11, 0.14);
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.movie-search-input {
  width: 230px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  outline: 0;
  border-radius: 14px;
  padding: 11px 14px;
  color: #fff;
  background: rgba(15, 23, 42, 0.8);
}

.header-search input:focus,
.mobile-search input:focus,
.movie-search-input:focus {
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #111827;
  cursor: pointer;
  border-radius: 14px;
  padding: 11px 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel nav,
.mobile-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-cats a {
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.74);
}

main {
  min-height: 60vh;
}

.hero-slider {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 52px;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide::before {
  content: "";
  position: fixed;
  inset: 72px 0 auto 0;
  height: min(760px, calc(100vh - 72px));
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.9)),
    var(--hero-image) center / cover no-repeat;
  filter: blur(12px) saturate(1.2);
  transform: scale(1.03);
  z-index: -2;
}

.hero-backdrop {
  position: fixed;
  inset: 72px 0 auto 0;
  height: min(760px, calc(100vh - 72px));
  z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgba(245, 158, 11, 0.22), transparent 28rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.05), #020617 96%);
}

.hero-content {
  padding-top: 24px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
}

.hero-content h1 {
  max-width: 820px;
  margin: 22px 0 20px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 12px;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 15px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  padding: 0 22px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.32);
}

.ghost-button {
  padding: 0 22px;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  min-height: 560px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
}

.hero-poster img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.2));
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 38px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 58px;
  background: linear-gradient(90deg, var(--amber-soft), var(--orange));
}

.section-block {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero-after {
  padding-top: 56px;
}

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

.section-heading h2,
.section-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading.mini {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading.mini h2 {
  font-size: 26px;
  margin: 0;
}

.text-link {
  min-height: auto;
  color: #fbbf24;
  font-size: 14px;
}

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

.channel-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.86));
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.48);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.92));
}

.channel-card span {
  font-size: 20px;
  font-weight: 850;
}

.channel-card small {
  color: var(--muted);
  line-height: 1.55;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(15, 23, 42, 0.92);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
}

.poster-frame img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(2, 6, 23, 0.82));
}

.poster-score,
.poster-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.poster-score {
  top: 12px;
  left: 12px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
}

.poster-year {
  right: 12px;
  bottom: 12px;
  color: #f8fafc;
  background: rgba(2, 6, 23, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.movie-card-body {
  padding: 16px;
}

.movie-card-body h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card-body h2 a:hover {
  color: #fbbf24;
}

.movie-card-body p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
}

.movie-card .tag-row {
  margin-top: 12px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.feature-panel,
.rank-panel,
.article-panel,
.category-panel,
.filter-bar,
.page-hero,
.detail-hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.62));
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-panel {
  min-height: 430px;
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.74));
}

.feature-panel h2 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-panel p {
  max-width: 720px;
  color: #cbd5e1;
}

.rank-panel {
  padding: 24px;
}

.rank-list,
.ranking-page-list {
  display: grid;
  gap: 10px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 54px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.1);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #111827;
  font-weight: 950;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 850;
}

.rank-meta {
  color: var(--muted);
  font-size: 12px;
}

.rank-score {
  justify-self: end;
  color: #fbbf24;
  font-weight: 900;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 38px auto 0;
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.66));
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

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

.category-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
}

.category-cover {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.category-cover img {
  height: 100%;
  object-fit: cover;
}

.category-cover span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.8));
}

.category-copy {
  padding: 24px;
}

.category-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-copy p {
  color: #cbd5e1;
  margin: 0 0 18px;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.category-samples a {
  color: #f8fafc;
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(2, 6, 23, 0.3);
}

.category-samples a:hover {
  color: #fbbf24;
}

.filter-bar {
  margin-bottom: 24px;
  padding: 18px;
}

.movie-search-input {
  width: 100%;
  margin-bottom: 14px;
}

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

.filter-chip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #cbd5e1;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.74);
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #111827;
  border-color: transparent;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
}

.detail-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 38px auto 0;
  padding: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #cbd5e1;
  padding: 8px 8px 18px;
  font-size: 14px;
}

.breadcrumb a {
  color: #fbbf24;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
}

.player-card {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.68)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.22), transparent 18rem);
}

.player-overlay.is-hidden {
  display: none;
}

.play-circle {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-soft), var(--orange));
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.36);
}

.detail-info {
  padding: 20px;
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-info h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.detail-one-line {
  color: #cbd5e1;
  margin: 0 0 18px;
}

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

.detail-meta-grid span {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-meta-grid b {
  color: var(--muted);
  font-size: 12px;
}

.detail-tags {
  margin-bottom: 22px;
}

.wide-button {
  width: 100%;
}

.detail-content {
  padding-top: 32px;
  padding-bottom: 24px;
}

.article-panel {
  padding: clamp(24px, 4vw, 44px);
}

.article-panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.article-panel h2:not(:first-child) {
  margin-top: 34px;
}

.article-panel p {
  margin: 0;
  color: #dbeafe;
  font-size: 17px;
}

.long-meta {
  margin-top: 28px;
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), #000);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
}

.footer-links h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

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

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .hero-slider {
    min-height: auto;
    padding: 42px 0 86px;
  }

  .hero-slide {
    position: relative;
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    display: none;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .hero-slide::before,
  .hero-backdrop {
    inset: 0;
    height: 100%;
  }

  .hero-poster {
    min-height: 0;
    transform: none;
  }

  .hero-poster img {
    min-height: 0;
    max-height: 520px;
  }

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

  .split-layout,
  .detail-layout,
  .footer-inner,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-panel {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

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

  .brand-subtitle {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .hero-poster img {
    max-height: 420px;
  }

  .section-block {
    padding: 46px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .movie-card-body {
    padding: 13px;
  }

  .movie-card-body p {
    display: none;
  }

  .rank-item {
    grid-template-columns: 42px minmax(0, 1fr) 44px;
  }

  .rank-meta {
    display: none;
  }

  .category-panel {
    grid-template-columns: 1fr;
  }

  .category-cover {
    min-height: 230px;
  }

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

  .footer-links div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .mobile-panel nav,
  .mobile-cats {
    grid-template-columns: 1fr;
  }
}
