:root {
  color-scheme: light;
  --page-bg: #f8fafc;
  --card-bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --line: #cbd5e1;
  --blue: #2563eb;
  --blue-deep: #1e3a8a;
  --cyan: #06b6d4;
  --cyan-soft: #cffafe;
  --dark: #020617;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 28px 75px rgba(15, 23, 42, 0.25);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 30rem),
    linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #f8fafc 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.28);
  transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.08) rotate(-2deg);
}

.logo-title {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #bfdbfe, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #bfdbfe;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.desktop-nav a,
.mobile-panel a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  color: #67e8f9;
}

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

.header-search input,
.hero-search input,
.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(203, 213, 225, 0.62);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  height: 40px;
  padding: 0 44px 0 16px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(148, 163, 184, 0.48);
}

.header-search input::placeholder {
  color: #94a3b8;
}

.header-search input:focus,
.hero-search input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.search-button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.28);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  background: #0f172a;
}

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

.mobile-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: grid;
  gap: 16px;
}

.mobile-nav {
  display: grid;
  gap: 12px;
  font-weight: 700;
}

.main-offset {
  padding-top: 64px;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.24), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(59, 130, 246, 0.24), transparent 26rem),
    linear-gradient(100deg, #0f172a 0%, #1e3a8a 48%, #0f172a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 42px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.16);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 24px 0 18px;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 950;
  background: linear-gradient(90deg, #67e8f9, #bfdbfe 54%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: #dbeafe;
  font-size: clamp(18px, 2.4vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 28px;
}

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 15px 32px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0891b2, #1d4ed8);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.45);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(12px);
}

.hero-search input {
  height: 48px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.35);
}

.hero-search button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  cursor: pointer;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-chips a,
.tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.hero-chips a {
  padding: 8px 13px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 750;
}

.hero-chips a:hover {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.42);
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

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

.hero-card-content {
  position: relative;
  padding: 24px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.78));
}

.hero-card-content h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.hero-card-content p {
  margin: 0 0 18px;
  color: #cbd5e1;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 28px;
  background: #22d3ee;
}

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

.page-section {
  padding: 58px 0;
}

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

.section-title {
  margin: 0;
  color: #1e293b;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 950;
}

.section-desc {
  margin: 9px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.section-link {
  color: #2563eb;
  font-weight: 850;
  white-space: nowrap;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

.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-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 48%);
}

.card-year {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 850;
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-card-body {
  padding: 13px 13px 15px;
}

.movie-card h3 {
  margin: 0;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.movie-card h3 a:hover {
  color: #2563eb;
}

.card-meta {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-line {
  margin: 9px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-tile {
  display: block;
  min-height: 170px;
  padding: 24px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 0%, rgba(103, 232, 249, 0.32), transparent 12rem),
    linear-gradient(135deg, #1e3a8a, #0f172a);
  box-shadow: 0 18px 45px rgba(30, 58, 138, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile strong {
  display: block;
  font-size: 23px;
  font-weight: 950;
}

.category-tile span {
  display: block;
  margin-top: 10px;
  color: #dbeafe;
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: 76px 0 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.24), transparent 24rem),
    linear-gradient(100deg, #0f172a, #1e3a8a 56%, #0f172a);
  overflow: hidden;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.filter-panel {
  margin: 34px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.filter-input,
.filter-select {
  height: 46px;
  padding: 0 14px;
  color: #0f172a;
  background: #ffffff;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 64px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.rank-poster {
  overflow: hidden;
  width: 76px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  background: #0f172a;
}

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

.rank-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 950;
}

.rank-info h3 a:hover {
  color: #2563eb;
}

.rank-info p {
  margin: 0;
  color: #64748b;
}

.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  color: #2563eb;
  font-weight: 850;
  background: #dbeafe;
}

.detail-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.22), transparent 30rem),
    linear-gradient(105deg, #020617, #1e3a8a 60%, #0f172a);
}

.detail-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 58px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  background: #0f172a;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.detail-line {
  margin: 0 0 18px;
  max-width: 780px;
  color: #dbeafe;
  font-size: 19px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.meta-pill {
  padding: 7px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 780;
}

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

.player-card,
.article-card,
.related-card {
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.player-card {
  margin-top: -22px;
  padding: 22px;
}

.player-card h2,
.article-card h2,
.related-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 950;
  color: #1e293b;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
  cursor: pointer;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(1.05);
}

.player-cover span {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.42);
  font-size: 30px;
  transform: translateX(2px);
}

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

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

.article-card,
.related-card {
  padding: 24px;
}

.article-card p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 16px;
}

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

.tag {
  padding: 7px 11px;
  color: #0e7490;
  background: #cffafe;
  font-size: 13px;
  font-weight: 850;
}

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

.related-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 14px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.related-item img {
  width: 68px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
  background: #0f172a;
}

.related-item strong {
  display: block;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.35;
}

.related-item span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
}

.empty-state {
  display: none;
  padding: 42px 20px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 22px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
}

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

.site-footer {
  margin-top: 54px;
  color: #cbd5e1;
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 750;
}

.footer-links a:hover {
  color: #67e8f9;
}

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

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

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

  .hero-showcase {
    min-height: 520px;
  }

  .detail-poster {
    width: min(320px, 100%);
  }

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

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

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

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

  .logo-subtitle {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 24px, 1180px);
    padding: 48px 0 46px;
    gap: 30px;
  }

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

  .hero-search button {
    width: 100%;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .hero-card img {
    height: 300px;
  }

  .page-section,
  .page-container,
  .detail-hero-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

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

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

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

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

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

  .rank-action {
    grid-column: 1 / -1;
  }

  .detail-hero-inner {
    padding-top: 28px;
  }

  .player-card {
    padding: 14px;
  }
}

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

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

  .hero-card-content h2 {
    font-size: 23px;
  }
}
