* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --lamp-dark: #0f0f0f;
  --lamp-charcoal: #1a1a1a;
  --lamp-brown: #4e342e;
  --lamp-warm: #ffa726;
  --lamp-gold: #ffb74d;
  --lamp-beige: #d7ccc8;
  --lamp-muted: rgba(215, 204, 200, 0.68);
  --lamp-line: rgba(78, 52, 46, 0.48);
  --lamp-card: rgba(26, 26, 26, 0.96);
  --shadow-glow: 0 0 22px rgba(255, 167, 38, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--lamp-beige);
  background:
    radial-gradient(circle at top left, rgba(255, 167, 38, 0.12), transparent 30rem),
    linear-gradient(180deg, #111111 0%, #0f0f0f 36%, #12100f 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid var(--lamp-line);
  backdrop-filter: blur(10px);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-icon {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  color: var(--lamp-warm);
  background: rgba(255, 167, 38, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 77, 0.28);
  transition: transform 0.25s ease, color 0.25s ease;
}

.brand:hover .brand-icon {
  color: var(--lamp-gold);
  transform: scale(1.08) rotate(12deg);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong,
.footer-logo strong,
.text-gradient {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: transparent;
  background: linear-gradient(90deg, var(--lamp-warm), var(--lamp-gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text small {
  color: rgba(215, 204, 200, 0.6);
  font-size: 0.75rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.desktop-nav a,
.mobile-nav a {
  color: rgba(215, 204, 200, 0.84);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--lamp-warm);
}

.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 0.8rem;
  background: rgba(78, 52, 46, 0.26);
}

.menu-button span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--lamp-beige);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
  border-top: 1px solid var(--lamp-line);
}

.mobile-nav.open {
  display: grid;
  gap: 0.75rem;
}

.hero-section {
  padding: 2rem 0 0;
}

.hero-shell {
  position: relative;
  height: clamp(420px, 56vw, 560px);
  overflow: hidden;
  border-radius: 1rem;
  background: var(--lamp-card);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), var(--shadow-glow);
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.16)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.94), transparent 55%);
}

.hero-content {
  position: absolute;
  left: clamp(1.4rem, 5vw, 4rem);
  right: clamp(1.4rem, 5vw, 4rem);
  bottom: clamp(2rem, 7vw, 4.5rem);
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--lamp-warm);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-summary {
  margin: 1rem 0 0;
  max-width: 720px;
  color: rgba(229, 231, 235, 0.94);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.hero-meta {
  margin: 1.4rem 0;
}

.hero-meta span,
.detail-meta span {
  color: rgba(229, 231, 235, 0.9);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
.play-overlay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1.2rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button.primary,
.play-overlay {
  color: #ffffff;
  background: var(--lamp-warm);
  box-shadow: 0 10px 30px rgba(255, 167, 38, 0.22);
}

.button.primary:hover,
.play-overlay:hover {
  background: var(--lamp-gold);
  transform: translateY(-2px);
}

.button.ghost {
  color: var(--lamp-gold);
  background: rgba(26, 26, 26, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 77, 0.22);
}

.button.ghost:hover {
  color: #ffffff;
  background: rgba(78, 52, 46, 0.62);
}

.button.text {
  color: var(--lamp-beige);
  background: rgba(255, 255, 255, 0.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2.1rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.hero-shell:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255, 167, 38, 0.84);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.52);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 2rem;
  background: var(--lamp-warm);
}

.section-block {
  padding: 3rem 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title span {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(215, 204, 200, 0.6);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin: 0;
  color: var(--lamp-warm);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.section-title a {
  color: var(--lamp-gold);
  font-weight: 800;
}

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

.category-card,
.category-overview-card a {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--lamp-card);
  border: 1px solid var(--lamp-line);
}

.category-card img,
.overview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
  opacity: 0.7;
  transform: scale(1.06);
}

.category-card span,
.overview-text {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
}

.category-card strong,
.overview-text strong {
  display: block;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 850;
}

.category-card em,
.overview-text em {
  display: -webkit-box;
  margin-top: 0.45rem;
  color: rgba(215, 204, 200, 0.76);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
  background: var(--lamp-card);
  border: 1px solid rgba(78, 52, 46, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(255, 183, 77, 0.42);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px) scale(1.02);
}

.movie-card a,
.poster-wrap,
.card-body {
  display: block;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #171717;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.movie-card:hover img {
  transform: scale(1.1);
  filter: saturate(1.12);
}

.poster-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 46%);
}

.poster-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--lamp-warm);
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-mark {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 167, 38, 0.95);
  font-size: 0.72rem;
  line-height: 1;
}

.card-body {
  min-height: 148px;
  padding: 0.85rem;
}

.card-body strong {
  display: -webkit-box;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body em {
  display: -webkit-box;
  min-height: 2.8rem;
  margin: 0.45rem 0 0.75rem;
  color: rgba(215, 204, 200, 0.72);
  font-size: 0.83rem;
  font-style: normal;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  color: rgba(229, 231, 235, 0.72);
  font-size: 0.75rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.tag-row span {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--lamp-gold);
  background: rgba(255, 167, 38, 0.12);
  font-size: 0.72rem;
  font-weight: 750;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 190px));
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--lamp-line);
  border-radius: 0.95rem;
  background: rgba(26, 26, 26, 0.76);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid rgba(78, 52, 46, 0.62);
  border-radius: 0.75rem;
  padding: 0 0.95rem;
  color: var(--lamp-beige);
  background: rgba(15, 15, 15, 0.82);
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(255, 183, 77, 0.68);
  box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.1);
}

.empty-state {
  display: none;
  margin: 2rem 0 0;
  padding: 2rem;
  border-radius: 0.9rem;
  color: rgba(215, 204, 200, 0.7);
  text-align: center;
  background: rgba(26, 26, 26, 0.72);
}

.empty-state.show {
  display: block;
}

.rank-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.rank-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 0.9rem;
  background: var(--lamp-card);
  border: 1px solid var(--lamp-line);
}

.rank-card b {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--lamp-warm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.rank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.rank-card:hover img {
  opacity: 0.95;
  transform: scale(1.07);
}

.rank-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1rem 1rem;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95), transparent);
}

.latest-list {
  display: grid;
  gap: 0.85rem;
}

.latest-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  overflow: hidden;
  border-radius: 0.8rem;
  background: rgba(26, 26, 26, 0.78);
  border: 1px solid rgba(78, 52, 46, 0.26);
  transition: background 0.2s ease, transform 0.2s ease;
}

.latest-row:hover {
  background: rgba(26, 26, 26, 0.96);
  transform: translateX(4px);
}

.latest-row img {
  width: 170px;
  height: 112px;
  object-fit: cover;
}

.latest-row span {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding-right: 1rem;
}

.latest-row strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.latest-row em {
  display: -webkit-box;
  color: rgba(215, 204, 200, 0.72);
  font-style: normal;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-row small {
  color: rgba(215, 204, 200, 0.58);
}

.page-hero {
  margin-top: 2rem;
  padding: clamp(2.2rem, 6vw, 4.2rem);
  border: 1px solid var(--lamp-line);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 167, 38, 0.14), rgba(78, 52, 46, 0.16)),
    rgba(26, 26, 26, 0.86);
  box-shadow: var(--shadow-glow);
}

.compact-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(215, 204, 200, 0.78);
  line-height: 1.9;
}

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

.category-overview-card a {
  min-height: 260px;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.overview-text b {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--lamp-warm);
}

.ranking-list {
  display: grid;
  gap: 0.75rem;
}

.ranking-row a {
  display: grid;
  grid-template-columns: 4rem 88px 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 120px;
  padding: 0.8rem;
  border: 1px solid rgba(78, 52, 46, 0.28);
  border-radius: 0.85rem;
  background: rgba(26, 26, 26, 0.82);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
  border-color: rgba(255, 183, 77, 0.42);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.ranking-row b {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 167, 38, 0.9);
}

.ranking-row img {
  width: 88px;
  height: 112px;
  object-fit: cover;
  border-radius: 0.55rem;
}

.ranking-row strong {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
}

.ranking-row em {
  display: -webkit-box;
  margin: 0.35rem 0;
  color: rgba(215, 204, 200, 0.72);
  font-style: normal;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-row small {
  color: rgba(215, 204, 200, 0.58);
}

.detail-layout {
  padding: 2rem 0 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: rgba(215, 204, 200, 0.62);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--lamp-gold);
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--lamp-line);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top left, rgba(255, 167, 38, 0.12), transparent 24rem),
    rgba(26, 26, 26, 0.9);
}

.detail-poster {
  overflow: hidden;
  border-radius: 0.95rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info {
  display: grid;
  align-content: center;
}

.detail-info h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.detail-line {
  margin: 1rem 0 1.25rem;
  color: rgba(229, 231, 235, 0.9);
  font-size: 1.08rem;
  line-height: 1.9;
}

.detail-tags {
  margin-top: 1.1rem;
}

.player-section {
  margin: 1.5rem 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #000000;
  border: 1px solid rgba(78, 52, 46, 0.52);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  min-width: 9rem;
}

.play-overlay:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.player-shell.ready .play-overlay {
  display: none;
}

.section-block-inner {
  margin-top: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--lamp-line);
  border-radius: 1rem;
  background: rgba(26, 26, 26, 0.84);
}

.detail-text h2 {
  margin: 0 0 0.8rem;
  color: var(--lamp-warm);
  font-size: 1.45rem;
}

.detail-text h2 + p {
  margin-top: 0;
}

.detail-text p {
  color: rgba(215, 204, 200, 0.84);
  font-size: 1rem;
  line-height: 2;
}

.nested-title {
  margin-bottom: 1.2rem;
}

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

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--lamp-line);
  background: rgba(26, 26, 26, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand p,
.site-footer li {
  color: rgba(215, 204, 200, 0.68);
  line-height: 1.85;
}

.site-footer h3 {
  margin: 0 0 1rem;
  color: var(--lamp-warm);
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--lamp-gold);
}

.footer-bottom {
  padding: 1.2rem;
  border-top: 1px solid var(--lamp-line);
  color: rgba(215, 204, 200, 0.52);
  text-align: center;
  font-size: 0.88rem;
}

[data-card][hidden] {
  display: none;
}

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

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

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

  .menu-button {
    display: block;
  }

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

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

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

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 1rem, 1280px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

  .hero-section {
    padding-top: 0.8rem;
  }

  .hero-shell {
    height: 540px;
    border-radius: 0.8rem;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.22));
  }

  .hero-content {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 4rem;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-arrow {
    opacity: 1;
  }

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

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

  .movie-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .card-body {
    min-height: 132px;
    padding: 0.7rem;
  }

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

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

  .latest-row {
    grid-template-columns: 118px 1fr;
  }

  .latest-row img {
    width: 118px;
    height: 100%;
  }

  .ranking-row a {
    grid-template-columns: 3rem 72px 1fr;
    gap: 0.7rem;
  }

  .ranking-row img {
    width: 72px;
    height: 96px;
  }

  .play-overlay {
    min-width: 7.5rem;
  }
}
