:root {
  color-scheme: light;
  --sky: #0ea5e9;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --rose: #f43f5e;
  --violet: #7c3aed;
  --slate: #0f172a;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --soft: #f8fafc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 30px 70px rgba(15, 23, 42, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ecfeff 0%, #ffffff 38%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, #0ea5e9, #2563eb 50%, #06b6d4);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.28);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(8, 47, 73, 0.2);
  font-size: 22px;
}

.brand-text {
  font-size: 20px;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

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

.nav-link,
.dropdown-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.dropdown-button:hover {
  color: #083344;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 210px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
  font-weight: 650;
}

.dropdown-menu a:hover {
  background: #e0f2fe;
  color: #0369a1;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.header-search input,
.filter-input,
.hero-search input {
  width: 250px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.header-search button,
.hero-search button,
.primary-button,
.secondary-button,
.play-overlay,
.filter-button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
  min-height: 40px;
  padding: 0 16px;
  color: #075985;
  background: #ffffff;
}

.header-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.hero-search button:hover,
.play-overlay:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 560px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #06b6d4, #2563eb 52%, #7c3aed);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transition: opacity 0.65s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(14, 116, 144, 0.94), rgba(37, 99, 235, 0.78), rgba(15, 23, 42, 0.64));
}

.hero-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 14px;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.05em;
}

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

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #075985;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.primary-button {
  color: #075985;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(8, 47, 73, 0.24);
}

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

.hero-card {
  align-self: stretch;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.hero-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.hero-card-info {
  padding: 20px;
}

.hero-card-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.25;
}

.hero-card-info span {
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

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

.hero-search-panel {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 42px;
  padding: 22px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-search button,
.filter-button {
  min-height: 52px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 14px;
  font-weight: 800;
}

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

.section {
  padding: 34px 0;
}

.section-heading,
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.page-heading h1,
.content-panel h2,
.aside-panel h2 {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-heading h2,
.content-panel h2,
.aside-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.page-heading h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.section-heading p,
.page-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.more-link {
  color: #0369a1;
  font-weight: 850;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 35px 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(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.movie-card-portrait .poster-frame {
  aspect-ratio: 3 / 4;
}

.poster-frame img,
.compact-card img,
.rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-frame img,
.compact-card:hover img,
.rank-item:hover img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 23, 42, 0.7));
}

.poster-badge,
.poster-year,
.poster-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.poster-badge {
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #075985;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 850;
}

.poster-year {
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #075985;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.movie-card-body strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body em,
.movie-card-body span,
.movie-card-body small {
  display: block;
  margin-top: 8px;
  font-style: normal;
}

.movie-card-body em {
  color: #0284c7;
  font-size: 13px;
  font-weight: 800;
}

.movie-card-body span {
  min-height: 42px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.movie-card-body small {
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.category-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  opacity: 0.42;
  filter: saturate(1.12);
  transition: transform 0.35s ease;
}

.category-tile:hover .category-bg {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.88), rgba(37, 99, 235, 0.88));
}

.gradient-purple::after {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.88), rgba(236, 72, 153, 0.88));
}

.gradient-rose::after {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.88), rgba(236, 72, 153, 0.88));
}

.gradient-orange::after {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(245, 158, 11, 0.88));
}

.gradient-cyan::after {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(14, 165, 233, 0.88));
}

.gradient-amber::after {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.9), rgba(245, 158, 11, 0.88));
}

.gradient-indigo::after {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(124, 58, 237, 0.88));
}

.gradient-green::after,
.gradient-emerald::after {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.9), rgba(16, 185, 129, 0.88));
}

.gradient-blue::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.88));
}

.category-content {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
}

.category-content strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 900;
}

.category-content em {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ranking-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.14);
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.rank-no {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ec4899);
  font-weight: 950;
}

.rank-item img {
  width: 74px;
  height: 54px;
  border-radius: 14px;
  background: #e0f2fe;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: #0f172a;
  font-weight: 900;
}

.rank-info em {
  margin-top: 5px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
}

.rank-heat {
  color: #f97316;
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  padding: 70px 0 46px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(90deg, #0ea5e9, #2563eb 50%, #7c3aed);
}

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

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.page-main {
  padding: 42px 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-input {
  flex: 1;
  min-width: 240px;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.empty-state {
  display: none;
  padding: 42px 20px;
  border-radius: 24px;
  color: #64748b;
  background: #ffffff;
  text-align: center;
}

.detail-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  color: #ffffff;
  background-position: center;
  background-size: cover;
  position: relative;
  isolation: isolate;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(14, 116, 144, 0.72), rgba(37, 99, 235, 0.54));
}

.detail-hero-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-hero p {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-weight: 850;
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  padding: 36px 0 58px;
}

.player-card,
.content-panel,
.aside-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.player-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  background: #020617;
}

.player-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 82px;
  height: 82px;
  color: #075985;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  transform: translate(-50%, -50%);
  font-size: 24px;
}

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

.content-panel {
  padding: 26px;
  margin-bottom: 24px;
}

.content-panel h2 {
  margin-bottom: 14px;
}

.content-panel p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.content-panel p + p {
  margin-top: 16px;
}

.aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.aside-panel {
  padding: 18px;
}

.aside-panel h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.compact-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: #e0f2fe;
  transform: translateX(3px);
}

.compact-card img {
  width: 76px;
  height: 58px;
  border-radius: 13px;
  background: #e0f2fe;
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card strong {
  color: #0f172a;
  font-weight: 900;
}

.compact-card em {
  margin-top: 5px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
}

.info-list {
  display: grid;
  gap: 10px;
  color: #334155;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.info-list span {
  color: #64748b;
}

.site-footer {
  color: #e5e7eb;
  background: linear-gradient(180deg, #1f2937, #0f172a);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 22px;
}

.footer-logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.footer-brand p,
.footer-column p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.75;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

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

.footer-column a {
  color: #cbd5e1;
}

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

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-strong);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .dropdown-button {
    justify-content: center;
    color: #0f172a;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
  }

  .header-search {
    background: #e0f2fe;
  }

  .header-search input {
    width: 100%;
  }

  .hero-shell,
  .detail-main {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

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

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

  .ranking-panel,
  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 17px;
  }

  .hero {
    min-height: 620px;
  }

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

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

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

  .rank-item {
    grid-template-columns: 38px 64px minmax(0, 1fr);
  }

  .rank-heat {
    display: none;
  }

  .detail-hero {
    min-height: 480px;
  }
}
