:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --panel-card: #1e293b;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --yellow: #facc15;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(6, 182, 212, 0.14), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--subtle);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 9px 13px;
  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.9);
}

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

.header-search input,
.mobile-search input,
.home-search-band input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #ffffff;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 12px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.home-search-band input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(6, 182, 212, 0.85);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.16);
}

.header-search button,
.mobile-search button,
.home-search-band button {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: rgba(30, 41, 59, 0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
}

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

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #020617;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, #020617 0%, transparent 42%);
}

.hero-content {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
}

.hero-content > * {
  max-width: 680px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(103, 232, 249, 0.18);
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.hero p {
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.75;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-meta span:first-child,
.detail-meta span:first-child {
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.08);
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: #a5f3fc;
  background: rgba(8, 145, 178, 0.10);
}

.hero-tags span,
.detail-tags span {
  padding: 6px 11px;
  font-size: 13px;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 46px rgba(6, 182, 212, 0.28);
}

.ghost-button {
  color: #ffffff;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

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

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #64748b;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.home-search-band,
.content-section,
.page-shell,
.detail-shell {
  width: min(1200px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.home-search-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
  box-shadow: var(--shadow);
}

.home-search-band h2,
.section-heading h2,
.page-hero h1,
.detail-content h2,
.player-section h2 {
  margin: 0;
}

.home-search-band h2 {
  font-size: 28px;
}

.home-search-band p {
  margin: 9px 0 0;
  color: var(--subtle);
  line-height: 1.7;
}

.home-search-band form {
  display: flex;
  gap: 10px;
}

.home-search-band input {
  min-width: 0;
  flex: 1;
  padding: 14px 14px;
}

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

.highlight-section {
  margin-top: 58px;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
}

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

.section-heading h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.05em;
}

.section-heading h2::before {
  content: "";
  width: 8px;
  height: 34px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.section-heading p {
  margin: 8px 0 0;
  max-width: 780px;
  color: var(--subtle);
  line-height: 1.7;
}

.section-heading a {
  flex-shrink: 0;
  color: #67e8f9;
  font-weight: 800;
}

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

.compact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

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

.movie-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.20);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 24px 62px rgba(6, 182, 212, 0.12);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 54%);
}

.rating-pill,
.rank-badge {
  position: absolute;
  top: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rating-pill {
  right: 10px;
  padding: 5px 8px;
  color: #111827;
  background: var(--yellow);
}

.rank-badge {
  left: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

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

.card-content {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}

.movie-card.is-compact .card-content {
  min-height: 146px;
  padding: 13px;
}

.card-content strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 46px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.is-compact .card-content strong {
  min-height: 41px;
  font-size: 15px;
}

.card-meta,
.card-desc {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.5;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: auto;
}

.tag-row span {
  padding: 4px 7px;
  font-size: 12px;
}

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

.category-tile {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.78));
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.5);
}

.category-tile > span:first-child {
  width: fit-content;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
}

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

.category-tile em {
  color: var(--subtle);
  font-style: normal;
  line-height: 1.7;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.mini-links a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.7);
  font-size: 12px;
}

.page-shell {
  padding-top: 40px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 28px;
  border: 1px solid rgba(6, 182, 212, 0.18);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.78)),
    radial-gradient(circle at 88% 10%, rgba(6, 182, 212, 0.22), transparent 24rem);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(36px, 6vw, 62px);
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.compact-actions {
  margin-top: 26px;
}

.category-overview-block {
  padding: 38px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.compact-heading {
  align-items: center;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.78);
}

.filter-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}

.filter-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
}

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

.page-list-section {
  padding-top: 16px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 58px 72px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 102px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(5px);
  border-color: rgba(6, 182, 212, 0.54);
}

.ranking-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.ranking-poster {
  overflow: hidden;
  width: 72px;
  height: 92px;
  border-radius: 12px;
}

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

.ranking-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ranking-main strong {
  color: #ffffff;
  font-size: 18px;
}

.ranking-main span,
.ranking-main em {
  color: var(--subtle);
  font-style: normal;
  line-height: 1.5;
}

.ranking-main em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-score {
  color: var(--yellow);
  font-weight: 900;
  font-size: 18px;
}

.detail-shell {
  padding: 26px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--subtle);
  font-size: 14px;
}

.breadcrumb a {
  color: #67e8f9;
}

.detail-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(6, 182, 212, 0.17);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.74)),
    radial-gradient(circle at 86% 12%, rgba(6, 182, 212, 0.18), transparent 28rem);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
}

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

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

.detail-info h1 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 62px);
}

.detail-one-line {
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

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

.jump-button {
  margin-top: 26px;
  width: fit-content;
}

.player-section,
.detail-content,
.related-section {
  margin-top: 42px;
}

.player-section h2,
.detail-content h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.26)),
    radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 26rem);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 34px;
  box-shadow: 0 18px 48px rgba(6, 182, 212, 0.28);
}

.play-layer strong {
  max-width: 82%;
  text-align: center;
  font-size: clamp(20px, 4vw, 34px);
}

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

.detail-content article {
  padding: 28px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.detail-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(51, 65, 85, 0.78);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 1));
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid p {
  margin: 0;
  max-width: 520px;
  color: var(--subtle);
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 14px;
}

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

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

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

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

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

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

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

  .detail-hero {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 760px) {
  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 620px;
    height: auto;
  }

  .hero-content {
    min-height: 620px;
    justify-content: flex-end;
    padding-bottom: 86px;
  }

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

  .hero p,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

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

  .home-search-band form {
    flex-direction: column;
  }

  .section-heading,
  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .category-grid,
  .footer-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

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

  .ranking-item {
    grid-template-columns: 42px 60px 1fr;
    gap: 12px;
  }

  .ranking-score {
    grid-column: 3;
    justify-self: start;
  }

  .ranking-poster {
    width: 60px;
    height: 78px;
  }

  .ranking-main em {
    display: none;
  }

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

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

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

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

@media (max-width: 480px) {
  .header-inner,
  .mobile-nav,
  .home-search-band,
  .content-section,
  .page-shell,
  .detail-shell,
  .footer-inner {
    width: min(100% - 22px, 1200px);
  }

  .brand-name {
    font-size: 18px;
  }

  .movie-grid,
  .listing-grid,
  .compact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-content {
    min-height: 152px;
    padding: 12px;
  }

  .card-desc {
    display: none;
  }

  .tag-row span:nth-child(n+3) {
    display: none;
  }

  .page-hero,
  .highlight-section,
  .detail-hero,
  .detail-content article {
    border-radius: 20px;
    padding: 20px;
  }
}
