:root {
  --color-rose: #f43f5e;
  --color-orange: #f97316;
  --color-pink: #ec4899;
  --color-amber: #f59e0b;
  --color-blue: #3b82f6;
  --color-emerald: #10b981;
  --color-purple: #8b5cf6;
  --color-slate: #0f172a;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-soft: #fff1f2;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.10);
  --radius-large: 24px;
  --radius-card: 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", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #fff7f8 0%, #fff 32%, #fff7ed 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.35);
}

.logo-text {
  font-size: 1.45rem;
  background: linear-gradient(90deg, var(--color-rose), var(--color-orange));
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  font-weight: 700;
  color: #4b5563;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-rose);
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  background: #fff;
  color: var(--color-text);
}

.header-search input {
  width: 210px;
  padding: 10px 14px 10px 18px;
}

.header-search button,
.mobile-search button {
  border: 0;
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: #fff1f2;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-rose);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-search {
  display: flex;
  overflow: hidden;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: #fff;
}

.mobile-search input {
  flex: 1;
  padding: 12px 16px;
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-rose), var(--color-pink), var(--color-orange));
}

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

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

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(244, 63, 94, 0.62) 46%, rgba(249, 115, 22, 0.42) 100%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22), transparent 28%);
}

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

.hero-kicker,
.detail-kicker,
.inner-hero span {
  display: inline-flex;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  max-width: 780px;
  margin: 22px 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  box-shadow: 0 16px 28px rgba(244, 63, 94, 0.25);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

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

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

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

.floating-featured {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  margin: -82px auto 72px;
}

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

.white-panel,
.ranking-panel,
.detail-content,
.ranking-full {
  padding: 34px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  box-shadow: 0 14px 24px rgba(244, 63, 94, 0.22);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2, #ffedd5);
}

.movie-card.compact .poster-link {
  aspect-ratio: 16 / 10;
}

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

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

.type-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(244, 63, 94, 0.92);
  backdrop-filter: blur(10px);
}

.type-badge {
  left: 12px;
}

.rank-badge {
  right: 12px;
  background: rgba(249, 115, 22, 0.94);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.movie-meta-line span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card h3 {
  min-height: 2.65em;
  margin: 8px 0;
  font-size: 1.05rem;
  line-height: 1.32;
  font-weight: 900;
}

.movie-card h3 a:hover,
.ranking-content h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--color-rose);
}

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

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #be123c;
  font-size: 0.78rem;
  font-weight: 800;
  background: #ffe4e6;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: #fff;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  box-shadow: var(--shadow-card);
}

.category-card {
  min-height: 174px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.15);
}

.category-card strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
}

.category-card span {
  display: inline-flex;
  margin: 10px 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.tone-rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.tone-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.tone-emerald { background: linear-gradient(135deg, #10b981, #14b8a6); }
.tone-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.tone-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tone-purple { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.tone-green { background: linear-gradient(135deg, #22c55e, #84cc16); }
.tone-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.tone-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.tone-yellow { background: linear-gradient(135deg, #eab308, #f97316); }
.tone-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.inner-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 36px;
  padding: 64px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-rose), var(--color-pink), var(--color-orange));
  box-shadow: var(--shadow-soft);
}

.inner-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.inner-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.8;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px;
  color: #fff;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.category-overview-card h2 {
  margin: 5px 0 10px;
  font-size: 1.35rem;
  font-weight: 950;
}

.category-overview-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.category-overview-card span {
  font-weight: 900;
}

.filter-bar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
}

.filter-bar input {
  flex: 1 1 280px;
}

.result-counter {
  margin-left: auto;
  color: var(--color-rose);
  font-weight: 900;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 58px 96px 1fr 130px;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(244, 63, 94, 0.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.ranking-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
}

.ranking-poster img {
  width: 96px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-content h2 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  font-weight: 950;
}

.ranking-content p {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.65;
}

.heat-box {
  text-align: right;
}

.heat-box strong {
  display: block;
  color: var(--color-rose);
  font-size: 2rem;
  font-weight: 950;
}

.heat-box span {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.center-action {
  justify-content: center;
  margin-top: 26px;
}

.detail-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.04);
}

.detail-bg-mask {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(244, 63, 94, 0.45) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.75);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 7px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.8;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-bottom: 18px;
}

.detail-meta-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.genre-row {
  margin-bottom: 12px;
}

.player-section {
  width: min(1180px, calc(100% - 32px));
  margin: -110px auto 56px;
  position: relative;
  z-index: 5;
}

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

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-rose), var(--color-orange));
  box-shadow: 0 18px 44px rgba(244, 63, 94, 0.4);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.play-button span {
  display: inline-block;
  margin-left: 6px;
  font-size: 2.3rem;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.player-shell.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(10px);
}

.text-panel {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.text-panel + .text-panel {
  margin-top: 22px;
}

.text-panel h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 950;
}

.text-panel p {
  margin: 0;
  color: #374151;
  line-height: 1.95;
  font-size: 1.04rem;
}

.site-footer {
  margin-top: 80px;
  color: #e5e7eb;
  background: linear-gradient(135deg, #111827, #1f2937);
}

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

.footer-logo {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

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

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: #fff;
}

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

.footer-links a {
  color: #9ca3af;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-movie-card].hidden-by-filter {
  display: none;
}

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

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

  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
}

@media (max-width: 820px) {
  .hero-slider {
    height: 560px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 100px;
  }

  .floating-featured {
    margin-top: 28px;
  }

  .movie-grid,
  .featured-grid,
  .latest-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .inner-hero {
    padding: 42px 24px;
  }

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

  .ranking-row {
    grid-template-columns: 42px 76px 1fr;
  }

  .heat-box {
    grid-column: 3;
    text-align: left;
  }

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

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

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

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

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

@media (max-width: 520px) {
  .header-inner {
    width: min(100% - 20px, 1180px);
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .hero-slider {
    height: 520px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .content-section,
  .filter-bar,
  .inner-hero,
  .player-section,
  .detail-hero-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 20px, 1180px);
  }

  .white-panel,
  .ranking-panel,
  .detail-content,
  .ranking-full {
    padding: 18px;
  }

  .movie-grid,
  .featured-grid,
  .latest-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 36px 72px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .ranking-poster img {
    width: 72px;
  }

  .ranking-content p,
  .ranking-content .tag-row {
    display: none;
  }

  .play-button {
    width: 72px;
    height: 72px;
  }
}
