:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1e3a8a;
  --cyan: #22d3ee;
  --card: #ffffff;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 52%, #0f172a 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 18px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38);
}

.brand-text {
  font-size: 21px;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link,
.menu-button,
.icon-button {
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.nav-link,
.menu-button {
  transition: color 0.2s ease;
}

.nav-link:hover,
.menu-button:hover,
.icon-button:hover {
  color: #60a5fa;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 178px;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s ease;
}

.dropdown-panel a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.mobile-toggle {
  display: none;
}

.search-panel,
.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

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

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input,
.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  color: #0f172a;
  background: #ffffff;
  transition: 0.2s ease;
}

.search-panel .search-form input {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.search-form input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.btn,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.22s ease;
  white-space: nowrap;
}

.btn-primary,
.search-form button {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover,
.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

.btn-light {
  color: #1e3a8a;
  background: #ffffff;
}

.btn-ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.52);
  background: rgba(30, 64, 175, 0.36);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mobile-panel nav {
  display: grid;
  gap: 10px;
}

.mobile-panel a {
  padding: 9px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #172554 0%, #1d4ed8 56%, #0891b2 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 24%, rgba(103, 232, 249, 0.24), transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(59, 130, 246, 0.26), transparent 28%);
  opacity: 0.82;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 52px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 18px 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #a5f3fc;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: #67e8f9;
}

.hero p {
  max-width: 660px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-picks a {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.2s ease;
}

.hero-picks a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 350px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.3);
  box-shadow: 0 28px 70px rgba(8, 47, 73, 0.35);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.48s ease, transform 0.48s ease;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.1) 60%, rgba(2, 6, 23, 0.18));
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 28px;
}

.hero-caption h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
}

.hero-caption p {
  display: -webkit-box;
  margin: 0 0 14px;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-badge,
.card-badge,
.rank-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.hero-badge {
  margin-bottom: 10px;
  background: #ef4444;
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

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

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

.section {
  padding: 62px 18px;
}

.section.alt-orange {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.section.alt-green {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.section.alt-yellow {
  background: linear-gradient(135deg, #fefce8, #fffbeb);
}

.section.alt-dark {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0f172a);
}

.section.white {
  background: #ffffff;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

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

.section-title {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.section.alt-dark .section-desc {
  color: #bfdbfe;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 800;
  white-space: nowrap;
}

.section.alt-dark .more-link {
  color: #67e8f9;
}

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

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

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

.movie-card,
.wide-card,
.category-tile,
.rank-row,
.detail-card,
.related-panel,
.filter-panel {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

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

.movie-card a,
.wide-card a {
  display: block;
  height: 100%;
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.card-media img,
.wide-card img,
.related-card img,
.rank-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .card-media img,
.wide-card:hover img,
.related-card:hover img,
.rank-row:hover img {
  transform: scale(1.08);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-media::after {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  border-radius: 8px;
}

.play-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: 0.25s ease;
}

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

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  margin: 0 0 8px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card:hover .card-title,
.wide-card:hover h3,
.related-card:hover h3,
.rank-row:hover h3 {
  color: #2563eb;
}

.card-text {
  display: -webkit-box;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f1f5f9;
}

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

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

.wide-card a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
}

.wide-media {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  background: #0f172a;
}

.wide-body {
  padding: 18px;
}

.wide-body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
  transition: color 0.2s ease;
}

.wide-body p {
  display: -webkit-box;
  margin: 0 0 14px;
  color: #64748b;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 180px;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile::after {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  right: -40px;
  bottom: -42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile h2,
.category-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.category-tile span {
  position: relative;
  z-index: 1;
  font-weight: 800;
}

.tone-warm {
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

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

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

.tone-pink {
  background: linear-gradient(135deg, #db2777, #7c3aed);
}

.tone-slate {
  background: linear-gradient(135deg, #0f172a, #334155);
}

.tone-red {
  background: linear-gradient(135deg, #dc2626, #f97316);
}

.tone-yellow {
  background: linear-gradient(135deg, #ca8a04, #f59e0b);
}

.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #06b6d4);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 18px;
}

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

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

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 76px 180px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-index {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  color: #ffffff;
  background: linear-gradient(135deg, #dc2626, #f97316);
  font-size: 22px;
  font-weight: 900;
}

.rank-cover {
  height: 112px;
  overflow: hidden;
  background: #0f172a;
}

.rank-body {
  padding: 16px 18px;
}

.rank-body h2,
.rank-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  transition: color 0.2s ease;
}

.rank-body p {
  display: -webkit-box;
  margin: 0 0 10px;
  color: #64748b;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-page {
  background: #f8fafc;
}

.detail-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 18px 64px;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.detail-breadcrumb a:hover {
  color: #2563eb;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.26);
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #000000;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.14), rgba(2, 6, 23, 0.58));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.32);
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

.player-cover:hover .player-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.detail-card {
  margin-top: 24px;
  padding: 26px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
}

.detail-category {
  display: inline-flex;
  margin: 18px 0 20px;
  border-radius: 999px;
  padding: 9px 14px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  font-size: 14px;
  font-weight: 800;
}

.detail-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

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

.detail-section p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.86;
}

.review-box {
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  color: #334155;
  background: #f1f5f9;
  font-size: 14px;
}

.related-panel {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.related-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}

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

.related-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-cover {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.related-card h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.related-card p {
  display: -webkit-box;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-empty {
  padding: 48px 20px;
  border-radius: 22px;
  color: #64748b;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

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

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 900;
}

.footer-wrap p,
.footer-wrap a {
  color: #94a3b8;
  line-height: 1.75;
  font-size: 14px;
}

.footer-wrap a:hover {
  color: #60a5fa;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

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

@media (max-width: 1024px) {
  .hero-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 330px;
  }

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

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

  .related-panel {
    position: static;
  }
}

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

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

  .hero-inner {
    padding: 56px 18px;
    gap: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-slide img {
    height: 300px;
  }

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

  .wide-card a,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .wide-media,
  .rank-cover {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

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

  .section-head,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

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

  .search-form {
    flex-direction: column;
  }

  .detail-card,
  .related-panel {
    padding: 20px;
  }

  .player-button {
    width: 66px;
    height: 66px;
  }
}
