* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #eff6ff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
}

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

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.3);
  transform: translateZ(0);
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
  transform: scale(1.06);
}

.brand-text strong {
  display: block;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #67e8f9;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: #e2e8f0;
}

.desktop-nav a,
.nav-dropdown > button {
  padding: 8px 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
  color: #22d3ee;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: #1e293b;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
}

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

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
}

.dropdown-panel a:hover {
  color: #ffffff;
  background: #334155;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-panel input,
.hero-search input,
.filter-bar input,
.filter-bar select,
.search-main input,
.search-main select {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input,
.mobile-panel input {
  width: 220px;
  padding: 11px 16px;
  color: #ffffff;
  background: #334155;
}

.nav-search input:focus,
.mobile-panel input:focus,
.hero-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.search-main input:focus,
.search-main select:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.nav-search button,
.mobile-panel button,
.hero-search button,
.primary-button,
.secondary-button,
.card-action,
.play-button,
.search-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.mobile-panel button,
.hero-search button,
.primary-button,
.search-button {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.26);
}

.nav-search button {
  padding: 10px 16px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.9);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  gap: 10px;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  flex: 1;
  width: auto;
}

.mobile-panel button {
  padding: 10px 16px;
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.75);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.12) 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(0deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.6fr);
  align-items: center;
  min-height: 610px;
  gap: 42px;
  padding: 60px 0 88px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #facc15;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 34px rgba(2, 6, 23, 0.3);
}

.hero p {
  margin: 0 0 28px;
  max-width: 680px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.primary-button:hover,
.search-button:hover,
.nav-search button:hover,
.mobile-panel button:hover,
.hero-search button:hover,
.play-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 35px rgba(6, 182, 212, 0.32);
}

.secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

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

.hero-tags span,
.tag-list span,
.detail-tags span,
.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.hero-tags span {
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.46);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.hero-search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  color: #0f172a;
  background: #ffffff;
}

.hero-search button {
  padding: 0 18px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  padding: 12px 14px;
  border-radius: 16px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.11);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-links a:hover {
  background: rgba(14, 165, 233, 0.22);
  transform: translateY(-2px);
}

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

.hero-dot {
  width: 44px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dot.is-active {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
}

main {
  min-height: 60vh;
}

.section {
  padding: 58px 0;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.18);
}

.section h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-header p,
.page-hero p,
.category-card p,
.detail-copy p,
.search-main p {
  color: #64748b;
  line-height: 1.8;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.15);
  transform: translateY(-7px);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

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

.movie-card:hover .poster-link img {
  filter: brightness(0.72) saturate(1.08);
  transform: scale(1.08);
}

.poster-mask {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.3);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 13px;
}

.card-meta span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5f9;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #0891b2;
}

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

.tag-list span {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.feature-band {
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.18);
}

.feature-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 36px;
}

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

.category-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 26px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 18px;
}

.category-card strong {
  display: inline-flex;
  color: #2563eb;
}

.page-hero {
  color: #ffffff;
  background: radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.34), transparent 36%), linear-gradient(135deg, #0f172a, #1e3a8a 52%, #134e4a);
}

.page-hero .container {
  padding: 56px 0;
}

.page-hero h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
}

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

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

.breadcrumb a:hover {
  color: #ffffff;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.filter-bar input,
.filter-bar select,
.search-main input,
.search-main select {
  width: 100%;
  padding: 13px 16px;
  color: #0f172a;
  background: #ffffff;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 62px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.ranking-row .rank-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.ranking-row img {
  width: 92px;
  height: 122px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-row p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.ranking-row .primary-button {
  min-height: 42px;
  padding: 0 18px;
}

.search-main {
  display: grid;
  gap: 20px;
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.search-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px auto;
  gap: 12px;
}

.search-button {
  padding: 0 24px;
}

.empty-result {
  display: none;
  padding: 28px;
  border-radius: 18px;
  color: #64748b;
  background: #f8fafc;
  text-align: center;
}

.detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.75fr);
  gap: 32px;
  padding: 42px 0 70px;
}

.player-card {
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.3);
}

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

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.play-button span:first-child {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.detail-panel,
.detail-copy,
.related-section {
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.detail-copy,
.related-section {
  padding: 28px;
  margin-top: 24px;
}

.detail-copy h2,
.related-section h2,
.detail-panel h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 26px;
}

.detail-copy p {
  margin: 0 0 18px;
  font-size: 16px;
}

.detail-panel {
  overflow: hidden;
  align-self: start;
}

.detail-panel img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-panel-body {
  padding: 22px;
}

.detail-title {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.detail-title h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.detail-meta span,
.detail-tags span {
  color: #475569;
  background: #f1f5f9;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

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

.mini-stack {
  display: grid;
  gap: 12px;
}

.mini-movie {
  display: grid;
  grid-template-columns: 34px 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-movie:hover {
  background: rgba(14, 165, 233, 0.24);
  transform: translateX(4px);
}

.mini-movie > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.mini-movie img {
  width: 62px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

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

.mini-movie em {
  margin-top: 4px;
  color: #bae6fd;
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 0.95fr;
  gap: 32px;
  padding: 52px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

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

.site-footer a:hover {
  color: #22d3ee;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #94a3b8;
  text-align: center;
}

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-content,
  .feature-band-inner,
  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }

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

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

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

  .hero,
  .hero-content {
    min-height: 720px;
  }

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

  .hero-panel {
    padding: 18px;
  }

  .hero-search,
  .search-controls,
  .filter-bar,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .hero-search {
    display: grid;
  }

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

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

  .feature-band-inner,
  .search-main,
  .detail-title,
  .detail-copy,
  .related-section {
    padding: 22px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .quick-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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