:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --accent: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #ea580c, #dc2626);
  box-shadow: 0 12px 30px rgba(194, 65, 12, 0.28);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

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

.nav-link:hover,
.nav-link.active {
  color: #fef3c7;
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.quick-search-panel input,
.category-filter input,
.search-page-form input {
  width: 260px;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  outline: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search-panel input:focus,
.category-filter input:focus,
.search-page-form input:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(254, 243, 199, 0.55);
}

.header-search button,
.mobile-search button,
.quick-search-panel button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: #111827;
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 20px 20px;
  background: #c2410c;
}

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

.mobile-nav-link {
  display: block;
  color: #fff;
  font-weight: 800;
  padding: 12px 0;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: #fef3c7;
}

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

.mobile-search input {
  width: 100%;
}

main {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  height: clamp(430px, 68vw, 640px);
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 32%, rgba(251, 146, 60, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.24)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 52px;
  color: #fff;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ea580c;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fde68a;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-line {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.4vw, 22px);
}

.hero-meta,
.movie-meta,
.detail-meta-grid,
.hero-tags,
.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-meta span,
.hero-tags span,
.tag-row span,
.tag-cloud span {
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags {
  margin-top: 18px;
}

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

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #f97316, #dc2626);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 2 / 3;
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
  font-weight: 900;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.quick-search-panel,
.content-section,
.split-section,
.page-main,
.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.quick-search-panel {
  position: relative;
  z-index: 4;
  margin-top: -44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-search-panel h2 {
  margin: 6px 0 0;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.25;
}

.quick-search-panel form,
.search-page-form {
  display: flex;
  gap: 10px;
}

.quick-search-panel input,
.search-page-form input {
  width: 100%;
  background: #f3f4f6;
}

.content-section {
  margin-top: 58px;
}

.content-section.flush-top {
  margin-top: 30px;
}

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

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2,
.page-hero h1,
.detail-info h1 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-more {
  color: var(--primary);
  font-weight: 900;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 180px;
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.category-tile h3,
.category-overview-card h2 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.category-tile p,
.category-tile small,
.category-overview-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
}

.category-count {
  position: relative;
  z-index: 1;
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
  font-size: 13px;
}

.accent-amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.accent-red { background: linear-gradient(135deg, #ef4444, #be123c); }
.accent-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.accent-violet { background: linear-gradient(135deg, #8b5cf6, #dc2626); }
.accent-pink { background: linear-gradient(135deg, #ec4899, #f97316); }
.accent-slate { background: linear-gradient(135deg, #334155, #111827); }
.accent-indigo { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.accent-emerald { background: linear-gradient(135deg, #10b981, #0f766e); }
.accent-blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-card.hidden {
  display: none;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fecaca);
}

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

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: rgba(234, 88, 12, 0.82);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rank-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  min-width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
  font-weight: 900;
}

.movie-info {
  padding: 16px;
}

.movie-meta {
  gap: 7px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 7px;
  color: #d1d5db;
}

.movie-info h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-info h3 a:hover {
  color: var(--primary);
}

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

.tag-row span,
.tag-cloud span {
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.panel-card,
.detail-article,
.detail-side,
.player-section,
.page-hero,
.detail-hero {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.panel-card {
  padding: 24px;
}

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

.horizontal-list.mini {
  margin: 18px 0;
}

.horizontal-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-item:hover {
  background: #fff7ed;
  transform: translateX(3px);
}

.horizontal-item img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: #fed7aa;
}

.horizontal-item strong,
.horizontal-item small {
  display: block;
}

.horizontal-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizontal-item small {
  color: var(--muted);
}

.horizontal-rank {
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  align-self: start;
  justify-self: start;
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.page-main {
  padding: 34px 0 72px;
}

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

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

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 5vw, 46px);
}

.page-hero.small-hero {
  display: block;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #ea580c, #dc2626);
}

.page-hero.small-hero .section-kicker,
.category-hero .section-kicker {
  color: #fef3c7;
}

.page-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.category-filter input {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
}

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

.category-overview-card {
  min-height: 0;
}

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

.compact-card .movie-info p {
  min-height: 0;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-list-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.rank-list-row:hover {
  color: var(--primary);
}

.rank-number {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #111827;
  font-weight: 900;
}

.rank-list-row em {
  color: var(--muted);
  font-style: normal;
}

.detail-page {
  padding-top: 24px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.16), transparent 34%),
    #fff;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 2 / 3;
  background: #fed7aa;
  box-shadow: var(--shadow);
}

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

.detail-one-line {
  margin: 14px 0 20px;
  color: #4b5563;
  font-size: 19px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.detail-meta-grid span {
  border-radius: 16px;
  padding: 12px;
  background: #f9fafb;
  color: #374151;
}

.detail-meta-grid strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-tags span {
  background: #fff7ed;
  color: #c2410c;
}

.player-section {
  margin-top: 28px;
  padding: 24px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle, rgba(249, 115, 22, 0.28), rgba(15, 23, 42, 0.78)),
    rgba(2, 6, 23, 0.56);
  cursor: pointer;
  text-align: center;
}

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

.big-play {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 18px 44px rgba(220, 38, 38, 0.35);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay small {
  color: rgba(255, 255, 255, 0.78);
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  margin: 0;
  color: #fecaca;
  text-align: center;
  font-weight: 700;
}

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

.detail-article,
.detail-side {
  padding: 26px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-article p {
  color: #374151;
  font-size: 17px;
  white-space: pre-line;
}

.tag-cloud {
  gap: 8px;
}

.side-link {
  display: block;
  margin-top: 18px;
  border-radius: 16px;
  padding: 12px 14px;
  color: #c2410c;
  background: #fff7ed;
  font-weight: 900;
  text-align: center;
}

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

.empty-state {
  display: none;
  margin-top: 24px;
  border-radius: 16px;
  padding: 18px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
  text-align: center;
}

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

.site-footer {
  margin-top: 80px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-column p,
.footer-column li {
  color: #9ca3af;
}

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

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a:hover {
  color: #fed7aa;
}

.footer-badge {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.13);
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 24px;
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .header-search {
    display: none;
  }

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

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

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

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

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .hero-poster {
    display: none;
  }

  .quick-search-panel,
  .split-section,
  .page-hero,
  .detail-hero,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 20px, 1180px);
  }

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

  .hero-carousel {
    height: 560px;
  }

  .hero-control {
    display: none;
  }

  .quick-search-panel,
  .content-section,
  .split-section,
  .page-main,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 20px, 1180px);
  }

  .quick-search-panel form,
  .search-page-form,
  .mobile-search {
    flex-direction: column;
  }

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

  .category-tile {
    min-height: 160px;
    padding: 18px;
  }

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

  .rank-list-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rank-list-row em {
    grid-column: 2;
  }

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

  .player-section {
    padding: 14px;
  }

  .detail-article,
  .detail-side {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .category-grid,
  .movie-grid,
  .ranking-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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