* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-strong: #111827;
  --line: rgba(34, 211, 238, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 30rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(59, 130, 246, 0.24);
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(16px);
}

.top-nav {
  width: min(1180px, calc(100% - 32px));
  height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(34, 211, 238, 0.25);
  transition: transform 0.2s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08);
}

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

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

.nav-link,
.nav-button {
  color: #d1d5db;
  font-weight: 700;
  border: 0;
  background: none;
  padding: 22px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-button:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 190px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.26);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}

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

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: #67e8f9;
  background: rgba(30, 58, 138, 0.42);
}

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  color: #e5e7eb;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 12px;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  padding: 10px 14px;
  cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(34, 211, 238, 0.78);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
  background: rgba(15, 23, 42, 0.96);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #d1d5db;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: 100%;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.98);
}

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

.mobile-link,
.mobile-sub-link {
  display: block;
  padding: 11px 0;
  color: #d1d5db;
}

.mobile-sub-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  margin: 8px 0 16px;
}

.mobile-sub-link {
  color: #94a3b8;
  font-size: 14px;
}

.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.95)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.92));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  right: 24px;
  bottom: 68px;
  max-width: 760px;
  z-index: 2;
}

.hero-kicker,
.detail-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.25);
}

.hero-content h1 {
  margin: 16px 0 4px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.12;
}

.hero-content p {
  width: min(680px, 100%);
  margin: 0 0 20px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.hero-tags,
.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.hero-tags a,
.hero-tags span,
.detail-meta span,
.tag-list span {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.28);
}

.ghost-btn {
  color: #e0f2fe;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(15, 23, 42, 0.62);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.52);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.78);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 18px;
  transform: translateY(-50%);
}

.hero-next {
  right: 18px;
  transform: translateY(-50%);
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #22d3ee;
}

.content-section,
.page-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.content-section {
  padding: 56px 0 0;
}

.flush-section {
  padding-top: 28px;
}

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

.section-title > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.section-icon {
  color: #22d3ee;
  font-size: 24px;
}

.section-aside a {
  color: #67e8f9;
  font-weight: 800;
}

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

.category-tile {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover {
  transform: translateY(-8px);
}

.category-tile span {
  font-size: 38px;
}

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

.category-tile em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.65;
}

.tone-cyan-blue {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.tone-violet-blue {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.tone-rose-orange {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.tone-pink-purple {
  background: linear-gradient(135deg, #db2777, #7c3aed);
}

.tone-amber-red {
  background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.tone-emerald-cyan {
  background: linear-gradient(135deg, #059669, #06b6d4);
}

.tone-indigo-cyan {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.tone-slate-blue {
  background: linear-gradient(135deg, #334155, #2563eb);
}

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

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

.movie-card {
  min-width: 0;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.3);
  transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.58);
  box-shadow: 0 26px 70px rgba(8, 145, 178, 0.16);
}

.movie-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.45));
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.76));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.category-pill {
  top: 10px;
  left: 10px;
  background: rgba(6, 182, 212, 0.88);
}

.year-pill {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.74);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.86);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  min-height: 48px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3 {
  color: #67e8f9;
}

.movie-meta,
.movie-line {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.movie-line {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact .movie-line {
  display: none;
}

.ranking-panel {
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow);
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px 72px minmax(0, 1fr) 170px 80px;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  color: #dbeafe;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
  background: rgba(30, 58, 138, 0.38);
  transform: translateX(4px);
}

.ranking-row img {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.9);
  font-weight: 900;
}

.rank-number.top {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 800;
}

.rank-meta,
.rank-heat {
  color: #94a3b8;
  font-size: 14px;
}

.rank-heat {
  color: #67e8f9;
  text-align: right;
  font-weight: 800;
}

.page-main {
  padding: 34px 0 64px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 30px;
  padding: clamp(30px, 6vw, 64px);
  background:
    radial-gradient(circle at right top, rgba(34, 211, 238, 0.24), transparent 26rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow);
}

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

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

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

.category-overview-list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.category-overview-card {
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease;
}

.category-overview-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.category-overview-head > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 30px;
}

.category-overview-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.category-overview-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.category-overview-head a {
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 54px rgba(2, 6, 23, 0.22);
}

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

.filter-panel span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
}

.filter-status {
  min-height: 24px;
  margin: 12px 4px 0;
  color: #67e8f9;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #94a3b8;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 32px;
}

.detail-poster,
.detail-info,
.story-card {
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.97));
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.detail-info {
  padding: clamp(24px, 5vw, 42px);
}

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}

.detail-line {
  margin: 0 0 20px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.player-section {
  margin-bottom: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  padding: 28px;
  color: #ffffff;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.18), transparent 20rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.86));
  text-align: center;
  z-index: 3;
}

.player-cover[hidden] {
  display: none;
}

.big-play {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.42);
  font-size: 40px;
  padding-left: 4px;
}

.player-cover strong {
  max-width: 740px;
  font-size: clamp(22px, 3vw, 36px);
}

.player-cover em {
  max-width: 740px;
  color: #cbd5e1;
  font-style: normal;
  line-height: 1.7;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-card {
  padding: 28px;
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.story-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.site-footer {
  margin-top: 68px;
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  background: rgba(2, 6, 23, 0.62);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 36px;
  padding: 42px 0 26px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #67e8f9;
  font-size: 22px;
  font-weight: 900;
}

.footer-inner p {
  max-width: 560px;
  margin: 0;
  color: #94a3b8;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: start;
}

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

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

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

[hidden] {
  display: none !important;
}

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

  .menu-toggle {
    display: block;
  }

  .top-nav {
    width: min(100% - 28px, 1180px);
  }

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

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

  .detail-hero,
  .detail-body,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  .hero-slider {
    height: 620px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 72px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-arrow {
    top: auto;
    bottom: 20px;
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .hero-prev {
    left: 18px;
    transform: none;
  }

  .hero-next {
    right: 18px;
    transform: none;
  }

  .hero-dots {
    bottom: 34px;
  }

  .content-section,
  .page-main {
    width: min(100% - 24px, 1180px);
  }

  .category-grid,
  .movie-grid,
  .wide-grid,
  .preview-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 34px 60px minmax(0, 1fr);
    gap: 10px;
  }

  .ranking-row img {
    width: 60px;
    height: 40px;
  }

  .rank-meta,
  .rank-heat {
    display: none;
  }

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

  .category-overview-head > span {
    width: 48px;
    height: 48px;
  }

  .detail-poster img {
    min-height: 220px;
  }

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

  .big-play {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }
}
