:root {
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --orange-50: #fff7ed;
  --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-md: 0 10px 30px rgba(120, 53, 15, 0.12);
  --shadow-xl: 0 25px 55px rgba(120, 53, 15, 0.22);
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  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", Arial, sans-serif;
  background: linear-gradient(180deg, var(--amber-50), var(--orange-50));
  color: var(--gray-900);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--amber-900), var(--orange-700), var(--amber-900));
  color: var(--white);
  box-shadow: 0 10px 35px rgba(69, 26, 3, 0.25);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong,
.footer-brand strong {
  font-size: 21px;
  letter-spacing: 0.03em;
}

.brand small,
.footer-brand small {
  margin-top: 3px;
  color: #fde68a;
  font-size: 12px;
}

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

.main-nav a,
.nav-dropdown > button {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active,
.nav-dropdown > button:hover {
  color: #fde68a;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 220px;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  color: var(--gray-800);
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-dropdown-panel a:hover {
  background: var(--amber-50);
  color: var(--orange-700);
}

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

.header-search input {
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
}

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

.header-search input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.28);
}

.header-search button,
.primary-button,
.large-search button {
  border: 0;
  border-radius: 999px;
  background: var(--orange-600);
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.25);
  transition: 0.2s ease;
}

.header-search button:hover,
.primary-button:hover,
.large-search button:hover {
  background: var(--orange-700);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 16px 18px;
}

.mobile-panel a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--amber-900), var(--orange-700), var(--amber-900));
}

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

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

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

.hero-slide img {
  position: absolute;
  right: 8%;
  top: 8%;
  width: min(36vw, 420px);
  height: 82%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(69, 26, 3, 0.94), rgba(146, 64, 14, 0.85) 48%, rgba(69, 26, 3, 0.62));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 96px 0;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.95);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  margin-bottom: 14px;
}

.section-kicker {
  color: var(--orange-700);
  background: #ffedd5;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero h2 {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 42px);
}

.hero p {
  max-width: 620px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff7ed;
  backdrop-filter: blur(8px);
}

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

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: 0.2s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.24);
}

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

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

.hero-dot.active {
  width: 34px;
  background: var(--white);
}

.main-content {
  padding-top: 48px;
  padding-bottom: 48px;
}

.content-section {
  margin-bottom: 64px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
}

.section-heading a {
  color: var(--orange-600);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

.movie-card:hover .movie-poster img,
.mini-poster:hover img,
.related-row:hover img {
  transform: scale(1.08);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
  opacity: 1;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amber-900);
  opacity: 0;
  transition: 0.25s ease;
}

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

.poster-type,
.poster-year {
  position: absolute;
  top: 10px;
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
  backdrop-filter: blur(8px);
}

.poster-type {
  left: 10px;
  background: rgba(120, 53, 15, 0.86);
}

.poster-year {
  right: 10px;
  background: rgba(0, 0, 0, 0.56);
}

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

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--orange-700);
}

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

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

.movie-meta span:first-child {
  color: var(--amber-700);
  background: var(--amber-50);
  border-radius: 8px;
  padding: 5px 8px;
  font-weight: 700;
  white-space: nowrap;
}

.movie-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 12px;
  padding: 5px 9px;
}

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

.mini-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  background: #fed7aa;
}

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

.mini-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.mini-poster span,
.mini-poster strong {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  color: var(--white);
}

.mini-poster span {
  top: 12px;
  width: fit-content;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.52);
  padding: 4px 7px;
  font-size: 12px;
}

.mini-poster strong {
  bottom: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 86px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-xl);
}

.rank-number {
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-300);
  text-align: center;
}

.top-rank .rank-number {
  color: var(--orange-600);
}

.ranking-row img {
  width: 86px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #fed7aa;
}

.ranking-text {
  min-width: 0;
}

.ranking-text strong,
.ranking-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-text small {
  margin-top: 4px;
  color: var(--gray-500);
}

.ranking-arrow {
  color: var(--orange-600);
  font-size: 30px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--amber-900), var(--orange-700));
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.small-hero {
  padding: 42px;
  margin-bottom: 32px;
}

.small-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
}

.small-hero p {
  max-width: 760px;
  margin: 0;
  color: #ffedd5;
  line-height: 1.8;
}

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

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

.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stats-panel > div,
.filter-panel,
.search-panel,
.detail-card,
.related-panel,
.cover-card,
.sitemap-list {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.stats-panel h2 {
  margin: 0 0 14px;
}

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

.stat-tags span {
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-800);
  padding: 8px 12px;
  font-weight: 700;
}

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: 0.25s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 170px;
  background: #fed7aa;
}

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

.category-card-body {
  padding: 22px;
}

.category-card-body h2 {
  margin: 0 0 10px;
}

.category-card-body p {
  min-height: 52px;
  margin: 0 0 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

.category-card-body span {
  color: var(--orange-700);
  font-weight: 800;
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 16px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 700;
}

.filter-grid input,
.filter-grid select,
.large-search input {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  outline: none;
  padding: 12px 14px;
  background: var(--white);
  color: var(--gray-900);
}

.filter-grid input:focus,
.filter-grid select:focus,
.large-search input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.filter-count {
  margin: 16px 0 0;
  color: var(--gray-600);
}

.category-card-grid {
  margin-top: 28px;
}

.large-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-summary {
  margin: 16px 0 0;
  color: var(--gray-600);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

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

.player-card {
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: var(--shadow-xl);
  margin-bottom: 24px;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
  cursor: pointer;
  transition: 0.25s ease;
}

.player-card.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--amber-900);
  font-size: 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.player-overlay strong {
  max-width: 80%;
  font-size: 22px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
}

.player-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.player-shell:hover .player-controls,
.player-card.is-paused .player-controls {
  opacity: 1;
}

.player-controls button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(8px);
  padding: 9px 13px;
  cursor: pointer;
}

.player-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

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

.detail-meta span {
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-800);
  padding: 7px 12px;
  font-weight: 800;
}

.detail-card section {
  margin-top: 28px;
}

.detail-card h2,
.related-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-card p {
  color: var(--gray-700);
  line-height: 1.9;
  margin: 0;
}

.review-box {
  border-left: 5px solid var(--orange-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--amber-50);
  padding: 18px;
}

.large-tags span {
  font-size: 14px;
  padding: 7px 12px;
}

.detail-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: #fed7aa;
}

.cover-card strong,
.cover-card span {
  display: block;
}

.cover-card strong {
  margin-top: 14px;
  font-size: 20px;
}

.cover-card span {
  margin-top: 6px;
  color: var(--gray-600);
}

.related-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  margin: 0 -10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.related-row:hover {
  background: var(--gray-100);
}

.related-row img {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
  background: #fed7aa;
}

.related-row span {
  min-width: 0;
}

.related-row strong,
.related-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-row small {
  margin-top: 5px;
  color: var(--gray-500);
}

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

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

.sitemap-list ul {
  columns: 3;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-list li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.sitemap-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--gray-100);
}

.sitemap-list a:hover {
  background: var(--amber-50);
  color: var(--orange-700);
}

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

.site-footer {
  margin-top: 48px;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-900), var(--amber-950), var(--amber-900));
}

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

.site-footer p,
.site-footer li,
.site-footer a {
  color: #fde68a;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  color: #fde68a;
}

[data-filter-card].is-hidden {
  display: none;
}

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

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

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

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

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

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    min-height: 660px;
  }

  .hero-slide img {
    right: 18px;
    top: auto;
    bottom: 72px;
    width: 42%;
    height: 34%;
    border-radius: 18px;
  }

  .hero-content {
    padding: 62px 0 260px;
  }

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

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

  .card-grid,
  .compact-ranking,
  .stats-panel,
  .category-grid,
  .filter-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-row {
    grid-template-columns: 44px 72px 1fr 18px;
    gap: 10px;
  }

  .ranking-row img {
    width: 72px;
  }

  .small-hero,
  .filter-panel,
  .search-panel,
  .detail-card,
  .related-panel,
  .cover-card,
  .sitemap-list {
    padding: 20px;
  }

  .large-search {
    grid-template-columns: 1fr;
  }

  .sitemap-list ul {
    columns: 1;
  }
}

@media (max-width: 460px) {
  .brand strong {
    font-size: 18px;
  }

  .brand small {
    display: none;
  }

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

  .hero h2 {
    font-size: 24px;
  }

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

  .primary-button,
  .secondary-button {
    text-align: center;
  }
}
