:root {
  --site-red: #dc2626;
  --site-red-dark: #b91c1c;
  --site-orange: #f97316;
  --site-bg: #f9fafb;
  --site-text: #111827;
  --site-muted: #6b7280;
  --site-line: #e5e7eb;
  --site-dark: #111827;
  --site-card: #ffffff;
  --site-radius: 18px;
  --site-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--site-bg);
  color: var(--site-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

img.image-missing {
  opacity: 0;
}

.site-header {
  backdrop-filter: saturate(180%) blur(12px);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-icon,
.footer-brand span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  color: #1f2937;
}

.brand-text small {
  margin-top: 3px;
  color: var(--site-muted);
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--site-red);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 320px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  box-shadow: var(--site-shadow);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 80;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 4px);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

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

.header-search {
  width: min(320px, 26vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #f3f4f6;
  border-radius: 999px;
}

.header-search input,
.mobile-panel input,
.big-search input,
.page-search-form input,
.list-tools input {
  width: 100%;
  outline: none;
  background: transparent;
  color: var(--site-text);
}

.header-search input {
  padding: 7px 8px 7px 14px;
}

.header-search button,
.big-search button,
.page-search-form button,
.mobile-panel button {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 16px;
  color: #ffffff;
  background: var(--site-red);
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.header-search button:hover,
.big-search button:hover,
.page-search-form button:hover,
.mobile-panel button:hover,
.primary-button:hover {
  background: var(--site-red-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
}

.menu-toggle:hover {
  background: #f3f4f6;
}

.mobile-panel {
  padding: 0 0 18px;
}

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

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f9fafb;
  font-weight: 700;
}

.mobile-panel form {
  grid-template-columns: 1fr auto;
  margin-top: 12px;
  padding: 8px;
  border-radius: 14px;
  background: #f3f4f6;
}

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

.hero-slides,
.hero-slide,
.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(220, 38, 38, 0.35),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.96) 0%,
      rgba(2, 6, 23, 0.78) 44%,
      rgba(2, 6, 23, 0.28) 100%
    ),
    linear-gradient(
      0deg,
      rgba(2, 6, 23, 0.95) 0%,
      rgba(2, 6, 23, 0.2) 44%,
      rgba(2, 6, 23, 0.6) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  color: #ffffff;
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fecaca;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.hero-copy p {
  max-width: 720px;
  color: #e5e7eb;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  color: #fee2e2;
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid rgba(254, 202, 202, 0.22);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: var(--site-red);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.32);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ghost-button:hover {
  color: var(--site-text);
  background: #ffffff;
  transform: translateY(-1px);
}

.hero-poster {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 2 / 3;
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster::before,
.poster-frame::before,
.category-cover::before,
.detail-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111827, #dc2626 52%, #f97316);
  z-index: 0;
}

.hero-poster img,
.poster-frame img,
.category-cover img,
.detail-poster img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 30px;
  line-height: 1;
}

.hero-arrow:hover {
  background: var(--site-red);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

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

.search-band {
  margin-top: -46px;
  position: relative;
  z-index: 20;
}

.search-band-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--site-shadow);
}

.search-band h2,
.section-heading h2,
.rank-panel h2,
.story-panel h2,
.info-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.search-band p,
.section-heading p,
.rank-panel p,
.page-hero p,
.category-card p {
  margin-top: 8px;
  color: var(--site-muted);
  line-height: 1.7;
}

.big-search,
.page-search-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: #f9fafb;
}

.big-search input,
.page-search-form input {
  padding: 12px 14px;
}

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

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

.section-heading.single {
  display: block;
}

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

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

.category-grid a {
  min-height: 126px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  border: 1px solid #fee2e2;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-grid a:hover,
.movie-card:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--site-shadow);
}

.category-grid strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  color: #1f2937;
}

.category-grid span {
  display: block;
  margin-top: 8px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

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

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

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

.movie-card {
  border-radius: var(--site-radius);
  overflow: hidden;
  background: var(--site-card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111827;
}

.poster-frame img {
  transition:
    transform 0.35s ease,
    opacity 0.2s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 55%);
  opacity: 0.72;
}

.card-score,
.rank-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 900;
}

.card-score {
  top: 10px;
  right: 10px;
  min-width: 42px;
  height: 28px;
  padding: 0 9px;
  background: rgba(0, 0, 0, 0.68);
  font-size: 13px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.92);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

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

.card-body h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
  color: var(--site-muted);
  font-size: 13px;
}

.card-body p {
  margin-top: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  margin-top: 12px;
}

.card-tags span {
  padding: 5px 8px;
  color: #991b1b;
  background: #fef2f2;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.rank-panel {
  padding: 24px;
  border-radius: 24px;
  background: #111827;
  color: #ffffff;
  box-shadow: var(--site-shadow);
}

.rank-panel p {
  color: #9ca3af;
}

.rank-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.rank-row span {
  color: #fecaca;
  font-weight: 900;
}

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

.rank-row em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 900;
}

.page-main,
.detail-main {
  min-height: 70vh;
}

.page-hero {
  padding: 86px 0 76px;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(220, 38, 38, 0.28),
      transparent 28%
    ),
    linear-gradient(135deg, #111827, #1f2937 48%, #7f1d1d);
  color: #ffffff;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #fecaca;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
}

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

.category-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  overflow: hidden;
}

.category-card h2 {
  font-size: 23px;
  font-weight: 900;
}

.category-card span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--site-red);
  font-weight: 900;
}

.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.list-tools label {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f3f4f6;
}

.list-tools label span {
  color: #374151;
  font-weight: 900;
}

.tool-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-links a,
.related-category-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  color: #991b1b;
  background: #fef2f2;
  font-weight: 800;
  font-size: 14px;
}

.related-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(4px) saturate(1.08);
  transform: scale(1.05);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.95),
      rgba(2, 6, 23, 0.72),
      rgba(2, 6, 23, 0.86)
    ),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 16px;
  color: #fecaca;
  font-weight: 800;
}

.detail-info h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 850px;
  margin-top: 18px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.7;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.detail-info .primary-button {
  margin-top: 26px;
}

.player-section {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
  z-index: 1;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(220, 38, 38, 0.32),
      transparent 24%
    ),
    rgba(0, 0, 0, 0.45);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

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

.player-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--site-red);
  font-size: 34px;
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.36);
}

.player-cover strong {
  max-width: 80%;
  text-align: center;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 900;
}

.detail-content {
  padding-top: 56px;
}

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

.story-panel,
.info-panel {
  border-radius: 24px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.story-panel h2 + p {
  margin-top: 14px;
}

.story-panel p + h2 {
  margin-top: 28px;
}

.story-panel p {
  color: #374151;
  font-size: 17px;
  line-height: 1.95;
}

.info-panel dl {
  margin-top: 18px;
}

.info-panel dt {
  margin-top: 14px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 800;
}

.info-panel dd {
  margin-top: 4px;
  color: #1f2937;
  font-weight: 800;
  line-height: 1.5;
}

.info-panel a {
  color: var(--site-red);
}

.site-footer {
  margin-top: 80px;
  padding: 54px 0 30px;
  color: #d1d5db;
  background: #111827;
}

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

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

.site-footer p,
.site-footer a {
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
}

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}

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

@media (max-width: 1180px) {
  .movie-grid,
  .list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content,
  .search-band-inner,
  .split-layout,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 92px 0 108px;
    gap: 24px;
  }

  .hero-poster {
    justify-self: start;
    width: min(56vw, 260px);
  }

  .search-band {
    margin-top: -30px;
  }

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

  .detail-hero-inner {
    grid-template-columns: 190px 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
  }

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

  .brand-text small {
    display: none;
  }

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

  .hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-copy h1,
  .detail-info h1,
  .page-hero h1 {
    letter-spacing: -0.035em;
  }

  .hero-poster {
    width: min(54vw, 210px);
    border-radius: 22px;
  }

  .hero-controls {
    bottom: 18px;
  }

  .search-band-inner {
    padding: 18px;
  }

  .big-search,
  .page-search-form,
  .list-tools,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .content-section {
    width: min(100% - 24px, 1180px);
    padding-top: 46px;
  }

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

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

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 58px 0 112px;
  }

  .detail-poster {
    width: min(58vw, 210px);
  }

  .player-section {
    margin-top: -54px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .story-panel,
  .info-panel,
  .rank-panel {
    padding: 20px;
    border-radius: 18px;
  }
}
