:root {
  color-scheme: light;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --blue-500: #3b82f6;
  --yellow-400: #facc15;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 12px 24px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1280px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav {
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(100% - 32px, var(--max-width));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.32);
}

.brand-name {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--cyan-400), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a,
.mobile-panel a,
.footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active,
.footer-links a:hover {
  color: var(--cyan-400);
}

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

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

.mobile-panel {
  display: none;
  padding: 8px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-panel a {
  display: block;
  padding: 11px 0;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(34, 211, 238, 0.22), transparent 34%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.55) 48%, rgba(2, 6, 23, 0.16));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100% - 32px, var(--max-width));
  transform: translateX(-50%);
  padding: 56px 0 88px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-400);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.hero-summary {
  max-width: 760px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta span,
.detail-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(226, 232, 240, 0.85);
  color: var(--slate-700);
  font-size: 13px;
}

.hero-tags span {
  background: rgba(8, 145, 178, 0.26);
  color: #cffafe;
  border: 1px solid rgba(34, 211, 238, 0.32);
}

.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--cyan-500);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover {
  background: var(--cyan-600);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn-ghost.dark {
  color: var(--slate-800);
  background: var(--white);
  border-color: transparent;
}

.btn-link {
  color: var(--cyan-400);
  padding-left: 6px;
  padding-right: 6px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--cyan-400);
}

.section {
  padding: 56px 0 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--slate-800);
}

.section-head h2 span {
  width: 5px;
  height: 32px;
  border-radius: 999px;
  background: var(--cyan-500);
}

.section-head a {
  color: var(--cyan-600);
  font-weight: 800;
}

.section-head.compact {
  margin-bottom: 18px;
}

.hero-search-card {
  margin-top: -38px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.section-kicker {
  margin: 0 0 4px;
  color: var(--cyan-600);
  font-weight: 800;
}

.hero-search-card h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
}

.hero-search,
.filter-bar {
  display: flex;
  gap: 12px;
}

.hero-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--white);
  padding: 0 14px;
  color: var(--slate-700);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

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

.feature-large {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.feature-large img,
.card-cover img,
.related-card img,
.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 58%);
}

.feature-large:hover img,
.movie-card:hover .card-cover img,
.related-card:hover img,
.mini-card:hover img {
  transform: scale(1.08);
}

.feature-large > div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.feature-large h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.feature-large p {
  margin: 0;
  color: #e5e7eb;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  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(-4px);
  box-shadow: var(--shadow-card);
}

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

.card-cover {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--slate-200);
}

.movie-card-compact .card-cover {
  height: 160px;
}

.card-body {
  padding: 14px;
}

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

.card-body h3 a:hover {
  color: var(--cyan-600);
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  gap: 8px;
  color: var(--slate-500);
  font-size: 13px;
}

.score,
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 10px;
  right: auto;
  background: var(--cyan-500);
}

.scroll-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

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

.category-tile,
.category-panel,
.small-rank-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.category-tile {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-400);
  box-shadow: var(--shadow-card);
}

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--slate-800);
}

.category-tile p {
  margin: 0 0 14px;
  color: var(--slate-600);
  font-size: 14px;
}

.category-tile div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.category-tile span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.rank-list,
.latest-list {
  display: grid;
  gap: 12px;
}

.rank-row,
.mini-card {
  display: grid;
  grid-template-columns: auto 76px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover,
.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.rank-num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cyan-500);
  color: var(--white);
  font-weight: 800;
}

.rank-row img,
.mini-card img {
  width: 76px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-row em {
  grid-column: 3;
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

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

.mini-card {
  grid-template-columns: 84px 1fr;
  overflow: hidden;
  font-weight: 800;
}

.mini-card img {
  width: 84px;
  height: 60px;
}

.page-hero {
  padding: 82px 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(34, 211, 238, 0.18), transparent 34%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: var(--white);
}

.page-hero.compact-hero {
  padding: 62px 0;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

.category-overview {
  display: grid;
  gap: 24px;
}

.category-panel {
  padding: 24px;
}

.category-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.category-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.category-panel p {
  margin: 0;
  color: var(--slate-600);
}

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

.mini-grid .mini-card {
  display: block;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mini-grid .mini-card img {
  width: 100%;
  height: 118px;
  border-radius: 0;
}

.mini-grid .mini-card span {
  display: block;
  padding: 10px;
  font-weight: 800;
  font-size: 14px;
}

.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 4;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.filter-bar input {
  flex: 1 1 280px;
}

.filter-bar select {
  flex: 0 1 180px;
}

.empty-state {
  display: none;
  margin-top: 28px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--slate-600);
  text-align: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.empty-state.is-visible {
  display: block;
}

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

.small-rank-card {
  padding: 22px;
}

.small-rank-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.small-rank-card a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--slate-100);
}

.small-rank-card a:hover strong {
  color: var(--cyan-600);
}

.small-rank-card span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 800;
}

.small-rank-card em {
  color: var(--cyan-600);
  font-style: normal;
  font-weight: 800;
}

.detail-main {
  background: linear-gradient(180deg, #eef7fb 0, var(--slate-50) 420px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 24px 0 0;
  color: var(--slate-500);
  font-size: 14px;
}

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

.detail-shell {
  padding-top: 22px;
}

.player-card,
.detail-article,
.detail-side {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.18));
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-symbol {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cyan-500);
  box-shadow: 0 16px 42px rgba(6, 182, 212, 0.34);
  font-size: 30px;
  text-indent: 4px;
}

.player-overlay strong {
  max-width: min(90%, 760px);
  font-size: clamp(22px, 4vw, 42px);
  text-align: center;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.34);
}

.detail-info {
  padding: 28px;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.detail-meta span {
  color: var(--slate-700);
  background: var(--slate-100);
}

.detail-one-line {
  margin: 20px 0 0;
  color: var(--slate-600);
  font-size: 18px;
}

.large-tags span {
  background: #ecfeff;
  color: #0e7490;
}

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

.detail-article {
  padding: 30px;
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

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

.detail-article p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  text-align: justify;
}

.detail-side {
  align-self: start;
}

.detail-side img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.detail-side div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.detail-side strong {
  color: var(--slate-800);
}

.detail-side span {
  color: var(--cyan-600);
  font-weight: 800;
}

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

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

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.related-card img {
  height: 150px;
}

.related-card strong,
.related-card em {
  display: block;
  padding: 0 12px;
}

.related-card strong {
  margin-top: 12px;
  color: var(--slate-800);
  line-height: 1.35;
}

.related-card em {
  margin: 6px 0 14px;
  color: var(--slate-500);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  color: #cbd5e1;
}

.footer-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: #94a3b8;
}

.footer-logo strong {
  color: var(--white);
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 16px 22px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

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

  .hero-slider {
    min-height: 600px;
  }

  .hero-content {
    padding-bottom: 76px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-search-card,
  .split-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-large {
    grid-column: span 2;
    min-height: 360px;
  }

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

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

  .detail-side img {
    height: 360px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-inner,
  .footer-inner {
    width: min(100% - 24px, var(--max-width));
  }

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

  .hero-slider {
    height: 78vh;
    min-height: 560px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 42px;
  }

  .hero-meta span {
    padding: 5px 9px;
    font-size: 13px;
  }

  .hero-actions,
  .page-hero-actions,
  .hero-search,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search-card {
    margin-top: -28px;
    padding: 22px;
  }

  .section {
    padding-top: 42px;
  }

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

  .feature-grid,
  .movie-grid,
  .category-grid,
  .small-rank-grid,
  .mini-grid,
  .related-grid,
  .latest-list {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: span 1;
    min-height: 320px;
  }

  .scroll-row .movie-card {
    flex-basis: 220px;
  }

  .card-cover {
    height: 210px;
  }

  .category-panel-head {
    flex-direction: column;
  }

  .filter-bar {
    position: static;
  }

  .detail-info,
  .detail-article {
    padding: 22px;
  }

  .detail-side img {
    height: 310px;
  }

  .play-symbol {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }
}
