* {
  box-sizing: border-box;
}

:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-blue: #2563eb;
  --color-cyan: #06b6d4;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-soft: #f3f7fb;
  --color-line: #e5e7eb;
  --color-dark: #0f172a;
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #ffffff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

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

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

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.32);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-muted);
}

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

.nav-link,
.mobile-nav-link {
  font-weight: 700;
  color: #334155;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-line);
  background: #ffffff;
  border-radius: 12px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 18px;
  border-top: 1px solid var(--color-line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-primary);
  background: #ecfeff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 44%, #06b6d4 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.42), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 660px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 12px;
  color: #075985;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-intro h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-intro h1 {
  max-width: 720px;
  font-size: clamp(40px, 6vw, 68px);
}

.hero-intro p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #ecfeff;
  font-size: 20px;
}

.hero-search {
  display: flex;
  max-width: 620px;
  margin-top: 34px;
  padding: 6px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 15px 18px;
  color: #0f172a;
  border: 0;
  outline: 0;
}

.hero-search button {
  padding: 0 24px;
  color: #ffffff;
  font-weight: 800;
  border: 0;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 14px;
}

.hero-carousel {
  position: relative;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  background: rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.hero-copy p {
  margin: 0 0 18px;
  color: #dffafa;
  font-size: 16px;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 5px 10px;
  color: #0f766e;
  background: #ecfeff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

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

.btn.primary {
  color: #0f766e;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.btn.ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-poster img,
.movie-cover-wrap img,
.detail-poster img,
.rank-card img,
.mini-card img,
.ranking-row img,
.category-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

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

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

.stats-section {
  padding: 28px 0;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  display: grid;
  gap: 6px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc, #eef6fb);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.stat-card strong {
  font-size: 26px;
  color: #0f172a;
}

.stat-card span {
  color: var(--color-muted);
}

.content-section {
  padding: 72px 0;
}

.soft-bg {
  background: var(--color-soft);
}

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

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

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

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

.dark-section .section-heading p {
  color: #cbd5e1;
}

.section-link {
  color: var(--color-blue);
  font-weight: 900;
}

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

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

.category-tile {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 18px;
  font-weight: 900;
}

.category-tile strong,
.category-large strong {
  font-size: 22px;
}

.category-tile em,
.category-large em {
  color: var(--color-muted);
  font-style: normal;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-cover-link {
  display: block;
}

.movie-cover-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

.movie-cover-wrap img {
  transition: transform 0.45s ease;
}

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.2s ease;
}

.movie-card:hover .cover-shade {
  background: rgba(15, 23, 42, 0.26);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  opacity: 0;
  background: rgba(37, 99, 235, 0.86);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.play-badge svg {
  width: 24px;
  fill: currentColor;
}

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

.corner-label {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

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

.corner-label.right {
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
}

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

.movie-card-body h2 {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-body h2 a:hover {
  color: var(--color-blue);
}

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

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
}

.tag-row span {
  color: #475569;
  background: #f1f5f9;
}

.rank-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rank-card {
  display: grid;
  grid-template-columns: 52px 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 999px;
  font-weight: 900;
}

.rank-card img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.rank-card strong,
.rank-card em,
.rank-card small {
  display: block;
}

.rank-card strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.rank-card em,
.rank-card small {
  color: #cbd5e1;
  font-style: normal;
}

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

.callout-section {
  padding: 78px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.callout-inner {
  text-align: center;
}

.callout-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.callout-inner p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #e0f2fe;
  font-size: 18px;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
}

.compact-hero .container {
  padding: 74px 0;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
}

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

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.filter-search input,
.filter-selects select {
  width: 100%;
  border: 1px solid #dbe3ee;
  outline: 0;
  background: #ffffff;
  border-radius: 14px;
}

.filter-search input {
  padding: 15px 16px;
}

.filter-selects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.filter-selects label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-selects select {
  padding: 12px 14px;
  color: #0f172a;
}

.empty-state {
  margin-top: 30px;
  padding: 48px;
  text-align: center;
  color: var(--color-muted);
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
}

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

.category-large {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-large img {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.category-large span {
  display: grid;
  gap: 8px;
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.genre-cloud a {
  padding: 12px 18px;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-weight: 900;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 64px 150px 1fr 120px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.ranking-index {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 14px;
  font-weight: 900;
}

.ranking-row img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.ranking-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ranking-main strong,
.ranking-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-main em,
.ranking-main small,
.ranking-meta {
  color: var(--color-muted);
  font-style: normal;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.05);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.85));
}

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

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.detail-info h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.detail-info p {
  max-width: 820px;
  margin: 20px 0 0;
  color: #e0f2fe;
  font-size: 19px;
}

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

.detail-meta span {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 28px;
}

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

.detail-main,
.detail-side,
.text-page,
.faq-grid article {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.detail-main {
  overflow: hidden;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.62));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

.play-circle svg {
  width: 34px;
  fill: currentColor;
}

.play-layer strong {
  font-size: 18px;
}

.player-message {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  color: #ffffff;
  background: rgba(15, 23, 42, 0.74);
  border-radius: 12px;
  font-size: 13px;
}

.player-message:not(:empty) {
  padding: 9px 12px;
}

.article-block {
  padding: 28px;
  border-top: 1px solid #e5e7eb;
}

.article-block h2,
.detail-side h2,
.text-page h2,
.faq-grid h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.article-block p,
.text-page p,
.faq-grid p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.detail-side {
  padding: 22px;
  position: sticky;
  top: 96px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
}

.mini-card img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.mini-card span,
.mini-card strong,
.mini-card em {
  display: block;
  min-width: 0;
}

.mini-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card em {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
}

.text-page {
  padding: 34px;
}

.text-page h2:not(:first-child) {
  margin-top: 30px;
}

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

.faq-grid article {
  padding: 26px;
}

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

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

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

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

  .featured-grid,
  .rank-card-grid,
  .category-large-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero-shell {
    min-height: auto;
    padding: 56px 0;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    position: relative;
    display: none;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .hero-poster {
    min-height: 260px;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .category-grid,
  .rank-card-grid,
  .category-large-grid,
  .faq-grid,
  .filter-selects {
    grid-template-columns: 1fr;
  }

  .category-large,
  .ranking-row,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .ranking-meta {
    display: none;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-search {
    display: grid;
    gap: 6px;
    padding: 8px;
  }

  .hero-search button {
    min-height: 48px;
  }

  .section-heading {
    display: grid;
  }

  .content-section {
    padding: 54px 0;
  }

  .movie-card-body h2 {
    min-height: auto;
  }

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