:root {
  --green-950: #052e16;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-200: #bbf7d0;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --yellow-300: #fde047;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-heavy: 0 24px 70px rgba(6, 78, 59, 0.24);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--green-50), #ffffff 45%, #ffffff);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--green-700), var(--green-900));
  box-shadow: 0 12px 30px rgba(6, 78, 59, 0.25);
}

.header-inner {
  max-width: var(--max-width);
  height: 66px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-icon {
  font-size: 26px;
  line-height: 1;
}

.brand-text {
  font-size: 21px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-200);
  transform: translateY(-1px);
}

.header-search {
  width: min(280px, 28vw);
  position: relative;
}

.header-search input,
.mobile-search input,
.hero-search input,
.large-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: rgba(6, 78, 59, 0.9);
  border-radius: 999px;
  padding: 10px 46px 10px 16px;
  box-shadow: inset 0 0 0 1px rgba(187, 247, 208, 0.2);
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.hero-search input::placeholder,
.large-search input::placeholder {
  color: rgba(220, 252, 231, 0.72);
}

.header-search button,
.hero-search button,
.mobile-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
}

.header-search button:hover,
.hero-search button:hover,
.mobile-search button:hover,
.large-search button:hover {
  transform: translateY(-1px);
  background: var(--white);
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: rgba(6, 78, 59, 0.55);
  padding: 8px 11px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 16px;
}

.mobile-panel.open {
  display: block;
}

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

.mobile-search input {
  flex: 1;
}

.mobile-search button {
  padding: 0 16px;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--green-200);
  background: rgba(255, 255, 255, 0.14);
}

.page-main {
  min-height: 68vh;
}

.home-main {
  padding-bottom: 10px;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--green-800), var(--green-900));
}

.hero-slides {
  position: relative;
  max-width: var(--max-width);
  min-height: 500px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.hero-slide {
  position: absolute;
  inset: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 360px;
  gap: 42px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-backdrop {
  position: absolute;
  inset: -80px calc(50% - 50vw);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  z-index: 0;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 26%), linear-gradient(180deg, transparent, rgba(5, 46, 22, 0.86));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-label,
.section-kicker,
.detail-kicker,
.simple-hero span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-content h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.hero-content p {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(240, 253, 244, 0.94);
  font-size: clamp(18px, 2.3vw, 24px);
}

.hero-tags,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-tags span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--green-900);
  background: rgba(220, 252, 231, 0.92);
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--green-900);
  background: var(--white);
  padding: 12px 24px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 12px 20px;
}

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

.hero-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transform: rotate(1deg);
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.hero-control-row {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: -22px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.36);
}

.hero-dot.active {
  background: var(--white);
}

.hero-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.hero-search input {
  padding: 15px 112px 15px 20px;
  background: rgba(5, 46, 22, 0.72);
  backdrop-filter: blur(18px);
}

.hero-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  height: 38px;
  padding: 0 22px;
}

.hero-mini-list {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  margin: 26px auto 34px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-card.active,
.hero-mini-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.hero-mini-card img {
  width: 50px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.hero-mini-card span {
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.38;
  z-index: 1;
  pointer-events: none;
}

.hero-glow-one {
  width: 260px;
  height: 260px;
  top: 80px;
  left: 7%;
  background: var(--white);
  animation: pulseGlow 4.5s ease-in-out infinite;
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  right: 10%;
  bottom: 30px;
  background: var(--yellow-300);
  animation: pulseGlow 5.4s ease-in-out infinite 0.8s;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.18;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.42;
    transform: scale(1.04);
  }
}

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 58px 20px;
}

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

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

.section-kicker {
  color: var(--green-700);
  background: var(--green-100);
  border-color: rgba(16, 185, 129, 0.25);
}

.section-more {
  color: var(--green-700);
  background: var(--green-100);
  padding: 10px 16px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-900);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: var(--white);
  background: var(--green-600);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(6, 78, 59, 0.25);
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
  color: var(--gray-800);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.movie-card-body h3 a {
  transition: color 0.2s ease;
}

.movie-card:hover h3 a {
  color: var(--green-600);
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-tags {
  margin-top: 10px;
  color: var(--green-700);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -44px;
  bottom: -48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

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

.category-card span,
.category-card strong,
.category-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.category-card span {
  color: var(--green-200);
  font-weight: 800;
}

.category-card strong {
  margin-top: 22px;
  font-size: 25px;
}

.category-card em {
  margin-top: 8px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 70px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.rank-number {
  color: var(--green-700);
  font-size: 24px;
  font-weight: 900;
}

.rank-item img {
  width: 70px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-item strong,
.rank-item em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-item strong {
  color: var(--gray-800);
}

.rank-item em {
  grid-column: 3;
  margin-top: -22px;
  color: var(--gray-500);
  font-style: normal;
  font-size: 13px;
}

.simple-hero {
  max-width: var(--max-width);
  margin: 34px auto 0;
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  padding: clamp(38px, 7vw, 76px) 28px;
  box-shadow: var(--shadow-heavy);
}

.simple-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}

.simple-hero p {
  max-width: 840px;
  margin: 0;
  color: rgba(240, 253, 244, 0.9);
  font-size: 18px;
}

.large-search {
  position: relative;
  max-width: 640px;
  margin-top: 26px;
}

.large-search input {
  padding: 16px 120px 16px 22px;
}

.large-search button {
  position: absolute;
  top: 6px;
  right: 6px;
  height: 44px;
  padding: 0 28px;
}

.ranking-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 54px 58px 1fr auto;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  background: var(--white);
  padding: 11px 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
}

.ranking-index {
  color: var(--green-700);
  font-size: 23px;
  font-weight: 900;
}

.ranking-row img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  object-fit: cover;
}

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

.ranking-meta {
  color: var(--gray-500);
  font-size: 14px;
  white-space: nowrap;
}

.breadcrumb {
  max-width: var(--max-width);
  margin: 26px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-600);
}

.breadcrumb a:hover {
  color: var(--green-600);
}

.breadcrumb strong {
  color: var(--gray-800);
}

.detail-main {
  background: linear-gradient(180deg, #ffffff, var(--green-50));
}

.detail-hero {
  max-width: var(--max-width);
  margin: 22px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.detail-player-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--gray-950);
  box-shadow: var(--shadow-heavy);
  min-height: 360px;
}

.player-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-600);
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

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

.detail-info-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  border-radius: 26px;
  background: var(--white);
  padding: 18px;
  box-shadow: var(--shadow);
}

.detail-cover {
  width: 160px;
  height: 230px;
  border-radius: 18px;
  object-fit: cover;
}

.detail-info-text h1 {
  margin: 12px 0 10px;
  color: var(--gray-800);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
}

.detail-info-text p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.detail-meta {
  margin-bottom: 14px;
}

.detail-meta span {
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 13px;
}

.detail-meta b {
  color: var(--green-700);
  margin-right: 4px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags a {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 13px;
  font-weight: 700;
}

.detail-content {
  max-width: var(--max-width);
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  border-radius: 24px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.story-card h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 25px;
}

.story-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
}

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

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

.site-footer {
  margin-top: 42px;
  color: var(--gray-300);
  background: linear-gradient(90deg, var(--gray-900), var(--gray-800));
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 20px;
  display: flex;
  justify-content: space-between;
  gap: 26px;
}

.footer-inner h2 {
  margin: 0 0 8px;
  color: var(--white);
}

.footer-inner p {
  margin: 0;
  color: var(--gray-300);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--green-200);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  text-align: center;
  color: var(--gray-300);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

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

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

  .hero-slide {
    grid-template-columns: 1fr 280px;
  }

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

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

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-carousel {
    min-height: 690px;
  }

  .hero-slides {
    min-height: 560px;
    padding-top: 36px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: center;
  }

  .hero-poster {
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-control-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-search {
    width: 100%;
    max-width: none;
  }

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

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

  .movie-grid,
  .category-movie-grid,
  .category-grid,
  .category-grid.wide,
  .ranking-board,
  .related-grid,
  .detail-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-info-card {
    grid-template-columns: 140px 1fr;
  }

  .detail-cover {
    width: 140px;
    height: 204px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 62px;
    padding: 0 14px;
  }

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

  .hero-carousel {
    min-height: 760px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-mini-list,
  .movie-grid,
  .category-movie-grid,
  .category-grid,
  .category-grid.wide,
  .rank-list,
  .ranking-board,
  .related-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .rank-item,
  .ranking-row {
    grid-template-columns: 42px 58px 1fr;
  }

  .ranking-meta {
    display: none;
  }

  .simple-hero {
    margin: 20px 14px 0;
    border-radius: 22px;
  }

  .content-section {
    padding: 42px 14px;
  }

  .breadcrumb,
  .detail-hero,
  .detail-content {
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .detail-cover {
    width: 100%;
    height: auto;
    max-height: 420px;
  }

  .player-video,
  .detail-player-card {
    min-height: 230px;
  }
}
