*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-50: #fef2f2;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: #f8fafc;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--red-600), var(--red-800));
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.25);
}

.top-nav {
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-300);
  color: var(--red-800);
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  font-weight: 700;
}

.nav-link {
  position: relative;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--yellow-300);
  opacity: 1;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 3px;
  background: var(--yellow-300);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

.mobile-channel-row {
  display: none;
}

.home-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.2), transparent 28%), linear-gradient(135deg, #7f1d1d, #b91c1c 45%, #450a0a);
  color: var(--white);
}

.hero-track,
.hero-slide,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69, 10, 10, 0.92), rgba(127, 29, 29, 0.72) 45%, rgba(15, 23, 42, 0.78));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.1);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  height: 100%;
  margin: 0 auto;
  padding: 72px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(-230px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow-300);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-content h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  max-width: 760px;
}

.hero-summary {
  margin: 0 0 22px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.7;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--red-700);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags .tag,
.detail-hero .tag {
  background: rgba(255, 255, 255, 0.16);
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--yellow-300);
  color: var(--red-900);
  box-shadow: 0 18px 30px rgba(250, 204, 21, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster {
  position: absolute;
  z-index: 3;
  right: calc(50% - 590px);
  top: 80px;
  width: 285px;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #991b1b, #111827);
}

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  background: var(--yellow-300);
  box-shadow: var(--shadow);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 26px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  width: 32px;
  background: var(--yellow-300);
}

.home-search-panel {
  max-width: 1180px;
  margin: -38px auto 0;
  position: relative;
  z-index: 8;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.search-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.search-strip label,
.filter-bar span {
  font-weight: 800;
  color: var(--gray-900);
}

.search-strip input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.search-strip button {
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--red-600);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-stats span {
  background: var(--red-50);
  color: var(--red-800);
  padding: 8px 12px;
  border-radius: 999px;
}

.section-block,
.filter-shell,
.search-page,
.category-preview-list,
.rank-page-list,
.detail-content,
.player-section,
.text-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 20px;
}

.soft-bg {
  max-width: none;
  padding-left: calc((100% - 1240px) / 2 + 20px);
  padding-right: calc((100% - 1240px) / 2 + 20px);
  background: linear-gradient(135deg, #f9fafb, #fff1f2);
}

.section-heading,
.category-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.category-preview-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gray-900);
}

.section-heading p,
.category-preview-head p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-more {
  display: inline-flex;
  align-items: center;
  color: var(--red-700);
  font-weight: 800;
}

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

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

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

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

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-800), var(--slate-900));
}

.poster-frame::before {
  content: attr(data-title);
  position: absolute;
  inset: auto 12px 14px 12px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.poster-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.poster-frame img.image-error {
  display: none;
}

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

.play-hover {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 42px;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
}

.rank-badge {
  position: absolute;
  z-index: 4;
  left: 10px;
  top: 10px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-300);
  color: var(--red-900);
  font-weight: 900;
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--red-700);
}

.card-meta,
.card-desc {
  margin: 0 0 10px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
}

.card-desc {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-compact .card-desc,
.movie-card-compact .card-tags {
  display: none;
}

.category-section {
  padding: 64px 20px;
  background: linear-gradient(135deg, #f9fafb, #fff1f2);
}

.category-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-tile a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  box-shadow: 0 18px 40px rgba(127, 29, 29, 0.18);
  transition: transform 0.2s ease;
}

.category-tile a:hover {
  transform: translateY(-4px);
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.category-tile strong {
  font-size: 24px;
}

.category-tile em {
  color: var(--yellow-300);
  font-style: normal;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.category-samples {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  font-size: 13px;
}

.category-samples a:hover {
  color: var(--yellow-300);
}

.rank-panel {
  background: var(--slate-900);
  color: var(--white);
  padding: 70px 20px;
}

.rank-panel-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.rank-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 52px);
}

.rank-copy p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 44px 1fr 52px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-card:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mini-rank {
  color: var(--yellow-300);
  font-weight: 900;
}

.mini-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-score {
  color: var(--yellow-300);
  text-align: right;
  font-weight: 900;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.18), transparent 26%), linear-gradient(135deg, var(--red-900), var(--red-700));
}

.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 74px 20px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 58px);
}

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

.page-hero-stats {
  margin-top: 14px !important;
  color: var(--yellow-300) !important;
  font-weight: 900;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.filter-bar label {
  display: grid;
  gap: 8px;
}

.filter-status {
  margin: 0 0 24px;
  color: var(--gray-600);
  font-weight: 800;
}

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

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

.category-preview {
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

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

.sidebar-rank {
  position: sticky;
  top: 88px;
  padding: 18px;
  border-radius: 18px;
  background: var(--slate-900);
  color: var(--white);
}

.sidebar-rank h2 {
  margin: 0 0 16px;
}

.rank-page-list {
  display: grid;
  gap: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 110px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.rank-row-poster {
  position: relative;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--red-900);
}

.rank-row-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-row-poster span {
  position: absolute;
  z-index: 2;
  left: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow-300);
  color: var(--red-900);
  font-weight: 900;
}

.rank-row-body h2 {
  margin: 0 0 6px;
}

.rank-row-body p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.rank-row-score {
  text-align: right;
}

.rank-row-score strong {
  display: block;
  color: var(--red-700);
  font-size: 34px;
}

.rank-row-score span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-950);
  color: var(--white);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  filter: blur(2px);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(127, 29, 29, 0.78));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.detail-poster {
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 62px);
}

.detail-one-line {
  margin: 0 0 18px;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.info-grid div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.info-grid dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.info-grid dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.player-section {
  padding-top: 54px;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.video-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(220, 38, 38, 0.28), rgba(0, 0, 0, 0.58));
  cursor: pointer;
}

.video-start.is-hidden {
  display: none;
}

.video-start span {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-300);
  color: var(--red-900);
  font-size: 28px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.video-message {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  font-size: 13px;
}

.video-message.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 32px;
}

.story-card {
  padding: 26px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
  margin: 0 0 12px;
  color: var(--gray-900);
}

.story-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.9;
}

.accent-card {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.text-page {
  max-width: 880px;
  line-height: 1.9;
  font-size: 18px;
}

.text-page h2 {
  font-size: 34px;
}

.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 30px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  margin-top: 0;
}

.site-footer p {
  line-height: 1.8;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.two-column-list {
  grid-template-columns: 1fr 1fr;
}

.site-footer a:hover {
  color: var(--yellow-300);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .hero-content {
    transform: none;
    max-width: 620px;
  }

  .hero-poster {
    right: 24px;
    width: 230px;
  }

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: var(--red-800);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .mobile-channel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  .mobile-channel-link {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
  }

  .home-hero {
    height: 660px;
  }

  .hero-content {
    padding-top: 48px;
    justify-content: flex-start;
  }

  .hero-poster {
    left: 20px;
    right: auto;
    top: auto;
    bottom: 86px;
    width: 160px;
  }

  .search-strip,
  .filter-bar,
  .rank-panel-inner,
  .detail-layout,
  .detail-content,
  .content-with-sidebar,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .movie-grid,
  .movie-grid.six-col,
  .movie-grid.four-col,
  .all-grid,
  .category-grid-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-rank {
    position: static;
  }

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

  .rank-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .rank-row-score {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 18px;
  }

  .home-hero {
    height: 720px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

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

  .home-search-panel {
    margin: -20px 12px 0;
  }

  .section-heading,
  .category-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .movie-grid,
  .movie-grid.six-col,
  .movie-grid.four-col,
  .all-grid,
  .category-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .card-desc,
  .card-tags {
    display: none;
  }

  .detail-hero-inner,
  .page-hero-inner,
  .section-block,
  .filter-shell,
  .search-page,
  .category-preview-list,
  .rank-page-list,
  .detail-content,
  .player-section,
  .text-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .detail-poster {
    width: 180px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .two-column-list {
    grid-template-columns: 1fr;
  }
}
