:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --surface-strong: #0f172a;
  --text: #152033;
  --muted: #667085;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-deep: #0f3d7a;
  --accent: #06b6d4;
  --accent-soft: #e0f7ff;
  --danger: #ef4444;
  --gold: #f59e0b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(37, 99, 235, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.16), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 46%, #eef3fb 100%);
  color: var(--text);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 61, 122, 0.98), rgba(15, 23, 42, 0.98));
  color: #ffffff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(6, 182, 212, 0.28);
}

.brand-text {
  font-size: 1.22rem;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.96rem;
}

.desktop-nav a,
.nav-dropdown > button {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
  color: #67e8f9;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 180px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: var(--shadow);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #1f2937;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(300px, 28vw);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 8px 12px;
  outline: none;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.header-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #0f3d7a;
  background: #ffffff;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav a {
  display: block;
  padding: 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #123f86 54%, #06b6d4 100%);
  color: #ffffff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.35;
}

.hero::before {
  width: 340px;
  height: 340px;
  left: -110px;
  top: 40px;
  background: #22d3ee;
}

.hero::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -80px;
  background: #3b82f6;
}

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

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

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.42) 100%),
    var(--hero-image) center / cover no-repeat;
  opacity: 0.58;
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 50px;
  padding: 70px 0 92px;
}

.hero-kicker,
.section-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 26px;
  color: rgba(239, 246, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions,
.card-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button-primary,
.button-secondary,
.button-soft,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary,
.search-button {
  background: #ffffff;
  color: #0f3d7a;
  box-shadow: 0 16px 32px rgba(255, 255, 255, 0.18);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
}

.button-soft {
  color: var(--brand-dark);
  background: var(--surface-soft);
  border-color: rgba(37, 99, 235, 0.12);
}

.button-primary:hover,
.button-secondary:hover,
.button-soft:hover,
.search-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-cover {
  width: 100%;
  aspect-ratio: 2 / 2.65;
  object-fit: cover;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.52), rgba(6, 182, 212, 0.46));
}

.hero-panel-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.86));
  color: #ffffff;
}

.hero-panel-caption strong {
  display: block;
  font-size: 1.22rem;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  width: min(100% - 32px, var(--max));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero-arrows {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

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

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.35rem;
}

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

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

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

.page-hero,
.search-hero {
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at right top, rgba(103, 232, 249, 0.24), transparent 28rem),
    linear-gradient(135deg, #0f172a, #0f3d7a 54%, #0e7490);
  color: #ffffff;
}

.page-hero h1,
.search-hero h1 {
  margin: 12px 0 14px;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.12;
}

.page-hero p,
.search-hero p {
  max-width: 820px;
  color: rgba(239, 246, 255, 0.86);
  margin: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.stat-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.65rem;
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 70px 0;
}

.section-tight {
  padding: 46px 0;
}

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

.section-heading h2 {
  margin: 8px 0 6px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.14;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.section-more {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(6, 182, 212, 0.18));
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 2.8;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.movie-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.82));
}

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

.movie-badge {
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  background: rgba(239, 68, 68, 0.92);
}

.movie-play {
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  transition: 0.25s ease;
}

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

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

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

.movie-meta-line span,
.movie-meta-line strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.movie-meta-line strong {
  color: var(--gold);
}

.movie-card h3 {
  margin: 8px 0 8px;
  color: #101828;
  font-size: 1.05rem;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-content h3 a:hover {
  color: var(--brand-dark);
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

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

.chip-row,
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #edf7ff);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -48px;
  top: -42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.16));
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.category-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.category-card strong {
  color: var(--brand-dark);
}

.category-preview {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.category-preview img {
  width: 54px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface-soft);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
}

.rank-thumb img {
  width: 92px;
  height: 122px;
  object-fit: cover;
  border-radius: 15px;
  background: var(--surface-soft);
}

.rank-content h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.rank-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.sidebar-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.sidebar-card {
  padding: 20px;
  position: sticky;
  top: 92px;
}

.sidebar-card h2,
.content-card h2 {
  margin: 0 0 16px;
  font-size: 1.22rem;
}

.content-card {
  padding: 26px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-hero {
  padding: 46px 0 54px;
  background:
    radial-gradient(circle at right top, rgba(6, 182, 212, 0.24), transparent 28rem),
    linear-gradient(135deg, #0f172a, #0f3d7a 60%, #0e7490);
  color: #ffffff;
}

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

.detail-cover-card {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.detail-cover-card img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.05;
}

.detail-copy p {
  color: rgba(239, 246, 255, 0.88);
  margin: 0 0 20px;
}

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

.detail-meta-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-meta-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
}

.player-section {
  padding: 54px 0;
  background: #0b1120;
}

.player-wrap {
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

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

.player-stage video,
.player-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.78)),
    var(--player-poster) center / cover no-repeat;
  text-align: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay button {
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  color: #0f3d7a;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(255, 255, 255, 0.16);
}

.player-overlay strong {
  display: block;
  margin-top: 14px;
  font-size: 1.15rem;
}

.player-message {
  min-height: 24px;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.76);
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content {
  display: grid;
  gap: 22px;
}

.article-content p {
  margin: 0;
  color: #344054;
  font-size: 1.02rem;
}

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

.info-list li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.info-list span {
  color: var(--muted);
}

.search-panel,
.filter-panel {
  margin-top: -34px;
  position: relative;
  z-index: 3;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-panel form,
.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(130px, 0.22fr)) auto;
  gap: 12px;
}

.search-panel input,
.search-panel select,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.search-panel input:focus,
.search-panel select:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.empty-state {
  padding: 40px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0 38px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

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

  .hero-carousel,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 52px 0 96px;
  }

  .hero-panel {
    display: none;
  }

  .hero-controls {
    bottom: 20px;
  }

  .stat-strip,
  .detail-meta-grid,
  .movie-grid,
  .movie-grid.small-grid,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 12px;
  }

  .rank-item {
    grid-template-columns: 42px 72px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .rank-thumb img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
  }

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

  .content-card {
    padding: 20px;
  }
}
