
:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --rose-600: #e11d48;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 14px 38px rgba(17, 24, 39, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --site-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background:
    radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.18), transparent 32rem),
    linear-gradient(180deg, #fffdf7 0%, #ffffff 34%, #f9fafb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-weight: 900;
  font-size: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  box-shadow: 0 16px 30px rgba(180, 83, 9, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.04);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--amber-800), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--gray-500);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--gray-700);
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--amber-700);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--amber-800);
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--gray-900);
}

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

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

.hero-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(245, 158, 11, 0.36), transparent 24rem),
    linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.38) 50%, rgba(17, 24, 39, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 54px;
  min-height: 680px;
  padding: 84px 0 112px;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-600);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: var(--amber-100);
}

.hero-copy h1 {
  max-width: 790px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--amber-800);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--amber-100);
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-700));
  box-shadow: 0 16px 32px rgba(217, 119, 6, 0.28);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(217, 119, 6, 0.34);
}

.ghost-button {
  color: var(--amber-800);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: var(--amber-50);
}

.compact-button {
  min-height: 42px;
  margin-top: 18px;
}

.text-link {
  min-height: 38px;
  padding: 0 0;
  color: var(--amber-700);
}

.text-link:hover {
  transform: translateX(3px);
}

.hero-poster-wrap {
  position: relative;
}

.hero-poster-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.55), rgba(225, 29, 72, 0.38));
  filter: blur(8px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 2.75;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.hero-controls button {
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 34px !important;
  height: 8px !important;
  padding: 0;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.34) !important;
}

.hero-dot.is-active {
  background: var(--amber-500) !important;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.stats-panel div {
  padding: 24px;
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.stats-panel strong {
  display: block;
  color: var(--amber-700);
  font-size: 34px;
  line-height: 1;
}

.stats-panel span {
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
}

.section-block {
  padding: 76px 0 0;
}

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

.section-heading h2,
.simple-hero h1,
.split-section h2 {
  margin: 8px 0 8px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p,
.simple-hero p,
.split-section p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-500);
}

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

.category-tile {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(217, 119, 6, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-tile strong {
  color: var(--gray-900);
  font-size: 22px;
}

.category-tile span {
  color: var(--gray-500);
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 119, 6, 0.32);
  box-shadow: var(--shadow-soft);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 2.85;
  background: linear-gradient(135deg, var(--amber-100), var(--gray-100));
}

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

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

.poster-badge,
.poster-year {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.poster-badge {
  left: 12px;
}

.poster-year {
  right: 12px;
  background: rgba(217, 119, 6, 0.86);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-line a {
  color: var(--amber-700);
}

.movie-card h3 {
  margin: 9px 0 8px;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.24;
}

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

.movie-card-compact .movie-card-body {
  padding: 14px;
}

.movie-card-compact h3 {
  font-size: 17px;
}

.movie-card-compact p {
  min-height: 44px;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 54px 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-600), var(--rose-600));
}

.ranking-thumb {
  overflow: hidden;
  aspect-ratio: 2 / 2.7;
  border-radius: 12px;
  background: var(--amber-100);
}

.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-info h3 {
  margin: 0 0 4px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.28;
}

.ranking-info p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

.page-main {
  padding: 44px 0 88px;
}

.page-hero {
  margin-bottom: 32px;
}

.simple-hero {
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at right top, rgba(245, 158, 11, 0.26), transparent 26rem),
    linear-gradient(135deg, #ffffff, #fffbeb);
  box-shadow: var(--shadow-card);
}

.filter-panel {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 0 0 26px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.filter-panel label,
.field-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  outline: none;
}

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

.filter-panel > label {
  min-width: 150px;
}

.filter-panel > input {
  flex: 1;
}

.filter-result {
  min-width: max-content;
  color: var(--amber-700);
  font-weight: 900;
}

.advanced-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 170px auto;
  align-items: end;
}

.field-wide {
  min-width: 0;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 2 / 2.75;
  object-fit: cover;
  border-radius: 12px;
  background: var(--amber-100);
}

.category-overview-card h2 {
  margin: 8px 0;
  color: var(--gray-900);
}

.category-overview-card p {
  color: var(--gray-500);
}

.full-ranking .ranking-item {
  grid-template-columns: 64px 88px minmax(0, 1fr);
}

.detail-main {
  padding-bottom: 86px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.28), transparent 30rem);
}

.detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: 590px;
  padding: 58px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-100);
}

.detail-info h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.8vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.detail-info p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: #000000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--white);
  font-weight: 900;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 6px;
  color: var(--amber-700);
  font-size: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  padding-top: 54px;
}

.detail-article,
.detail-side-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-article {
  padding: 34px;
}

.detail-article h2 {
  margin: 0 0 12px;
  color: var(--gray-900);
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 32px;
}

.detail-article p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.movie-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.movie-facts div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.movie-facts dt {
  color: var(--gray-500);
  font-weight: 900;
}

.movie-facts dd {
  margin: 0;
  color: var(--gray-900);
}

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

.inline-tags span {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-800);
  font-size: 12px;
  font-weight: 900;
}

.detail-side-card {
  align-self: start;
  overflow: hidden;
  padding: 14px;
}

.detail-side-card img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  border-radius: 14px;
  background: var(--amber-100);
}

.detail-side-card .primary-button {
  width: 100%;
  margin-top: 14px;
}

.site-footer {
  margin-top: 90px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--gray-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 38px;
  padding: 54px 0 36px;
}

.footer-brand {
  color: var(--amber-400, #fbbf24);
  font-size: 26px;
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fbbf24;
  font-size: 18px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.plain-index {
  columns: 4 220px;
  padding-left: 20px;
}

.plain-index li {
  break-inside: avoid;
  margin-bottom: 8px;
}

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

@media (max-width: 1100px) {
  .hero-content,
  .detail-layout,
  .split-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster-wrap {
    max-width: 360px;
  }

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

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

@media (max-width: 820px) {
  .mobile-menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

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

  .hero-content {
    padding-top: 54px;
    gap: 30px;
  }

  .hero-poster-wrap {
    max-width: 280px;
  }

  .stats-panel,
  .category-grid,
  .movie-grid,
  .movie-grid-small,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .detail-layout {
    min-height: auto;
    padding: 44px 0;
  }
}

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

  .brand-text strong {
    font-size: 22px;
  }

  .hero-copy h1,
  .detail-info h1 {
    letter-spacing: -0.045em;
  }

  .hero-copy p,
  .detail-info p {
    font-size: 16px;
  }

  .hero-controls {
    bottom: 18px;
  }

  .stats-panel,
  .category-grid,
  .movie-grid,
  .movie-grid-small,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .simple-hero,
  .detail-article {
    padding: 24px;
  }

  .ranking-item,
  .full-ranking .ranking-item {
    grid-template-columns: 44px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .player-play-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
