:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--slate-50), var(--white));
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--slate-950), var(--slate-900), #082f49);
  color: var(--white);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.35);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--white);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.42);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: #67e8f9;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: #cbd5e1;
  font-size: 15px;
}

.desktop-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #67e8f9;
  transform: translateY(-1px);
}

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

.nav-search input,
.mobile-search input,
.cta-search input,
.filters input,
.filters select {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  outline: none;
}

.nav-search input {
  width: 210px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.84);
}

.nav-search button,
.mobile-search button,
.cta-search button,
.filters button {
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.cta-search button:hover,
.filters button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  background: var(--slate-900);
}

.mobile-panel a {
  display: block;
  padding: 12px 4px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.mobile-search {
  margin-top: 14px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  color: var(--white);
  background: var(--slate-800);
}

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

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 20%, rgba(6, 182, 212, 0.25), transparent 30%), linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding-top: 132px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 14px 0 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  color: #cffafe;
}

.hero p {
  margin: 18px 0 0;
  max-width: 680px;
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.16);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

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

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

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(14px);
}

.hero-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: -150px;
  padding-bottom: 42px;
}

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

.hero-dot {
  width: 38px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--cyan);
}

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(620px, 56vw);
}

.hero-mini-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(12px);
}

.hero-mini-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-mini-card span {
  display: block;
  padding: 10px;
  color: #e2e8f0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section {
  padding: 72px 0;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: linear-gradient(180deg, var(--white), var(--slate-50));
}

.section-dark {
  background: radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.25), transparent 32%), var(--slate-950);
}

.section-cta {
  background: var(--slate-950);
  color: var(--white);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 22px;
  text-align: left;
}

.section-heading h2,
.rank-panel-head h2,
.next-panel h2,
.detail-article h2 {
  margin: 10px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--slate-600);
  font-size: 18px;
}

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

.category-card,
.category-list-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 26px;
  color: var(--white);
  min-height: 146px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-list-card:hover,
.movie-card:hover,
.wide-card:hover,
.ranking-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.18);
}

.category-card-1 {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-card-2 {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.category-card-3 {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.category-card-4 {
  background: linear-gradient(135deg, #059669, #0d9488);
}

.category-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
}

.category-card strong,
.category-list-card strong {
  display: block;
  font-size: 25px;
}

.category-card small,
.category-list-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-800);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.74));
  transition: opacity 0.24s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.45);
}

.play-circle.large {
  width: 74px;
  height: 74px;
  font-size: 28px;
}

.corner-label,
.year-label {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.corner-label {
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.year-label {
  left: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(10px);
}

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

.movie-card-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--slate-500);
  font-size: 12px;
}

.movie-meta-row span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.center-actions {
  justify-content: center;
}

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

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

.wide-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.wide-card div {
  padding: 24px;
}

.wide-card span {
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
}

.wide-card h3 {
  margin: 8px 0;
  font-size: 24px;
}

.wide-card p {
  display: -webkit-box;
  margin: 0;
  color: var(--slate-600);
  line-height: 1.8;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-panel,
.next-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.rank-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px;
  background: var(--slate-50);
}

.rank-row strong {
  color: var(--cyan-dark);
}

.rank-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-row em {
  color: #f97316;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.more-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--cyan-dark);
  font-weight: 800;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 30px;
  padding: 36px;
  background: radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.28), transparent 32%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.92));
}

.cta-card h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.cta-search input {
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.46);
}

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.28), transparent 34%), linear-gradient(135deg, var(--slate-950), #172554, #083344);
}

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

.filter-panel {
  position: sticky;
  top: 78px;
  z-index: 30;
  padding: 18px 0;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 180px)) 100px;
  gap: 12px;
}

.filters input,
.filters select {
  width: 100%;
  padding: 12px 14px;
  color: var(--slate-900);
  background: var(--white);
}

.empty-result {
  display: none;
  border-radius: 20px;
  padding: 34px;
  color: var(--slate-600);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

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

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

.category-list-card {
  min-height: 110px;
  color: var(--slate-900);
  background: var(--white);
}

.category-list-card strong {
  font-size: 19px;
}

.category-list-card span {
  color: var(--slate-500);
}

.type-grid .category-list-card {
  background: linear-gradient(135deg, var(--slate-900), #0e7490);
  color: var(--white);
}

.type-grid .category-list-card span {
  color: #cffafe;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 64px 86px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 16px;
  border-radius: 22px;
  padding: 14px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-index {
  color: var(--cyan-dark);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.ranking-card img {
  width: 86px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
}

.ranking-info strong,
.ranking-info small,
.ranking-info em {
  display: block;
}

.ranking-info strong {
  font-size: 20px;
}

.ranking-info small {
  margin-top: 6px;
  color: var(--cyan-dark);
}

.ranking-info em {
  display: -webkit-box;
  margin-top: 7px;
  color: var(--slate-600);
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-card b {
  color: #f97316;
  font-size: 26px;
  text-align: center;
}

.detail-hero {
  padding: 72px 0;
  color: var(--white);
  background: radial-gradient(circle at 25% 12%, rgba(6, 182, 212, 0.3), transparent 34%), linear-gradient(135deg, var(--slate-950), var(--slate-900), #083344);
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.55);
}

.detail-info .lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.8;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at 50% 38%, rgba(6, 182, 212, 0.25), transparent 34%), rgba(2, 6, 23, 0.62);
  cursor: pointer;
}

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

.player-overlay strong {
  font-size: 20px;
}

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

.detail-article {
  border-radius: 26px;
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-article h2 {
  margin-top: 0;
  font-size: 28px;
}

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

.detail-article p {
  margin: 14px 0 0;
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.95;
}

.detail-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.detail-data div {
  border-radius: 16px;
  padding: 14px;
  background: var(--slate-50);
}

.detail-data dt {
  color: var(--slate-500);
  font-size: 13px;
}

.detail-data dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.next-panel h2 {
  font-size: 26px;
}

.next-panel a {
  display: block;
  margin-top: 14px;
  border-radius: 16px;
  padding: 14px;
  color: var(--slate-700);
  background: var(--slate-50);
}

.next-panel a:hover {
  color: var(--cyan-dark);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.site-footer p {
  max-width: 560px;
  margin: 18px 0 0;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
}

.site-footer a:not(.brand):hover {
  color: #67e8f9;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-mini-list {
    display: none;
  }

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

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

  .split-layout,
  .cta-card,
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text strong {
    font-size: 16px;
  }

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

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

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

  .hero-bottom {
    margin-top: -90px;
  }

  .section {
    padding: 50px 0;
  }

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

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

  .split-layout,
  .wide-card,
  .detail-grid,
  .article-layout,
  .ranking-card,
  .footer-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .wide-card img {
    min-height: 210px;
  }

  .ranking-card {
    gap: 12px;
  }

  .ranking-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .ranking-index,
  .ranking-card b {
    text-align: left;
  }

  .detail-grid {
    gap: 26px;
  }

  .detail-poster {
    max-width: 270px;
  }

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

  .cta-search {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .movie-grid,
  .category-grid,
  .category-list-grid {
    grid-template-columns: 1fr;
  }
}
