:root {
  --cyan: #06b6d4;
  --blue: #2563eb;
  --teal: #14b8a6;
  --purple: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --green: #10b981;
  --slate: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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: 100;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--teal));
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.25);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-text {
  white-space: nowrap;
  font-size: 1.18rem;
}

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

.desktop-nav a,
.mobile-panel a {
  opacity: 0.92;
  font-weight: 600;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  opacity: 1;
  color: #fef08a;
}

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

.header-search input,
.mobile-panel input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  border-radius: 999px;
}

.header-search input {
  width: 210px;
  padding: 10px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.header-search input::placeholder,
.mobile-panel input::placeholder,
.search-page-form input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.header-search button,
.mobile-panel button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--blue);
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.search-page-form button:hover {
  transform: translateY(-1px);
  background: #fef08a;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
}

.mobile-panel {
  padding: 0 16px 18px;
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  padding: 14px 0;
}

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

.mobile-panel input {
  width: 100%;
  padding: 12px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #22d3ee, #2563eb 52%, #7c3aed);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 28%), linear-gradient(135deg, #06b6d4, #2563eb 54%, #7c3aed);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.72));
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.03);
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 440px);
  gap: 54px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fef08a;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-site-title {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-copy p {
  max-width: 710px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.hero-actions,
.tag-row,
.detail-badges,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tag-row {
  margin-bottom: 24px;
}

.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

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

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

.btn-light {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.btn-light:hover {
  background: #fef08a;
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

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

.inline-head {
  margin-bottom: 24px;
}

.section-head h2,
.page-hero h1,
.detail-top h1,
.detail-card h2,
.side-card h2 {
  margin: 0;
  color: var(--slate);
  line-height: 1.15;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.section-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue);
}

.movie-grid,
.featured-grid,
.category-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card,
.category-card,
.side-card,
.detail-card,
.player-card,
.ranking-panel,
.rank-row {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.movie-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #06b6d4);
}

.poster-wide {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-image,
.compact-card:hover .poster-image,
.rank-row:hover .poster-image {
  transform: scale(1.06);
}

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

.badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
}

.badge-main {
  left: 12px;
  top: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.badge-year {
  right: 12px;
  top: 12px;
  background: rgba(15, 23, 42, 0.72);
}

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

.movie-card-body h3,
.featured-copy h3,
.compact-card h3,
.rank-copy h2 {
  margin: 0;
  color: var(--slate);
  line-height: 1.35;
}

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  font-size: 1.08rem;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-body p,
.featured-copy p,
.rank-copy p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-body p {
  min-height: 44px;
  margin: 10px 0 14px;
  font-size: 0.93rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-line span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.movie-card-featured {
  position: relative;
}

.movie-card-featured .poster {
  height: 100%;
}

.featured-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 28px;
  color: #ffffff;
}

.featured-copy h3 {
  color: #ffffff;
  font-size: 1.45rem;
}

.featured-copy p,
.featured-copy .meta-line {
  color: rgba(255, 255, 255, 0.84);
}

.category-card {
  overflow: hidden;
  color: #ffffff;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-card a {
  display: block;
  min-height: 245px;
  padding: 24px;
}

.category-art {
  display: flex;
  height: 92px;
  margin-bottom: 24px;
}

.category-art span {
  width: 76px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.category-art span + span {
  margin-left: -20px;
}

.category-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.category-card p {
  min-height: 52px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.category-arrow {
  font-weight: 850;
}

.gradient-pink,
.category-card.gradient-pink {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.gradient-green,
.category-card.gradient-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

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

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

.gradient-cyan,
.category-card.gradient-cyan {
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

.gradient-purple,
.category-card.gradient-purple {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
}

.gradient-violet,
.category-card.gradient-violet {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.gradient-teal,
.category-card.gradient-teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

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

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.ranking-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.ranking-list li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

.compact-card a {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.compact-card a:hover {
  background: #f8fafc;
}

.compact-thumb,
.rank-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.compact-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 820;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cta-band {
  padding: 72px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero,
.detail-top {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #ffffff;
}

.page-hero::after,
.detail-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.23), transparent 30%);
}

.page-hero .container,
.detail-top .container {
  position: relative;
  z-index: 2;
}

.page-hero h1,
.detail-top h1 {
  color: #ffffff;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.page-hero p,
.detail-top p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.back-link,
.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 170px;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 13px 16px;
  color: var(--slate);
  background: #f8fafc;
}

.filter-status {
  min-height: 28px;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.search-page-form {
  display: flex;
  max-width: 680px;
  gap: 12px;
  margin-top: 28px;
}

.search-page-form input {
  width: 100%;
  padding: 15px 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.search-page-form button {
  min-width: 104px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 164px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.rank-copy h2 {
  font-size: 1.15rem;
}

.rank-copy h2 a:hover {
  color: var(--cyan);
}

.rank-copy p {
  margin: 8px 0;
}

.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  font-weight: 800;
}

.detail-section {
  background: #f8fafc;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-video,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-video {
  z-index: 1;
  background: #000000;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 58%, #06b6d4);
}

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

.player-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.05);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.play-circle {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  font-size: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.detail-card,
.side-card {
  padding: 28px;
}

.detail-badges {
  margin-bottom: 18px;
}

.detail-badges a,
.detail-badges span {
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--blue);
  background: #eff6ff;
  font-size: 0.88rem;
  font-weight: 800;
}

.detail-card h2,
.side-card h2 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.detail-card h2:first-of-type,
.side-card h2:first-child {
  margin-top: 0;
}

.detail-card p {
  color: #374151;
}

.lead-text {
  font-weight: 800;
  color: var(--slate) !important;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
}

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

.detail-tags a {
  color: var(--cyan);
  background: #ecfeff;
}

.detail-side {
  display: grid;
  gap: 22px;
}

.side-card {
  position: sticky;
  top: 96px;
}

.detail-side .side-card + .side-card {
  position: static;
}

.side-list {
  display: grid;
  gap: 10px;
}

.side-more {
  display: inline-flex;
  margin-top: 18px;
}

.site-footer {
  color: #d1d5db;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 36px;
  padding: 56px 0 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.3rem;
}

.site-footer p {
  max-width: 560px;
  margin: 14px 0 0;
}

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

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

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

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

.footer-bottom {
  padding: 18px 16px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-card.is-hidden {
  display: none;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .split-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 760px;
    height: auto;
  }

  .hero-slide {
    min-height: 760px;
  }

  .hero-inner {
    padding: 70px 0 96px;
  }

  .hero-poster {
    max-width: 360px;
    transform: none;
  }

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

  .ranking-panel,
  .side-card {
    position: static;
  }
}

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

  .brand-text {
    font-size: 1rem;
  }

  .nav-wrap {
    min-height: 64px;
  }

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

  .hero-inner {
    gap: 30px;
    padding: 48px 0 88px;
  }

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

  .hero-control {
    display: none;
  }

  .section,
  .page-hero,
  .detail-top,
  .cta-band {
    padding: 52px 0;
  }

  .section-head,
  .search-page-form {
    display: grid;
    align-items: start;
  }

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

  .filter-bar {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .rank-row {
    grid-template-columns: 42px 96px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / -1;
    justify-self: start;
  }

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

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
