:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(15 23 42 / 0.12), 0 8px 10px -6px rgb(15 23 42 / 0.12);
  --shadow-2xl: 0 25px 50px -12px rgb(15 23 42 / 0.28);
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--sky-50), var(--white) 42%, var(--blue-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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;
  border-bottom: 1px solid rgb(186 230 253 / 0.75);
  background: linear-gradient(90deg, rgb(240 249 255 / 0.94), rgb(239 246 255 / 0.94));
  box-shadow: 0 1px 8px rgb(2 132 199 / 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1280px);
  height: 4rem;
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.82;
}

.logo-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 10px 20px rgb(14 165 233 / 0.25);
  font-size: 0.82rem;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title,
.footer-logo {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

.logo-title {
  font-size: 1.25rem;
}

.logo-subtitle {
  margin-top: 0.15rem;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link,
.mobile-link {
  color: var(--slate-600);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--sky-600);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.7);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--sky-700);
}

.mobile-nav {
  display: none;
  width: min(100% - 2rem, 1280px);
  margin: 0 auto 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.65rem;
}

.mobile-link {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--sky-50);
}

.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at 20% 20%, var(--sky-300), transparent 30%), linear-gradient(135deg, var(--sky-600), var(--blue-600));
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(2 6 23 / 0.86), rgb(2 6 23 / 0.42) 52%, rgb(2 6 23 / 0.18));
}

.hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  padding: 0 0 4.8rem;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.75rem;
  margin-bottom: 1rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  color: var(--white);
  background: rgb(14 165 233 / 0.92);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 0.95;
}

.hero h2 {
  max-width: 760px;
  margin-top: 0.7rem;
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.hero p,
.page-hero p,
.detail-copy p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 0.92);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1rem;
}

.hero-tags span,
.detail-tags span,
.tag-row span,
.tag-cloud span {
  border-radius: 999px;
  font-weight: 700;
}

.hero-tags span {
  padding: 0.38rem 0.8rem;
  color: var(--white);
  background: rgb(255 255 255 / 0.18);
  backdrop-filter: blur(10px);
}

.hero-actions,
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.primary-button,
.secondary-button,
.filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-button {
  color: var(--slate-900);
  background: var(--white);
  box-shadow: var(--shadow);
}

.primary-button:hover {
  color: var(--white);
  background: var(--sky-500);
  transform: scale(1.04);
}

.secondary-button {
  color: var(--white);
  background: rgb(255 255 255 / 0.18);
  backdrop-filter: blur(10px);
}

.secondary-button:hover {
  background: rgb(255 255 255 / 0.34);
  transform: translateY(-1px);
}

.secondary-button.light,
.filter-link {
  color: var(--sky-700);
  background: var(--sky-100);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgb(255 255 255 / 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgb(255 255 255 / 0.38);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

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

.hero-dot {
  width: 0.58rem;
  height: 0.58rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 2.1rem;
  background: var(--white);
}

.section {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  padding: 3rem 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0.45rem 0 0;
  color: var(--slate-500);
}

.heading-line {
  flex: 1;
  height: 0.25rem;
  min-width: 5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-500), transparent);
}

.intro-section {
  padding-bottom: 1rem;
}

.intro-card,
.highlight-section,
.text-card {
  border-radius: var(--radius-3xl);
  background: linear-gradient(90deg, var(--sky-100), var(--blue-100));
  box-shadow: var(--shadow-lg);
}

.intro-card {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.4rem, 4vw, 2.25rem);
}

.intro-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.intro-card p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-600);
  line-height: 1.8;
}

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

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

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: inherit;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.25rem);
}

.movie-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, var(--sky-200), transparent 35%), linear-gradient(135deg, var(--sky-50), var(--blue-100));
}

.movie-poster img,
.category-card img,
.detail-cover img,
.rank-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.movie-card:hover .movie-poster img,
.category-card:hover img,
.detail-cover:hover img {
  transform: scale(1.08);
}

img.is-missing {
  opacity: 0;
}

.duration-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: rgb(0 0 0 / 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgb(0 0 0 / 0.35);
  font-size: 2.6rem;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.movie-card:hover .play-icon {
  opacity: 1;
  background: rgb(0 0 0 / 0.22);
}

.movie-body {
  padding: 1rem;
}

.movie-body h3 {
  display: -webkit-box;
  margin: 0 0 0.55rem;
  min-height: 2.7rem;
  overflow: hidden;
  color: var(--slate-800);
  font-size: 1rem;
  line-height: 1.35;
  transition: color 0.2s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover h3,
.rank-row:hover strong {
  color: var(--sky-600);
}

.movie-body p {
  display: -webkit-box;
  min-height: 2.8rem;
  margin: 0 0 0.85rem;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  margin-bottom: 0.85rem;
}

.tag-row span,
.detail-tags span,
.tag-cloud span {
  padding: 0.32rem 0.68rem;
  color: var(--slate-600);
  background: linear-gradient(90deg, var(--sky-50), var(--blue-50));
  font-size: 0.78rem;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.highlight-section {
  width: min(100% - 2rem, 1280px);
  padding: 2rem;
}

.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0 1rem;
  scroll-snap-type: x proximity;
}

.scroll-item {
  width: 20rem;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.category-preview-list {
  display: grid;
  gap: 2rem;
}

.category-preview {
  padding: 1.25rem;
  border-radius: var(--radius-2xl);
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow);
}

.category-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-preview-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.category-preview-head a {
  color: var(--sky-600);
  font-weight: 800;
}

.latest-list {
  display: grid;
  gap: 1rem;
}

.movie-card.horizontal {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
}

.horizontal-poster {
  aspect-ratio: auto;
  min-height: 8rem;
}

.horizontal-body h3 {
  min-height: auto;
  -webkit-line-clamp: 1;
}

.tag-section {
  padding-top: 1rem;
}

.tag-cloud {
  padding: 2rem;
  border-radius: var(--radius-3xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.page-hero,
.detail-hero {
  background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
  color: var(--white);
}

.small-hero {
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem;
  text-align: center;
}

.small-hero > div {
  width: min(100%, 900px);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  margin-right: auto;
  margin-left: auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
  box-shadow: var(--shadow-lg);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgb(2 6 23 / 0.78), rgb(2 6 23 / 0.25));
}

.category-card img {
  position: absolute;
  inset: 0;
}

.category-card div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.5rem;
}

.category-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
}

.category-card p {
  margin: 0 0 1rem;
  color: rgb(255 255 255 / 0.86);
  line-height: 1.65;
}

.category-card span {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(18rem, 1.5fr) repeat(3, minmax(8rem, 0.7fr)) auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.filter-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--slate-500);
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--sky-100);
  border-radius: 999px;
  outline: 0;
  padding: 0 1rem;
  color: var(--slate-800);
  background: var(--sky-50);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgb(14 165 233 / 0.14);
}

.empty-state {
  margin-top: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  color: var(--slate-500);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.rank-list {
  display: grid;
  gap: 0.85rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 4rem 8rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 6.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.rank-number {
  color: transparent;
  background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.55rem;
  font-weight: 900;
}

.rank-row img {
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  background: var(--sky-100);
}

.rank-info {
  display: grid;
  gap: 0.35rem;
}

.rank-info strong {
  color: var(--slate-800);
  transition: color 0.2s ease;
}

.rank-info em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-500);
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-meta {
  color: var(--sky-600);
  font-weight: 900;
}

.detail-hero {
  padding: 2rem 1rem 3rem;
}

.breadcrumb,
.detail-layout {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.9rem;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.68fr) minmax(0, 1.32fr);
  gap: 2rem;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, var(--sky-200), var(--blue-100));
  box-shadow: var(--shadow-2xl);
}

.detail-cover img {
  aspect-ratio: 16 / 10;
}

.detail-copy h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.detail-tags {
  margin: 1.1rem 0;
}

.detail-tags span {
  color: var(--white);
  background: rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.25rem 0 0;
}

.detail-meta div {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.14);
  backdrop-filter: blur(12px);
}

.detail-meta dt {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.8rem;
}

.detail-meta dd {
  margin: 0.18rem 0 0;
  font-weight: 800;
}

.player-section {
  padding-bottom: 1rem;
}

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: var(--slate-900);
  box-shadow: var(--shadow-2xl);
}

.video-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  outline: 0;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgb(14 165 233 / 0.15), rgb(2 6 23 / 0.62));
  cursor: pointer;
}

.play-cover.is-hidden {
  display: none;
}

.big-play {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgb(14 165 233 / 0.95);
  box-shadow: 0 20px 40px rgb(14 165 233 / 0.38);
  cursor: pointer;
  font-size: 2.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.big-play:hover {
  background: var(--sky-600);
  transform: scale(1.05);
}

.text-card {
  padding: clamp(1.4rem, 4vw, 2.35rem);
  background: var(--white);
}

.text-card h2 {
  margin: 0 0 0.85rem;
  color: var(--slate-900);
  font-size: 1.45rem;
}

.text-card h2:not(:first-child) {
  margin-top: 1.75rem;
}

.text-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.02rem;
  line-height: 1.95;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--sky-100);
  background: rgb(255 255 255 / 0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--slate-500);
  font-weight: 700;
}

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

@media (max-width: 1100px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .menu-toggle {
    display: flex;
  }

  .logo-subtitle {
    display: none;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    padding-bottom: 5.2rem;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .listing-grid,
  .category-grid,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .movie-card.horizontal {
    grid-template-columns: 8rem minmax(0, 1fr);
  }

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

  .rank-row {
    grid-template-columns: 3rem 6.5rem minmax(0, 1fr);
  }

  .rank-meta {
    display: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section,
  .breadcrumb,
  .detail-layout {
    width: min(100% - 1rem, 1280px);
  }

  .hero {
    height: 620px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .heading-line {
    width: 100%;
  }

  .highlight-section {
    padding: 1rem;
  }

  .scroll-item {
    width: 17rem;
  }

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

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

  .movie-card.horizontal {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 2.5rem 5.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.65rem;
  }
}
