:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --amber-50: #fffbeb;
  --amber-600: #d97706;
  --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-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  gap: 10px;
  color: var(--green-800);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.28);
}

.brand-title {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--green-600);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-800);
  background: var(--green-50);
}

.header-search {
  position: relative;
  width: 230px;
}

.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 0 46px 0 16px;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-600);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-800);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.main {
  min-height: 70vh;
}

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

.section {
  padding: 64px 0;
}

.section.compact {
  padding: 36px 0;
}

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

.section-kicker {
  margin: 0 0 6px;
  color: var(--green-700);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 900;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--gray-600);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--green-800);
  font-weight: 800;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(circle at 12% 22%, rgba(34, 197, 94, 0.24), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(135deg, #052e16 0%, #14532d 44%, #101827 100%);
  color: var(--white);
}

.hero-track {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.64) 46%, rgba(3, 7, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.12));
  content: "";
}

.hero-slide-image {
  position: absolute;
  inset: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  min-height: 680px;
  margin: 0 auto;
  padding: 110px 20px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(187, 247, 208, 0.24);
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.52);
  color: #bbf7d0;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

.hero-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hero-movie {
  margin: 18px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 900;
  color: #dcfce7;
}

.hero-description {
  margin: 18px 0 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 16px 28px rgba(22, 163, 74, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-light {
  color: var(--green-800);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.hero-tags a {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 750;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-panel img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-panel-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(3, 7, 18, 0.64);
  backdrop-filter: blur(12px);
}

.hero-panel-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 20px;
}

.hero-panel-meta span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.hero-dot {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active {
  width: 66px;
  background: var(--green-500);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

.category-card {
  position: relative;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(22, 101, 52, 0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card::after {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.10);
  content: "";
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: var(--shadow-md);
}

.category-card h2,
.category-card h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 900;
}

.category-card p {
  margin: 10px 0 0;
  color: var(--gray-600);
}

.category-card .category-count {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-50);
  font-size: 13px;
  font-weight: 800;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22, 101, 52, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: var(--shadow-md);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #d1fae5, #fef3c7);
}

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

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

.movie-cover .rank-mark {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), #f97316);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.movie-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-region {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-50);
  font-weight: 800;
}

.movie-title {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
}

.movie-title a:hover {
  color: var(--green-700);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 700;
}

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

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

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  font-weight: 950;
}

.rank-info h3 {
  margin: 0 0 4px;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.3;
}

.rank-info p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.page-hero {
  padding: 64px 0 42px;
  background:
    radial-gradient(circle at 18% 30%, rgba(34, 197, 94, 0.18), transparent 30%),
    linear-gradient(135deg, #ecfdf5, #ffffff 62%, #f8fafc);
  border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 800px;
  margin: 16px 0 0;
  color: var(--gray-600);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb span {
  color: var(--gray-500);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(22, 101, 52, 0.10);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.empty-message {
  display: none;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 800;
  text-align: center;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-main {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--gray-950);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-950);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 44%, rgba(34, 197, 94, 0.24), transparent 24%),
    linear-gradient(0deg, rgba(3, 7, 18, 0.68), rgba(3, 7, 18, 0.22));
  cursor: pointer;
  z-index: 2;
}

.player-overlay.hidden {
  display: none;
}

.play-button {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--white);
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(22, 163, 74, 0.34);
}

.play-label {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.54);
  font-weight: 900;
}

.detail-title {
  margin: 26px 0 12px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.meta-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 14px;
  font-weight: 800;
}

.content-card {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  margin: 0 0 12px;
  color: var(--gray-900);
  font-size: 24px;
  font-weight: 900;
}

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

.side-card {
  padding: 18px;
  border: 1px solid rgba(22, 101, 52, 0.08);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 20px;
  font-weight: 900;
}

.side-cover {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  background: var(--green-50);
}

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

.related-list {
  display: grid;
  gap: 12px;
}

.related-mini {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.related-mini:hover {
  background: var(--green-50);
}

.related-mini img {
  width: 72px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
}

.related-mini strong {
  display: block;
  color: var(--gray-900);
  line-height: 1.35;
}

.related-mini span {
  display: block;
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 13px;
}

.pagination-note {
  margin-top: 22px;
  color: var(--gray-500);
  font-size: 14px;
}

.site-footer {
  margin-top: 60px;
  background: linear-gradient(180deg, var(--gray-900), var(--gray-800));
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 46px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.footer-title .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

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

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

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .header-search {
    width: 190px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-panel {
    display: none;
  }

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

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

@media (max-width: 780px) {
  .header-inner {
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

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

  .brand-subtitle {
    display: none;
  }

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

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

  .site-header.open .site-nav {
    display: grid;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .site-header.open .header-search {
    display: block;
    position: absolute;
    left: 30px;
    right: 30px;
    top: 304px;
    width: auto;
    z-index: 52;
  }

  .hero-slider,
  .hero-track,
  .hero-content {
    min-height: 610px;
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 76px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .section {
    padding: 46px 0;
  }

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

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

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

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

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

@media (max-width: 520px) {
  .container,
  .header-inner,
  .hero-content,
  .footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-movie {
    font-size: 23px;
  }

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

  .btn {
    width: 100%;
  }

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

  .movie-cover {
    aspect-ratio: 16 / 10;
  }

  .movie-card .movie-cover {
    max-height: 280px;
  }

  .content-card {
    padding: 20px;
  }

  .play-button {
    width: 74px;
    height: 74px;
    font-size: 28px;
  }
}
