:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --rose-500: #f43f5e;
  --green-500: #22c55e;
  --teal-500: #14b8a6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(146, 64, 14, 0.13);
  --shadow-card: 0 18px 40px rgba(17, 24, 39, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 36%, #fff7ed 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
  box-shadow: 0 10px 30px rgba(146, 64, 14, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500), var(--rose-500));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, #92400e, var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  font-weight: 700;
  color: var(--gray-700);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: var(--amber-50);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--amber-600);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-link {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--amber-50);
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-link.is-active {
  color: var(--amber-600);
  background: var(--amber-100);
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 48%, #f43f5e 100%);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    radial-gradient(circle at 78% 15%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.1));
}

.hero-bg-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(18px);
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-bg-one {
  top: 70px;
  left: 8%;
}

.hero-bg-two {
  right: 8%;
  bottom: 90px;
  animation-delay: 1.6s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.06);
  }
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-slide {
  width: 100%;
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 54px;
  padding: 84px 0 110px;
}

.hero-slide.is-active {
  display: grid;
  animation: heroIn 0.55s ease both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--amber-600);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.hero-subtitle {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.hero-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-actions,
.cta-card .primary-button {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.primary-button {
  color: var(--amber-600);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(146, 64, 14, 0.24);
}

.primary-button:hover,
.quick-search-form button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 44px rgba(146, 64, 14, 0.3);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  min-height: 460px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(76, 29, 149, 0.28);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(17, 24, 39, 0.55));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 24px;
  line-height: 1;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: var(--white);
}

.quick-search-section {
  position: relative;
  margin-top: -48px;
  z-index: 4;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.quick-search-card h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.content-panel h2,
.cta-card h2 {
  margin: 0;
  color: var(--gray-800);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.quick-search-card h2 {
  font-size: clamp(24px, 3.2vw, 36px);
}

.quick-search-form {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
}

.quick-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--gray-800);
}

.quick-search-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.section-block {
  padding: 74px 0;
  background: var(--white);
}

.section-light {
  background: linear-gradient(180deg, #ffffff 0%, var(--amber-50) 100%);
}

.section-warm {
  background: linear-gradient(180deg, var(--amber-50) 0%, #fff7ed 100%);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(28px, 4.2vw, 44px);
}

.section-heading p,
.page-hero p,
.detail-one-line,
.content-panel p,
.cta-card p,
.overview-body p,
.category-card p {
  color: var(--gray-600);
  font-size: 17px;
}

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 24px;
  overflow-x: auto;
  padding: 8px 2px 26px;
  scroll-snap-type: x proximity;
}

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

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

.catalog-grid,
.ranking-grid {
  margin-top: 28px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245, 158, 11, 0.28);
}

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

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

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

.type-badge,
.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.16);
}

.type-badge {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  background: var(--amber-500);
}

.score-badge {
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(17, 24, 39, 0.82);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

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

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.28;
}

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

.movie-meta {
  margin: 0 0 10px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 800;
}

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

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-50);
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
}

.large-tag {
  min-height: 34px;
  padding: 4px 13px;
  font-size: 13px;
}

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

.category-card,
.overview-card,
.content-panel,
.detail-card,
.filter-panel,
.cta-card {
  border: 1px solid rgba(217, 119, 6, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(146, 64, 14, 0.08);
}

.category-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-thumbs,
.overview-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 16px;
}

.category-thumbs img,
.overview-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-card h3,
.overview-body h2 {
  margin: 0 0 8px;
  color: var(--gray-800);
}

.category-card p,
.overview-body p {
  margin: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 38px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.rank-row {
  display: grid;
  grid-template-columns: 46px 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
  transition: transform 0.18s ease;
}

.rank-row:hover {
  transform: translateX(4px);
}

.rank-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-weight: 950;
  background: linear-gradient(135deg, var(--amber-500), var(--rose-500));
}

.rank-row img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-title {
  font-weight: 900;
  color: var(--gray-800);
}

.rank-score {
  color: var(--amber-600);
  font-weight: 950;
}

.text-link {
  display: inline-flex;
  color: var(--amber-600);
  font-weight: 900;
}

.cta-section {
  padding: 72px 0 96px;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
}

.cta-card {
  padding: 46px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.cta-card h2 {
  color: var(--white);
  font-size: clamp(30px, 5vw, 48px);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 14px auto 28px;
  max-width: 720px;
}

.page-main {
  background: linear-gradient(180deg, var(--amber-50), #ffffff 42%);
}

.page-hero {
  padding: 70px 0 56px;
  background: linear-gradient(135deg, var(--amber-50), #fff7ed);
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
}

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

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

.overview-grid {
  display: grid;
  gap: 24px;
}

.overview-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.overview-cover {
  margin: 0;
}

.overview-body {
  padding: 4px 0;
}

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.overview-links a {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 900;
}

.search-field {
  margin-bottom: 14px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  color: var(--gray-800);
  background: var(--white);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

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

.empty-result {
  display: none;
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 18px;
  background: var(--amber-50);
  color: var(--amber-600);
  font-weight: 900;
  text-align: center;
}

.empty-result.is-visible {
  display: block;
}

.detail-page {
  background: linear-gradient(180deg, var(--amber-50), #ffffff 58%);
}

.detail-wrap {
  padding: 34px 0 0;
}

.detail-breadcrumb {
  margin-bottom: 22px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.player-column {
  background: #000000;
}

.player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #050505;
  overflow: hidden;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  border: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.34), rgba(17, 24, 39, 0.76));
  font-size: 18px;
  font-weight: 950;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--amber-600);
  background: var(--white);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
  font-size: 30px;
}

.detail-info {
  padding: 34px;
  background: var(--white);
}

.detail-info h1 {
  font-size: clamp(30px, 4.6vw, 48px);
}

.detail-one-line {
  margin: 18px 0 24px;
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.detail-meta-list div {
  padding: 12px;
  border-radius: 16px;
  background: var(--amber-50);
}

.detail-meta-list dt {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 900;
}

.detail-meta-list dd {
  margin: 4px 0 0;
  color: var(--gray-800);
  font-weight: 900;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.content-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.content-panel h2 {
  font-size: 28px;
}

.content-panel p {
  margin: 14px 0 0;
  line-height: 1.88;
}

.accent-panel {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

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

.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 42px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 24px;
  font-weight: 950;
}

.footer-grid p {
  margin: 0;
}

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

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

.footer-copy {
  padding-top: 22px;
  font-size: 14px;
}

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

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

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

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

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-slider,
  .hero-stage {
    min-height: auto;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 54px 0 104px;
    gap: 30px;
  }

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

  .hero-poster img {
    min-height: 360px;
  }

  .quick-search-card,
  .split-layout,
  .detail-card,
  .detail-content-grid,
  .overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .player-box {
    min-height: 260px;
  }
}

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

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

  .quick-search-form {
    border-radius: 22px;
    flex-direction: column;
    padding: 12px;
  }

  .quick-search-form input {
    min-height: 46px;
  }

  .filter-row,
  .movie-grid,
  .small-grid,
  .category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 38px 48px 1fr;
  }

  .rank-score {
    grid-column: 3;
  }

  .detail-info,
  .content-panel,
  .cta-card {
    padding: 22px;
  }

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