:root {
  --color-primary: #ef4444;
  --color-primary-dark: #dc2626;
  --color-orange: #f97316;
  --color-yellow: #facc15;
  --color-green: #10b981;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-soft: #f9fafb;
  --color-border: #e5e7eb;
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 22px 55px rgba(17, 24, 39, 0.16);
  --radius-lg: 18px;
  --radius-xl: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.32);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-primary);
}

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

.nav-search input,
.mobile-panel input,
.big-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  width: 230px;
  padding: 10px 16px;
}

.nav-search button,
.mobile-panel button,
.big-search button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button {
  padding: 10px 16px;
}

.nav-search input:focus,
.mobile-panel input:focus,
.big-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.nav-search button:hover,
.mobile-panel button:hover,
.big-search button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 9px 12px;
  color: #111827;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding: 18px 16px 22px;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-panel input {
  flex: 1;
  padding: 11px 14px;
}

.mobile-panel button {
  padding: 11px 16px;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 48%, #fefce8 100%);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.26;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-one {
  left: -120px;
  top: -130px;
  background: #f87171;
}

.hero-glow-two {
  right: -130px;
  bottom: -160px;
  background: #fb923c;
  animation-delay: 1.8s;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

.hero-inner {
  position: relative;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: center;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.55s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: var(--color-primary);
  background: #fee2e2;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 680px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(17, 24, 39, 0.07);
}

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

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

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

.btn-primary {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
}

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

.btn-soft,
.btn-ghost {
  background: #fff;
  color: #374151;
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.08);
}

.btn-ghost {
  color: var(--color-primary);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow-strong);
}

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

.hero-poster:hover img {
  transform: scale(1.055);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.9));
}

.hero-poster span,
.hero-poster strong,
.hero-poster em {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
}

.hero-poster span {
  bottom: 116px;
  width: fit-content;
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
}

.hero-poster strong {
  bottom: 70px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
}

.hero-poster em {
  bottom: 28px;
  color: #e5e7eb;
  font-style: normal;
  font-size: 14px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  color: #374151;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--color-primary);
}

.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

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

.stats-grid a {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 104px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff5f5, #fff7ed);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stats-grid strong {
  color: var(--color-primary);
  font-size: 34px;
  line-height: 1;
}

.stats-grid span {
  color: #4b5563;
  font-weight: 700;
}

.section {
  padding: 72px 0;
  background: #fff;
}

.bg-muted {
  background: #f9fafb;
}

.bg-warm {
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

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

.section-head h2,
.tag-cloud-wrap h2 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.28);
  box-shadow: var(--shadow-soft);
}

.movie-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111827;
}

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

.movie-card:hover .movie-thumb img,
.category-card:hover img,
.mini-card:hover img,
.rank-row:hover img {
  transform: scale(1.08);
}

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.03), rgba(17, 24, 39, 0.68));
  transition: opacity 0.22s ease;
}

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

.movie-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.36;
}

.movie-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  min-height: 46px;
  color: #1f2937;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card h3 a:hover {
  color: var(--color-primary);
}

.movie-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #6b7280;
  font-size: 13px;
}

.movie-card-list {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.movie-thumb-list {
  height: 100%;
  min-height: 150px;
  aspect-ratio: auto;
}

.movie-card-list .movie-card-body {
  padding: 20px;
}

.movie-card-list h3 a {
  min-height: auto;
  font-size: 20px;
  -webkit-line-clamp: 1;
}

.movie-card-list p {
  min-height: 48px;
  -webkit-line-clamp: 2;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span {
  background: #f9fafb;
  box-shadow: none;
}

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

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  overflow: hidden;
  align-items: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f9fafb, #fff);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card img {
  width: 150px;
  height: 108px;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

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

.tag-cloud-wrap {
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.tag-cloud a {
  border-radius: 999px;
  background: #fff;
  color: #374151;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tag-cloud a:hover {
  color: #fff;
  background: var(--color-primary);
  transform: translateY(-2px);
}

.page-hero {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316 62%, #fb7185);
}

.page-hero .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.page-hero h1 {
  max-width: 850px;
  margin: 16px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
}

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

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.crumb a:hover {
  color: #fff;
}

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

.category-overview-card {
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.category-overview-head span {
  font-size: 23px;
  font-weight: 850;
}

.category-overview-head a {
  color: var(--color-primary);
  font-weight: 800;
}

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

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

.mini-card {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 1 / 0.75;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.mini-card span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 30px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 15px;
}

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

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

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-orange));
  font-weight: 900;
}

.rank-cover {
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
}

.rank-cover img {
  width: 128px;
  height: 86px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rank-row h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.rank-row p {
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: 14px;
}

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

.ranking-side h2,
.side-panel h2 {
  margin: 0;
  font-size: 22px;
}

.mini-list {
  display: grid;
  gap: 12px;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.mini-list .mini-card {
  grid-template-columns: 78px 1fr;
  align-items: center;
}

.mini-list .mini-card img {
  width: 78px;
  height: 58px;
}

.big-search {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 26px;
}

.big-search input {
  flex: 1;
  padding: 15px 20px;
}

.big-search button {
  padding: 15px 28px;
}

.detail-section {
  padding: 38px 0 70px;
}

.detail-section .crumb {
  color: #6b7280;
}

.detail-section .crumb a:hover {
  color: var(--color-primary);
}

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

.player-card,
.side-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.player-box video {
  width: 100%;
  height: 100%;
  background: #050505;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #050505;
  padding: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 0.35s ease;
}

.player-overlay:hover img {
  transform: scale(1.035);
}

.play-circle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: #fff;
  background: rgba(239, 68, 68, 0.95);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
  font-size: 30px;
  padding-left: 4px;
}

.detail-content {
  padding: 28px;
}

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

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

.detail-meta span {
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 750;
}

.lead-text {
  margin: 0 0 24px;
  color: #374151;
  font-size: 18px;
  font-weight: 650;
}

.detail-content h2 {
  margin: 26px 0 10px;
  font-size: 24px;
}

.detail-content p {
  color: #4b5563;
  font-size: 16px;
}

.detail-tags {
  margin-top: 26px;
}

.detail-tags a {
  background: #fff1f2;
  color: var(--color-primary);
  box-shadow: none;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-nav a {
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  padding: 10px 15px;
  font-weight: 800;
}

.detail-nav a:hover {
  color: #fff;
  background: var(--color-primary);
}

.detail-side {
  display: grid;
  gap: 20px;
}

.side-panel {
  padding: 20px;
}

.side-panel h2 {
  margin-bottom: 15px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
}

.info-list dt {
  color: #6b7280;
}

.info-list dd {
  margin: 0;
  color: #111827;
  font-weight: 750;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding: 50px 0;
}

.footer-brand {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.site-footer a:hover {
  color: #fff;
}

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

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

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

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

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

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

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

  .hero {
    padding-top: 44px;
  }

  .hero-slide {
    gap: 28px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 320px;
  }

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

  .movie-card-list {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .search-filters {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 92px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-cover img {
    width: 92px;
    height: 68px;
  }

  .detail-side {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions,
  .big-search,
  .mobile-panel form {
    flex-direction: column;
  }

  .stats-grid,
  .movie-grid,
  .list-grid,
  .category-grid,
  .category-overview-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

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

  .category-card img {
    width: 100%;
    height: 180px;
  }

  .section-head {
    display: block;
  }

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

  .rank-num {
    width: 42px;
    height: 42px;
  }

  .rank-cover img {
    width: 100%;
    height: 170px;
  }

  .detail-content,
  .side-panel {
    padding: 18px;
  }

  .play-circle {
    width: 64px;
    height: 64px;
    font-size: 23px;
  }
}
