:root {
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;
  --color-cyan: #06b6d4;
  --color-cyan-dark: #0891b2;
  --color-amber: #f59e0b;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--color-slate-900);
  background: linear-gradient(180deg, var(--color-slate-50), #ffffff 38%, #eef7fb 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--color-white);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--color-white);
  background: linear-gradient(135deg, #38bdf8, #06b6d4 45%, #0f766e);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.36);
}

.logo-text {
  font-size: 18px;
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
}

.quick-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(360px, 34vw);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.quick-search input,
.mobile-search input,
.large-search input,
.filter-controls input,
.filter-controls select {
  border: 0;
  outline: 0;
}

.quick-search input {
  width: 100%;
  padding: 10px 14px;
  color: var(--color-white);
  background: transparent;
}

.quick-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.quick-search button,
.mobile-search button,
.large-search button,
.filter-controls button {
  border: 0;
  cursor: pointer;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
}

.quick-search button {
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav-link {
  display: block;
  margin: 6px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  color: var(--color-white);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
}

.mobile-search button {
  padding: 0 18px;
  border-radius: 12px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: var(--color-white);
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.28), transparent 34%), linear-gradient(135deg, var(--color-slate-950), var(--color-slate-800));
}

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

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transform: scale(1.04);
}

.hero-slide.is-active img {
  animation: heroZoom 7s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.01);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.20)), linear-gradient(0deg, rgba(2, 6, 23, 0.80), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin-left: max(calc((100% - var(--container)) / 2), 16px);
}

.hero-pill,
.section-kicker,
.detail-kicker,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.24);
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 20px 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

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

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

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

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

.primary-button {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.32);
}

.ghost-button {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.movie-card:hover {
  transform: translateY(-3px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 40px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.home-search-band,
.section-block,
.category-overview,
.ranking-strip,
.page-shell,
.site-footer .footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.home-search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  margin-top: -54px;
  position: relative;
  z-index: 5;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.home-search-band span {
  color: var(--color-cyan-dark);
  font-weight: 800;
}

.home-search-band h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.home-search-band p {
  margin: 0;
  color: var(--color-slate-600);
  line-height: 1.8;
}

.large-search {
  display: flex;
  min-height: 58px;
  padding: 6px;
  border-radius: 999px;
  background: var(--color-slate-100);
}

.large-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--color-slate-900);
  background: transparent;
}

.large-search button {
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.section-block,
.category-overview,
.ranking-strip {
  padding: 70px 0 0;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-title-row h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-kicker {
  color: var(--color-white);
  font-size: 13px;
}

.section-more {
  color: var(--color-cyan-dark);
  background: rgba(6, 182, 212, 0.10);
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-card);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-700));
}

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

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

.poster-shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-100%);
}

.movie-card:hover .poster-shine {
  opacity: 1;
  animation: shine 0.8s ease;
}

@keyframes shine {
  to {
    transform: translateX(100%);
  }
}

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

.movie-meta {
  gap: 7px;
  margin-bottom: 10px;
}

.movie-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--color-slate-600);
  font-size: 12px;
  background: var(--color-slate-100);
}

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

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

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--color-slate-600);
  font-size: 14px;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #0e7490;
  font-size: 12px;
  background: #cffafe;
}

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

.category-card,
.category-wide-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: var(--color-slate-900);
  box-shadow: var(--shadow-soft);
}

.category-card {
  min-height: 260px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 70%);
}

.category-card span,
.category-card strong,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.82);
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 22px;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 82px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.ranking-number,
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-amber), #ef4444);
}

.ranking-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 12px;
}

.ranking-row img {
  width: 82px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

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

.ranking-info strong,
.ranking-info em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-info em {
  margin-top: 4px;
  color: var(--color-slate-600);
  font-style: normal;
  font-size: 13px;
}

.ranking-arrow {
  color: var(--color-cyan-dark);
  font-size: 30px;
}

.page-shell {
  padding: 36px 0 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--color-slate-600);
  font-size: 14px;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.38), transparent 32%), linear-gradient(135deg, var(--color-slate-950), var(--color-slate-800));
}

.compact-hero {
  padding: clamp(34px, 6vw, 64px);
}

.page-hero h1 {
  margin: 18px 0 14px;
  max-width: 820px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.category-wide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.category-wide-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  color: var(--color-slate-900);
  background: var(--color-white);
}

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

.category-wide-card h2 {
  margin: 8px 0 8px;
}

.category-wide-card p {
  margin: 0;
  color: var(--color-slate-600);
  line-height: 1.7;
}

.category-thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.category-thumb-stack img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}

.filter-panel {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.filter-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.filter-head h2 {
  margin: 0;
  font-size: 26px;
}

.filter-head p {
  margin: 0;
  color: var(--color-slate-600);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 180px));
  gap: 12px;
  margin-bottom: 24px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--color-slate-900);
  background: var(--color-slate-100);
}

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

.empty-state {
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-slate-600);
  background: var(--color-slate-100);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  background: radial-gradient(circle at 0 0, rgba(6, 182, 212, 0.35), transparent 30%), linear-gradient(135deg, var(--color-slate-950), var(--color-slate-800));
  box-shadow: var(--shadow-card);
}

.detail-poster {
  overflow: hidden;
  min-height: 420px;
  border-radius: 22px;
  background: var(--color-slate-800);
}

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

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-info p {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.detail-tags {
  margin: 22px 0 28px;
}

.player-section,
.text-section,
.related-block {
  margin-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  background: var(--color-slate-950);
  box-shadow: var(--shadow-card);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-slate-950);
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--color-white);
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.28), rgba(2, 6, 23, 0.74) 55%, rgba(2, 6, 23, 0.88));
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-slate-950);
  font-size: 28px;
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.22);
}

.player-cover strong {
  font-size: clamp(22px, 4vw, 34px);
}

.player-cover em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.text-section {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.text-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.text-section p {
  margin: 0;
  color: var(--color-slate-600);
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, var(--color-slate-900), var(--color-slate-950));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 54px 0;
}

.footer-brand p,
.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p {
  max-width: 420px;
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 18px;
}

.footer-links div {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  padding: 20px 16px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

  .home-search-band {
    grid-template-columns: 1fr;
  }

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

  .category-wide-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    height: 560px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-right: 18px;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-band {
    padding: 24px;
    margin-top: -34px;
  }

  .large-search {
    flex-direction: column;
    border-radius: 22px;
  }

  .large-search input,
  .large-search button {
    min-height: 48px;
  }

  .section-title-row,
  .filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .category-grid,
  .category-page-grid,
  .search-page-grid,
  .ranking-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .movie-card p {
    min-height: auto;
  }

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

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

  .category-wide-card {
    padding: 18px;
  }

  .detail-poster {
    min-height: auto;
    aspect-ratio: 16 / 11;
  }

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

  .ranking-row img {
    width: 68px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .movie-grid,
  .category-grid,
  .category-page-grid,
  .search-page-grid,
  .ranking-page-grid {
    grid-template-columns: 1fr;
  }

  .compact-hero,
  .filter-panel,
  .detail-hero,
  .text-section {
    padding: 22px;
  }

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