:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-300: #cbd5e1;
  --secondary-500: #64748b;
  --secondary-600: #475569;
  --secondary-700: #334155;
  --secondary-800: #1e293b;
  --secondary-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.09);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--secondary-900);
  background: linear-gradient(180deg, var(--secondary-50), var(--white));
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button,
a,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  transition: background-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.site-header.is-scrolled,
.site-header-solid {
  color: var(--secondary-900);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.35);
  font-size: 14px;
  padding-left: 2px;
}

.brand-text {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
  background: rgba(224, 242, 254, 0.9);
}

.site-header:not(.is-scrolled):not(.site-header-solid) .nav-link:hover,
.site-header:not(.is-scrolled):not(.site-header-solid) .nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.header-search {
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.site-header.is-scrolled .header-search,
.site-header-solid .header-search {
  background: var(--secondary-50);
  border-color: var(--secondary-200);
}

.header-search input {
  width: 190px;
  padding: 9px 12px 9px 16px;
  border: 0;
  color: inherit;
  background: transparent;
  outline: none;
}

.header-search input::placeholder {
  color: currentColor;
  opacity: 0.68;
}

.header-search button,
.large-search button,
.hero-search-panel button {
  border: 0;
  color: var(--white);
  background: var(--primary-600);
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.header-search button:hover,
.large-search button:hover,
.hero-search-panel button:hover {
  background: var(--primary-700);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero-carousel {
  position: relative;
  height: 80vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--secondary-900);
}

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

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

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5.8s ease;
}

.hero-slide.active > img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 32%, rgba(2, 132, 199, 0.42), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
  padding: 70px 0 150px;
}

.hero-kicker,
.page-hero-inner > span,
.ranking-copy > span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary-100);
  background: rgba(2, 132, 199, 0.78);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 22px 0 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-content p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-tags {
  margin: 24px 0 0;
}

.hero-tags span,
.detail-tags span,
.tag-list span,
.ranking-extra span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

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

.btn-primary {
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: var(--primary-700);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

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

.hero-search-panel {
  position: absolute;
  left: 50%;
  bottom: 72px;
  z-index: 3;
  width: min(900px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.48);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.hero-search-panel form,
.large-search {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: var(--white);
}

.hero-search-panel input,
.large-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 14px 18px;
  color: var(--secondary-900);
  background: transparent;
  outline: none;
}

.hero-category-pills {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.hero-category-pills a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.content-section,
.category-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--secondary-600);
  line-height: 1.8;
}

.text-light h2,
.text-light p {
  color: var(--white);
}

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 800;
}

.more-link.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--secondary-200);
}

.movie-card-small .poster-link {
  aspect-ratio: 3 / 4;
}

.poster-link img,
.category-card img,
.ranking-poster img,
.aside-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 132, 199, 0.88);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  background: rgba(15, 23, 42, 0.78);
}

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

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--secondary-500);
  font-size: 13px;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: var(--secondary-900);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.movie-card-small h3 {
  font-size: 17px;
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--secondary-600);
  line-height: 1.65;
  font-size: 14px;
}

.tag-list span,
.detail-tags span,
.ranking-extra span {
  color: var(--secondary-700);
  background: var(--secondary-50);
  border-color: var(--secondary-200);
}

.trending-section {
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(120deg, var(--primary-600), var(--primary-700));
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 280px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.category-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: var(--secondary-900);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.9));
}

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

.category-card span,
.category-card h3,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.ranking-block {
  padding: 72px 16px;
  background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.18), transparent 25%), var(--secondary-900);
}

.ranking-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.ranking-copy h2 {
  margin: 20px 0 14px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.ranking-copy p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
  margin: 0 0 26px;
}

.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-rank-list {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-rank-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.compact-rank-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  color: var(--white);
}

.rank-number {
  color: var(--primary-100);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--primary-100);
  font-weight: 900;
  text-align: right;
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  position: relative;
  min-height: 330px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(14, 165, 233, 0.25), transparent 26%),
    linear-gradient(120deg, var(--secondary-900), #0b1220 55%, var(--primary-700));
  display: flex;
  align-items: center;
}

.page-hero-soft {
  color: var(--secondary-900);
  background:
    radial-gradient(circle at 18% 24%, rgba(14, 165, 233, 0.2), transparent 28%),
    linear-gradient(180deg, var(--primary-50), var(--white));
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.page-hero-soft .page-hero-inner > span {
  color: var(--white);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: inherit;
  opacity: 0.78;
  line-height: 1.8;
  font-size: 18px;
}

.large-search {
  width: min(680px, 100%);
  margin-top: 28px;
  box-shadow: var(--shadow-card);
}

.filter-panel {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  border: 1px solid var(--secondary-200);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  background: var(--secondary-50);
}

.filter-panel input {
  flex: 1;
  min-width: 0;
}

.filter-panel select {
  width: 180px;
}

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

.ranking-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 160px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-poster {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: var(--secondary-200);
}

.ranking-number-large {
  color: var(--primary-600);
  font-size: 36px;
  font-weight: 900;
  text-align: center;
}

.ranking-info h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.ranking-info p {
  margin: 0 0 14px;
  color: var(--secondary-600);
  line-height: 1.75;
}

.movie-detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 24px 0 18px;
  color: var(--secondary-600);
  font-size: 14px;
}

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

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

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

.player-card,
.detail-card,
.aside-poster-card,
.aside-links {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-area {
  position: relative;
  overflow: hidden;
  background: var(--secondary-900);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.58));
  cursor: pointer;
}

.player-start span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding-left: 6px;
  background: rgba(2, 132, 199, 0.9);
  box-shadow: 0 16px 48px rgba(2, 132, 199, 0.5);
  font-size: 34px;
}

.player-area.is-playing .player-start {
  display: none;
}

.player-message {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: none;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
}

.player-area.has-error .player-message {
  display: block;
}

.detail-card {
  padding: 28px;
}

.detail-kicker {
  color: var(--primary-700);
  font-weight: 800;
  margin-bottom: 10px;
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.one-line {
  margin: 0 0 20px;
  color: var(--primary-700);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

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

.detail-meta-grid div {
  padding: 14px;
  border-radius: 16px;
  background: var(--secondary-50);
}

.detail-meta-grid strong {
  display: block;
  color: var(--secondary-500);
  font-size: 13px;
  margin-bottom: 6px;
}

.detail-meta-grid span {
  font-weight: 850;
}

.article-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--secondary-200);
}

.article-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
}

.article-section p {
  margin: 0;
  color: var(--secondary-700);
  line-height: 1.95;
}

.review-box p {
  padding: 18px;
  border-radius: 16px;
  background: var(--secondary-50);
}

.detail-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.aside-poster-card img {
  aspect-ratio: 3 / 4;
  background: var(--secondary-200);
}

.aside-poster-card div {
  padding: 18px;
}

.aside-poster-card span {
  color: var(--primary-700);
  font-weight: 900;
}

.aside-poster-card h2 {
  margin: 8px 0;
  font-size: 22px;
  font-weight: 900;
}

.aside-poster-card p {
  margin: 0;
  color: var(--secondary-600);
}

.aside-links {
  padding: 18px;
}

.aside-links h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}

.aside-links a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--secondary-200);
  color: var(--primary-700);
  font-weight: 800;
}

.related-section {
  width: 100%;
  padding-top: 46px;
}

.site-footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--secondary-900);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  max-width: 420px;
  line-height: 1.8;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
}

.footer-group li {
  margin: 9px 0;
}

.footer-group a:hover {
  color: var(--primary-100);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

.is-hidden {
  display: none !important;
}

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

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

  .site-header.menu-open .main-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 22px;
    color: var(--secondary-900);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }

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

  .detail-layout,
  .ranking-inner,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

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

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

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

  .hero-content {
    padding-top: 98px;
    padding-bottom: 260px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-search-panel {
    bottom: 56px;
  }

  .hero-search-panel form,
  .large-search,
  .filter-panel,
  .section-heading-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-panel select {
    width: 100%;
  }

  .content-section,
  .category-strip {
    padding: 46px 0;
  }

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

  .ranking-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .ranking-number-large {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 26px;
  }

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

  .detail-card {
    padding: 20px;
  }

  .footer-shell {
    padding: 38px 0;
  }
}
