:root {
  --emerald: #10b981;
  --teal: #0d9488;
  --cyan: #0891b2;
  --rose: #f43f5e;
  --orange: #f97316;
  --amber: #f59e0b;
  --purple: #a855f7;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-lg: 0 20px 35px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 12px 24px rgba(15, 23, 42, 0.10);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #059669, #0d9488, #0891b2);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: rotate(12deg) scale(1.05);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-panel a {
  transition: color 0.22s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: #fde68a;
}

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

.nav-search input,
.mobile-search input,
.search-page-form input {
  border: 0;
  outline: 0;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.nav-search input {
  width: 220px;
}

.nav-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  cursor: pointer;
  color: #065f46;
  background: #fef3c7;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.16);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(180deg, #0d9488, #0e7490);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-panel.open {
  display: grid;
  gap: 12px;
}

.mobile-search {
  display: flex;
  gap: 8px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(16, 185, 129, 0.38), transparent 28%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.42) 46%, rgba(2, 6, 23, 0.16));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  color: var(--white);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 12px;
  color: var(--white);
  background: linear-gradient(90deg, var(--rose), var(--orange));
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0 0 4px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.hero-content h2 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(25px, 3.8vw, 46px);
  line-height: 1.12;
}

.hero-content p {
  max-width: 740px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-tags,
.meta-row,
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags a,
.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 13px;
  backdrop-filter: blur(10px);
}

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

.primary-action,
.ghost-action,
.white-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-action {
  color: var(--white);
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  box-shadow: 0 18px 28px rgba(13, 148, 136, 0.3);
}

.ghost-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.white-link {
  color: #6d28d9;
  background: var(--white);
}

.primary-action:hover,
.ghost-action:hover,
.white-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  color: var(--white);
  background: rgba(15, 23, 42, 0.48);
  border-radius: 999px;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.22s ease, transform 0.22s ease;
}

.hero-nav:hover {
  background: rgba(13, 148, 136, 0.84);
  transform: translateY(-50%) scale(1.06);
}

.hero-nav.prev {
  left: 24px;
}

.hero-nav.next {
  right: 24px;
}

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

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

.hero-dot.active {
  width: 34px;
  background: #fef3c7;
}

.section {
  padding: 58px 0;
}

.intro-section {
  padding-top: 48px;
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.18;
}

.section-heading.invert h2,
.section-heading.invert .section-kicker {
  color: var(--white);
}

.section-kicker {
  margin-bottom: 7px;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
}

.section-kicker.rose {
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.section-kicker.cyan {
  background: linear-gradient(90deg, var(--cyan), #2563eb);
}

.section-kicker.amber {
  color: #78350f;
  background: linear-gradient(90deg, #fef3c7, var(--amber));
}

.section-kicker.light {
  color: #065f46;
  background: #ecfdf5;
}

.more-link {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.lead-text {
  max-width: 860px;
  margin: -8px 0 26px;
  color: var(--gray-600);
  font-size: 18px;
}

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

.category-tile,
.category-card a {
  display: block;
  min-height: 154px;
  padding: 22px;
  color: var(--gray-700);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-tile strong,
.category-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gray-800);
  font-size: 21px;
}

.category-tile span,
.category-card p {
  color: var(--gray-600);
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.category-cover-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #d1fae5, #cffafe);
}

.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-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #cffafe);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.75), transparent 58%);
  transition: opacity 0.24s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.hot-label,
.year-label {
  position: absolute;
  z-index: 2;
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hot-label {
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  background: var(--rose);
}

.year-label {
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.72);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.24s ease, transform 0.24s ease;
  backdrop-filter: blur(8px);
}

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

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

.movie-title {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title,
.movie-card-horizontal:hover .movie-title {
  color: var(--emerald);
}

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

.meta-row a,
.meta-row span,
.detail-meta a,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 700;
}

.meta-row a,
.detail-meta a {
  color: #047857;
  background: #d1fae5;
}

.split-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.feature-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.latest-panel {
  background: linear-gradient(135deg, #ecfeff, #dbeafe);
}

.ranking-panel {
  background: var(--white);
}

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

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  min-height: 168px;
  overflow: hidden;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-horizontal .poster-link {
  min-height: 168px;
}

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

.movie-card-horizontal .movie-card-body {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--gray-50);
  border-radius: 14px;
}

.rank-list.large li {
  padding: 15px 18px;
}

.rank-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--orange));
  border-radius: 50%;
  font-weight: 900;
}

.rank-list a {
  min-width: 0;
  color: var(--gray-800);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list em {
  color: var(--gray-500);
  font-style: normal;
}

.gradient-showcase {
  margin-bottom: 58px;
  padding: 36px;
  color: var(--white);
  background: linear-gradient(120deg, #10b981, #0d9488, #a855f7);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.gradient-showcase .movie-card {
  color: var(--gray-800);
}

.page-hero {
  padding: 70px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 18%, rgba(253, 230, 138, 0.18), transparent 28%),
    linear-gradient(100deg, #059669, #0d9488, #0891b2);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
}

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

.small-actions {
  margin-top: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.filter-chip {
  border: 0;
  padding: 9px 15px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  transform: translateY(-1px);
}

.rank-hero-grid {
  margin-bottom: 34px;
}

.rank-board {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.rank-board h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 660px;
  margin-top: 24px;
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
}

.empty-state {
  padding: 36px;
  color: var(--gray-600);
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.detail-shell {
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 800;
}

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

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.player-card {
  margin-bottom: 24px;
}

.player-wrap {
  position: relative;
  background: #020617;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.54), rgba(2, 6, 23, 0.08));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 34px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.24);
}

.player-overlay strong {
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.58);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.detail-card {
  margin-bottom: 24px;
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.detail-meta {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
}

.text-block {
  margin-bottom: 24px;
}

.text-block h2,
.tag-block h2,
.side-card h2 {
  margin: 0 0 12px;
  color: var(--gray-800);
  font-size: 22px;
}

.text-block p {
  margin: 0;
  color: var(--gray-600);
  font-size: 16px;
}

.tag-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-block a {
  color: #065f46;
  background: #d1fae5;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
}

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

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #d1fae5, #cffafe);
}

.cover-card h2,
.cover-card p,
.link-card {
  padding: 18px;
}

.cover-card p {
  margin: -16px 0 0;
  color: var(--gray-600);
}

.link-card nav {
  display: grid;
  gap: 10px;
}

.link-card a {
  padding: 10px 12px;
  color: var(--gray-700);
  background: var(--gray-50);
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-card a:hover {
  color: #047857;
  background: #d1fae5;
}

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

.movie-mini a {
  display: block;
  overflow: hidden;
  background: var(--gray-50);
  border-radius: 15px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-mini a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mini-poster {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #cffafe);
}

.mini-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-mini strong,
.movie-mini em {
  display: block;
  padding: 0 12px;
}

.movie-mini strong {
  margin-top: 12px;
  color: var(--gray-800);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-mini em {
  padding-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
}

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

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

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

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  color: #94a3b8;
  text-align: center;
  font-size: 13px;
}

[hidden],
.is-filter-hidden,
.is-search-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

  .nav-search input {
    width: 180px;
  }

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

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

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

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

  .menu-button {
    display: block;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    bottom: 64px;
  }

  .hero-nav {
    display: none;
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .shell,
  .nav-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    height: 540px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags a,
  .hero-tags span {
    padding: 5px 9px;
    font-size: 12px;
  }

  .primary-action,
  .ghost-action,
  .white-link {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

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

  .category-grid,
  .category-directory,
  .movie-grid,
  .movie-grid.three,
  .mini-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 144px;
  }

  .movie-card-horizontal .poster-link {
    min-height: 144px;
  }

  .movie-card-horizontal .movie-card-body {
    padding: 14px 14px 14px 0;
  }

  .movie-card-body p {
    -webkit-line-clamp: 2;
  }

  .gradient-showcase,
  .feature-panel,
  .detail-card,
  .rank-board {
    padding: 22px;
    border-radius: 22px;
  }

  .search-page-form,
  .mobile-search {
    flex-direction: column;
  }

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

  .rank-list em {
    grid-column: 2;
  }
}
