* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #e5e7eb;
  background: #020617;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1180px;
  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;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ecfeff;
  font-size: 13px;
  background: radial-gradient(circle at 30% 20%, #67e8f9, #0ea5e9 44%, #1e40af 100%);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.42);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(90deg, #67e8f9, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-link {
  color: #cbd5e1;
  border-radius: 10px;
  transition: 0.22s ease;
}

.nav-link {
  padding: 9px 14px;
  font-weight: 700;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ffffff;
  background: rgba(51, 65, 85, 0.72);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #e5e7eb;
  background: rgba(51, 65, 85, 0.72);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 16px;
}

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

.mobile-link {
  padding: 12px 14px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.62);
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 88px 20px 64px;
  background: radial-gradient(circle at 25% 20%, rgba(8, 145, 178, 0.28), transparent 28%), radial-gradient(circle at 78% 22%, rgba(59, 130, 246, 0.2), transparent 34%), linear-gradient(180deg, #020617, #0f172a 52%, #020617);
}

.hero-stage {
  position: relative;
  max-width: 1180px;
  min-height: 610px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  align-items: center;
  gap: 42px;
  padding: 64px;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  background: linear-gradient(90deg, #ffffff, #a5f3fc, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: 18px;
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(8, 145, 178, 0.22);
  border: 1px solid rgba(34, 211, 238, 0.23);
  font-size: 12px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.hero-search button,
.section-link,
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.primary-button,
.hero-search button {
  color: #031525;
  background: linear-gradient(90deg, #67e8f9, #38bdf8, #60a5fa);
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.28);
}

.primary-button,
.ghost-button {
  min-height: 48px;
  padding: 0 24px;
}

.ghost-button {
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.primary-button:hover,
.hero-search button:hover,
.section-link:hover,
.pager a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.ghost-button:hover {
  color: #ffffff;
  border-color: rgba(103, 232, 249, 0.6);
  background: rgba(8, 145, 178, 0.26);
}

.hero-poster {
  width: min(100%, 340px);
  margin-left: auto;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(14px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
}

.hero-poster span {
  display: block;
  padding: 12px 8px 2px;
  color: #cbd5e1;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 64px;
  bottom: 34px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dots button.is-active {
  width: 62px;
  background: #67e8f9;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.62);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.hero-control:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.36);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

.hero-search {
  max-width: 760px;
  margin: 26px auto 0;
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(51, 65, 85, 0.88);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.48);
}

.hero-search input,
.filter-input input,
.filter-selects select {
  width: 100%;
  color: #e5e7eb;
  outline: none;
  border: 1px solid rgba(51, 65, 85, 0.85);
  background: rgba(2, 6, 23, 0.76);
}

.hero-search input {
  min-height: 48px;
  border: 0;
  padding: 0 18px;
  background: transparent;
}

.hero-search button {
  min-width: 108px;
  border: 0;
  cursor: pointer;
}

.hero-side-list {
  max-width: 1180px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.content-section,
.page-main,
.detail-content,
.player-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px;
}

.muted-section {
  max-width: none;
  padding-left: max(20px, calc((100% - 1180px) / 2 + 20px));
  padding-right: max(20px, calc((100% - 1180px) / 2 + 20px));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(2, 6, 23, 0));
}

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

.section-heading span {
  color: #22d3ee;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #94a3b8;
}

.section-link,
.pager a,
.pager span {
  min-height: 40px;
  padding: 0 18px;
  color: #bfdbfe;
  background: rgba(14, 165, 233, 0.13);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.76);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  box-shadow: 0 16px 42px rgba(2, 6, 23, 0.34);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 26px 56px rgba(8, 145, 178, 0.18);
}

.poster-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0f172a;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.48s ease;
}

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

.poster-year,
.poster-type {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(10px);
}

.poster-year {
  right: 12px;
}

.poster-type {
  left: 12px;
  color: #cffafe;
  background: rgba(8, 145, 178, 0.72);
}

.card-body {
  padding: 16px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span,
.detail-meta span {
  color: #cbd5e1;
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 4px 8px;
}

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

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

.movie-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 14px;
}

.tag-row span {
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(148, 163, 184, 0.12);
}

.compact-list {
  display: grid;
  gap: 14px;
}

.compact-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.74);
  transition: 0.24s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(30, 41, 59, 0.84);
}

.compact-card img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-card strong,
.rank-mini strong {
  display: block;
  color: #ffffff;
  line-height: 1.4;
}

.compact-card span,
.rank-mini em,
.compact-card p {
  color: #94a3b8;
  font-size: 13px;
  font-style: normal;
}

.compact-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 0;
}

.category-grid,
.directory-grid {
  display: grid;
  gap: 18px;
}

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

.category-tile,
.directory-card {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  transition: 0.26s ease;
}

.category-tile:hover,
.directory-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.38);
}

.category-tile::before,
.directory-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
  filter: blur(4px);
}

.category-tile strong,
.directory-card strong {
  position: relative;
  z-index: 2;
  display: block;
  color: #ffffff;
  font-size: 24px;
}

.category-tile span,
.directory-card p,
.directory-card span {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
}

.from-orange::before {
  background: rgba(251, 146, 60, 0.22);
}

.from-purple::before {
  background: rgba(168, 85, 247, 0.22);
}

.from-green::before {
  background: rgba(45, 212, 191, 0.22);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
}

.rank-mini,
.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.rank-mini a {
  display: grid;
  grid-template-columns: 44px 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(51, 65, 85, 0.76);
}

.rank-mini a:hover {
  border-color: rgba(34, 211, 238, 0.4);
}

.rank-mini span,
.rank-index {
  color: #67e8f9;
  font-weight: 900;
  font-size: 18px;
}

.rank-mini img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
}

.page-main {
  padding-top: 120px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(51, 65, 85, 0.75);
  border-radius: 30px;
  background: radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.2), transparent 30%), radial-gradient(circle at 88% 12%, rgba(99, 102, 241, 0.2), transparent 38%), linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.38);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

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

.filter-panel {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(51, 65, 85, 0.76);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.78);
}

.filter-input input,
.filter-selects select {
  min-height: 46px;
  border-radius: 14px;
  padding: 0 14px;
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.filter-selects select {
  min-width: 150px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

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

.directory-card {
  min-height: 190px;
}

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

.rank-list a {
  display: grid;
  grid-template-columns: 72px 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  transition: 0.25s ease;
}

.rank-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(30, 41, 59, 0.88);
}

.rank-list img {
  width: 92px;
  height: 128px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-list strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
}

.rank-list p {
  margin: 8px 0;
  color: #cbd5e1;
}

.rank-list em {
  color: #94a3b8;
  font-style: normal;
}

.detail-main {
  padding-top: 64px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  padding: 120px 20px 58px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

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

.detail-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: end;
  gap: 34px;
}

.detail-poster {
  width: 280px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.detail-info h1 {
  max-width: 860px;
  font-size: clamp(38px, 6vw, 72px);
}

.detail-one-line {
  max-width: 860px;
  margin: 22px 0;
  color: #dbeafe;
  font-size: 19px;
}

.detail-meta span {
  padding: 6px 12px;
}

.player-section {
  padding-top: 0;
  padding-bottom: 36px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: #000000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.58);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #031525;
  background: linear-gradient(135deg, #67e8f9, #60a5fa);
  box-shadow: 0 0 46px rgba(34, 211, 238, 0.54);
  font-size: 28px;
  padding-left: 4px;
}

.play-overlay span:last-child {
  font-size: 18px;
  font-weight: 900;
}

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

.story-card {
  padding: 28px;
  border: 1px solid rgba(51, 65, 85, 0.74);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
}

.story-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 26px;
}

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

.wide-tags {
  margin-top: 18px;
}

.related-section {
  padding-top: 36px;
}

.site-footer {
  border-top: 1px solid rgba(51, 65, 85, 0.82);
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 360px;
  color: #94a3b8;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #94a3b8;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
  border-top: 1px solid rgba(51, 65, 85, 0.55);
}

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

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

  .menu-button {
    display: block;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 44px;
  }

  .hero-poster {
    width: 260px;
    margin: 0;
  }

  .hero-side-list,
  .movie-grid,
  .category-grid,
  .directory-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .filter-selects {
    flex-wrap: wrap;
  }

  .detail-layout {
    grid-template-columns: 220px 1fr;
  }

  .detail-poster {
    width: 220px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    padding: 0 14px;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero-section {
    padding: 78px 14px 42px;
  }

  .hero-stage {
    min-height: 680px;
    border-radius: 22px;
  }

  .hero-slide {
    padding: 28px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-poster {
    width: 200px;
  }

  .hero-dots {
    left: 28px;
    bottom: 20px;
  }

  .hero-control {
    display: none;
  }

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

  .hero-search button {
    min-height: 46px;
  }

  .hero-side-list,
  .movie-grid,
  .category-grid,
  .directory-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .page-main,
  .detail-content,
  .player-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-main {
    padding-top: 96px;
  }

  .page-hero {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    margin-top: 16px;
  }

  .filter-selects {
    display: grid;
  }

  .rank-list a {
    grid-template-columns: 48px 76px 1fr;
  }

  .rank-list img {
    width: 76px;
    height: 104px;
  }

  .detail-hero {
    padding-top: 100px;
  }

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

  .detail-poster {
    width: 190px;
  }

  .detail-info h1 {
    font-size: 38px;
  }

  .story-card {
    padding: 22px;
  }

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