:root {
  --bg-start: #eff6ff;
  --bg-mid: #ffffff;
  --bg-end: #e0f2fe;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --cyan: #06b6d4;
  --text: #111827;
  --muted: #6b7280;
  --border: rgba(191, 219, 254, 0.72);
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.13), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--bg-start), var(--bg-mid) 34%, var(--bg-end));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(191, 219, 254, 0.76);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
}

.brand-name {
  font-size: 1.42rem;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 650;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary-dark);
  background: #eff6ff;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 310px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.68);
}

.header-search input,
.mobile-search input,
.filter-bar input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #eff6ff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #2563eb;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #eff6ff;
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  background: #f8fbff;
  font-weight: 650;
}

main {
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: min(100% - 32px, var(--container));
  margin: 28px auto 0;
  border-radius: 34px;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea, #06b6d4);
  box-shadow: 0 35px 80px rgba(37, 99, 235, 0.24);
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2), transparent 20rem);
  pointer-events: none;
}

.hero-track,
.hero-slide {
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 44px;
  padding: 74px clamp(28px, 6vw, 82px) 88px;
  opacity: 0;
  transform: translateX(22px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.28)),
    var(--hero-image) center / cover no-repeat;
  filter: blur(7px) saturate(1.05);
  transform: scale(1.04);
  opacity: 0.48;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 2;
}

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

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow,
.spotlight-panel .eyebrow {
  color: #dff8ff;
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  color: #dff8ff;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 820;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: #1d4ed8;
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-actions,
.intro-actions,
.centered-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-link,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.24);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 46px rgba(37, 99, 235, 0.3);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.ghost-button.light {
  color: #2563eb;
  border-color: var(--border);
  background: rgba(239, 246, 255, 0.82);
}

.ghost-button:hover,
.section-link:hover,
.rank-action:hover {
  transform: translateY(-2px);
}

.hero-poster {
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.72;
}

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

.section-block {
  width: min(100% - 32px, var(--container));
  margin: 44px auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading .eyebrow,
.compact-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.content-card h2,
.spotlight-panel h2 {
  margin: 0;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.035em;
}

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

.section-heading p,
.page-hero p,
.content-card p,
.spotlight-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.compact-heading {
  display: block;
  max-width: 780px;
}

.intro-panel,
.spotlight-panel,
.filter-panel,
.content-card,
.category-card,
.movie-card,
.rank-row {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.intro-panel,
.spotlight-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-xl);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 55px rgba(37, 99, 235, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #ecfeff);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: scale(0.85);
  transition: 0.22s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: scale(1);
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

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

.movie-meta-line,
.rank-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.84rem;
}

.movie-card h3 {
  margin: 8px 0 7px;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.32;
}

.movie-card h3 a:hover,
.rank-info h2 a:hover,
.category-sample-links a:hover,
.spotlight-links a:hover {
  color: var(--primary-dark);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.05em;
  margin: 0 0 12px;
  overflow: hidden;
  color: #6b7280;
  line-height: 1.52;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.is-compact .movie-card-body {
  padding: 12px;
}

.movie-card.is-compact h3 {
  font-size: 0.96rem;
}

.movie-card.is-compact p {
  display: none;
}

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

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

.category-card {
  padding: 22px;
  border-radius: 24px;
  transition: 0.24s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-main-link {
  display: flex;
  gap: 16px;
  align-items: center;
}

.category-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  font-size: 1.4rem;
  font-weight: 900;
}

.category-main-link strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.category-main-link em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.category-sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-sample-links a {
  padding: 7px 10px;
  color: #1d4ed8;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.page-hero {
  width: min(100% - 32px, var(--container));
  margin: 28px auto 0;
  padding: clamp(42px, 7vw, 86px);
  color: #ffffff;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #3b82f6, #06b6d4 45%, #667eea);
  box-shadow: 0 28px 65px rgba(37, 99, 235, 0.23);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.page-hero p {
  max-width: 760px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.centered-actions {
  justify-content: center;
}

.filter-panel {
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-xl);
}

.filter-bar {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-bar.single-filter {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.filter-bar input {
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid var(--border);
  color: #1d4ed8;
  padding: 9px 14px;
  border-radius: 999px;
  background: #eff6ff;
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.empty-state {
  display: none;
  margin: 24px 0 0;
  padding: 22px;
  color: #64748b;
  text-align: center;
  border-radius: 18px;
  background: #f8fbff;
}

.empty-state.is-visible {
  display: block;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 84px 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
}

.rank-cover {
  overflow: hidden;
  border-radius: 14px;
  background: #dbeafe;
}

.rank-cover img {
  width: 84px;
  height: 112px;
  object-fit: cover;
}

.rank-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.rank-action {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.spotlight-panel {
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 22rem),
    linear-gradient(135deg, #3b82f6, #06b6d4);
}

.spotlight-panel h2,
.spotlight-panel p {
  color: #ffffff;
}

.spotlight-links {
  min-width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spotlight-links a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.spotlight-links span,
.spotlight-links em {
  display: block;
}

.spotlight-links span {
  color: #ffffff;
  font-weight: 800;
}

.spotlight-links em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 0.88rem;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.52), rgba(37, 99, 235, 0.45)),
    var(--detail-image) center / cover no-repeat;
  filter: saturate(1.04);
  transform: scale(1.02);
}

.detail-container {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 38px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.75);
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster-card {
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.36);
}

.detail-poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.detail-one-line {
  max-width: 860px;
  margin: 18px 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
  line-height: 1.8;
}

.detail-meta span {
  color: rgba(255, 255, 255, 0.86);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.detail-tags {
  margin: 18px 0 24px;
}

.player-section {
  text-align: center;
}

.player-section .compact-heading {
  margin: 0 auto 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.42);
  font-size: 2rem;
}

.player-start {
  margin-top: 18px;
}

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

.content-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-xl);
}

.content-card h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.content-card p + p {
  margin-top: 12px;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(191, 219, 254, 0.76);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0.94));
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 28px;
  padding: 44px 0 30px;
}

.footer-brand p {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 1rem;
}

.footer-column a {
  color: #4b5563;
}

.footer-column a:hover {
  color: #2563eb;
}

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(191, 219, 254, 0.68);
}

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

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

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

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

  .hero-poster {
    display: none;
  }
}

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

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

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

  .hero-slide {
    padding: 54px 24px 88px;
  }

  .section-heading,
  .intro-panel,
  .spotlight-panel,
  .detail-content,
  .footer-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .intro-panel,
  .spotlight-panel {
    display: grid;
  }

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

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

  .rank-number,
  .rank-action {
    grid-column: span 1;
  }

  .rank-cover img {
    width: 70px;
    height: 96px;
  }

  .detail-poster-card {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .hero-carousel {
    width: min(100% - 20px, var(--container));
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .large-category-grid,
  .spotlight-links {
    grid-template-columns: 1fr;
  }

  .section-block,
  .page-hero,
  .detail-container,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 20px, var(--container));
  }

  .page-hero {
    border-radius: 24px;
  }

  .mobile-links {
    grid-template-columns: 1fr;
  }
}
