:root {
  --red: #dc2626;
  --orange: #ea580c;
  --blue: #2563eb;
  --green: #16a34a;
  --purple: #7c3aed;
  --pink: #db2777;
  --cyan: #0891b2;
  --amber: #d97706;
  --indigo: #4f46e5;
  --slate: #334155;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #f3f4f6;
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: #374151;
}

.desktop-nav > a,
.nav-group > a {
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-group:hover > a {
  color: var(--red);
}

.nav-group {
  position: relative;
  padding: 24px 0;
}

.nav-dropdown {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 190px;
  transform: translateX(-50%) translateY(10px);
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.nav-group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #4b5563;
}

.nav-dropdown a:hover {
  color: var(--red);
  background: #fef2f2;
}

.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input {
  width: 230px;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  transition: 0.2s ease;
  background: #ffffff;
}

.top-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.top-search button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.mobile-nav {
  display: none;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: #374151;
  font-weight: 700;
}

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

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hero-badge,
.page-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.32);
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.26);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-soft {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.82);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.section {
  padding: 64px 20px;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-dark {
  background: linear-gradient(135deg, #111827, #020617);
  color: #ffffff;
}

.section-head {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-head > div {
  flex: 1;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-line {
  width: 7px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--orange));
}

.section-line.blue {
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.section-line.green {
  background: linear-gradient(180deg, var(--green), #10b981);
}

.section-line.gold {
  background: linear-gradient(180deg, #facc15, var(--orange));
}

.section-link {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--red);
  background: #fef2f2;
  font-weight: 900;
}

.section-link.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #374151);
}

.movie-grid-featured .movie-poster {
  aspect-ratio: 16 / 9;
}

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

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.corner-label,
.duration-label,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.corner-label {
  top: 12px;
  left: 12px;
  background: var(--blue);
}

.duration-label {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.72);
}

.rank-badge {
  top: 12px;
  right: 12px;
  min-width: 34px;
  text-align: center;
  background: linear-gradient(135deg, #facc15, var(--orange));
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 950;
}

.movie-info h3 a {
  transition: color 0.2s ease;
}

.movie-info h3 a:hover {
  color: var(--blue);
}

.movie-info p {
  min-height: 44px;
  margin: 0 0 12px;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.movie-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f9fafb;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.category-grid,
.category-overview-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-tile,
.category-overview-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.category-overview-card {
  min-height: 310px;
}

.category-tile:before,
.category-overview-card:before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  right: -50px;
  top: -50px;
}

.category-tile strong,
.category-overview-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.category-tile p,
.category-overview-card p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.84);
}

.category-tile div,
.category-samples {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.category-samples a:hover {
  color: #fef3c7;
}

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

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

.tone-blue {
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
}

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

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

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

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

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

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

.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.rank-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 48px 90px 1fr 44px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.rank-number {
  color: #fbbf24;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

.rank-row img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  background: #111827;
}

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

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

.rank-text strong {
  color: #ffffff;
  font-size: 15px;
  font-style: normal;
}

.rank-text em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-style: normal;
}

.rank-score {
  color: #fbbf24;
  font-weight: 950;
}

.page-hero {
  min-height: 320px;
  padding: 76px 20px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(234, 88, 12, 0.72), transparent 36%), linear-gradient(135deg, #111827, #020617);
}

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

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.filter-panel {
  max-width: 1180px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-page-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #ffffff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  filter: blur(2px);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.35));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-poster {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  background: #111827;
}

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

.detail-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
}

.detail-main {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 30px;
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.36);
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 6;
  display: none;
  max-width: calc(100% - 32px);
  padding: 10px 13px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
}

.player-message.is-visible {
  display: block;
}

.content-card,
.side-card {
  margin-top: 22px;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: #6b7280;
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: #111827;
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-links a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f9fafb;
  color: #374151;
  font-weight: 800;
}

.side-links a:hover {
  color: var(--red);
  background: #fef2f2;
}

.search-page-form {
  max-width: 820px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.search-status {
  max-width: 1180px;
  margin: 0 auto 18px;
  color: #4b5563;
  font-weight: 800;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #020617);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 42px;
}

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

.footer-logo span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: 12px;
}

.footer-brand p {
  color: #9ca3af;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1f2937;
  color: #ffffff;
  font-weight: 900;
}

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

.footer-columns h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

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

.footer-columns a {
  color: #9ca3af;
  font-size: 14px;
}

.footer-columns a:hover {
  color: #f87171;
}

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

@media (max-width: 1120px) {
  .movie-grid,
  .movie-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .hero-carousel,
  .hero-content {
    min-height: 520px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-arrow {
    display: none;
  }

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

  .movie-grid,
  .movie-grid-featured,
  .category-grid,
  .category-overview-grid,
  .rank-grid,
  .rank-grid-wide,
  .footer-inner,
  .detail-inner,
  .detail-layout,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .detail-inner {
    padding: 40px 0;
  }

  .detail-poster {
    max-width: 300px;
  }

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

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
    padding: 0 14px;
  }

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

  .hero-content,
  .detail-inner {
    width: calc(100% - 28px);
  }

  .section,
  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions,
  .search-page-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .rank-row {
    grid-template-columns: 38px 78px 1fr;
  }

  .rank-score {
    display: none;
  }
}
