:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --panel-deep: #020617;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --blue: #3b82f6;
  --blue-2: #06b6d4;
  --blue-deep: #1d4ed8;
  --yellow: #facc15;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.32);
}

.logo-text {
  background: linear-gradient(90deg, #bfdbfe, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #dbeafe;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #67e8f9;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #67e8f9;
}

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

.header-search {
  position: relative;
  width: min(280px, 24vw);
}

.header-search input,
.search-box input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  padding: 11px 18px 11px 42px;
}

.search-box input {
  padding: 16px 20px 16px 52px;
  font-size: 16px;
}

.header-search input:focus,
.search-box input:focus,
.filter-select:focus {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
  background: rgba(15, 23, 42, 0.98);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.78);
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.92);
}

.mobile-panel a {
  display: block;
  padding: 13px 0;
  color: #dbeafe;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: relative;
  min-height: 620px;
}

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

.hero-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: 42px;
  min-height: 620px;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.68) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.25) 46%, rgba(2, 6, 23, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 84px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.28);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.gradient-title {
  background: linear-gradient(90deg, #eff6ff 0%, #93c5fd 46%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 720px;
  margin: 0 0 30px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
}

.meta-row,
.tag-row,
.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-chip,
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 800;
}

.meta-chip {
  padding: 7px 13px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #dbeafe;
}

.tag-chip {
  padding: 7px 12px;
  background: rgba(30, 41, 59, 0.72);
  color: #cbd5e1;
  font-size: 13px;
}

.action-row {
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.button-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 16px 42px rgba(59, 130, 246, 0.32);
}

.button-secondary {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.68);
  color: #dbeafe;
}

.button-soft {
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(30, 64, 175, 0.22);
  color: #bfdbfe;
}

.button-primary:hover,
.button-secondary:hover,
.button-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(59, 130, 246, 0.28);
}

.hero-poster {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 430px);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.hero-poster-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 84px 24px 24px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0));
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.42);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: #67e8f9;
}

.section {
  padding: 72px 0 0;
}

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

.section-kicker {
  margin-bottom: 8px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-desc {
  max-width: 740px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.featured-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 538px;
}

.featured-card:hover,
.movie-card:hover,
.category-card:hover,
.rank-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.22);
}

.featured-card img,
.featured-card .missing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card::after,
.poster-frame::after,
.rank-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.05));
  opacity: 0.9;
  pointer-events: none;
}

.featured-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
}

.featured-content h3,
.movie-card h3,
.rank-title {
  margin: 0;
  color: var(--text);
  line-height: 1.35;
}

.featured-content p {
  margin: 10px 0 0;
  color: #cbd5e1;
  line-height: 1.65;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 12px 38px rgba(2, 6, 23, 0.26);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(96, 165, 250, 0.46);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.42), transparent 40%),
    linear-gradient(135deg, #0f172a, #1e3a8a 55%, #020617);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.poster-frame:hover img {
  transform: scale(1.08);
}

.poster-frame img.image-missing {
  opacity: 0;
}

.missing-image-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #bfdbfe;
  text-align: center;
  font-weight: 900;
  line-height: 1.45;
}

.poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.poster-frame:hover .poster-overlay {
  opacity: 1;
}

.play-dot {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 38px rgba(59, 130, 246, 0.46);
}

.score-badge,
.rank-number {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.76);
  color: #fde68a;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 14px;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  font-size: 16px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.card-desc {
  display: -webkit-box;
  min-height: 42px;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.22), transparent 46%),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 12px 38px rgba(2, 6, 23, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.category-card:hover {
  border-color: rgba(96, 165, 250, 0.42);
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-count {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 190px));
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.78);
}

.search-box {
  position: relative;
}

.filter-select {
  min-height: 53px;
  padding: 0 18px;
}

.result-count {
  margin-top: -10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rank-cover {
  position: relative;
  overflow: hidden;
  width: 112px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1e40af);
}

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

.rank-number {
  top: 8px;
  left: 8px;
  right: auto;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
}

.rank-info {
  min-width: 0;
}

.rank-title {
  font-size: 20px;
}

.rank-desc {
  display: -webkit-box;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.52)),
    radial-gradient(circle at 78% 10%, rgba(6, 182, 212, 0.22), transparent 28rem);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

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

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

.player-card,
.info-card,
.side-card,
.text-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.28);
}

.player-card {
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-wrap {
  position: relative;
  background: #000;
}

.video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.12)),
    radial-gradient(circle at center, rgba(59, 130, 246, 0.15), transparent 28rem);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-wrap.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 24px 70px rgba(59, 130, 246, 0.42);
  transition: transform 0.25s ease;
}

.player-button:hover {
  transform: scale(1.08);
}

.player-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
}

.info-card,
.text-card,
.side-card {
  padding: 24px;
}

.detail-title {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.text-card {
  margin-top: 24px;
}

.text-card h2,
.side-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.text-card p,
.info-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

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

.related-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.72);
  transition: background 0.25s ease, transform 0.25s ease;
}

.related-item:hover {
  background: rgba(51, 65, 85, 0.9);
  transform: translateX(3px);
}

.related-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #1e40af);
}

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

.related-item h3 {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(2, 6, 23, 0.96));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 46px 0;
}

.footer h3,
.footer h4 {
  margin: 0 0 14px;
}

.footer p,
.footer a,
.footer li {
  color: var(--muted);
  line-height: 1.8;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 14px;
}

.static-page {
  max-width: 880px;
  margin: 42px auto 0;
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.82);
}

.static-page h2 {
  margin: 28px 0 12px;
}

.static-page p {
  color: #cbd5e1;
  line-height: 1.9;
}

.no-results {
  display: none;
  padding: 40px;
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-xl);
  color: var(--muted);
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

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

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

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

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

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

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

  .hero-slide-inner {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 0;
  }

  .hero-poster {
    display: none;
  }

  .hero-content {
    padding-top: 90px;
  }

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

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

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

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .hero,
  .hero-slider {
    min-height: 660px;
  }

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

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

  .section {
    padding-top: 52px;
  }

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

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

  .featured-card:first-child {
    grid-column: span 2;
    min-height: 360px;
  }

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

  .rank-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rank-cover {
    width: 92px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .featured-card:first-child {
    grid-column: auto;
  }

  .logo {
    font-size: 20px;
  }
}
