:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --dark: #111827;
  --dark-soft: #1f2937;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #f97316;
  --yellow: #f59e0b;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  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;
}

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

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

button,
input,
select {
  font: inherit;
}

.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: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.28);
  transition: transform 0.25s ease;
}

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

.logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
  background: #fff1f2;
}

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

.header-search input,
.mobile-search input,
.home-search-panel input,
.filter-bar input,
.filter-bar select,
.search-controls input,
.search-controls select {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  padding: 11px 14px;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.home-search-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.search-controls input:focus,
.search-controls select:focus {
  border-color: rgba(220, 38, 38, 0.6);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.header-search button,
.mobile-search button,
.home-search-panel button,
.search-controls button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff1f2;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
}

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

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

.mobile-link.is-active {
  color: var(--red);
}

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

.mobile-search input {
  flex: 1;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.hero-track,
.hero-slide {
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease, transform 1.2s ease;
  transform: scale(1.02);
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 24%, rgba(248, 113, 113, 0.26), transparent 32%), linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 84px 20px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin-left: calc((100vw - min(1180px, 100vw)) / 2);
}

.hero-kicker,
.detail-kicker,
.page-hero p {
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.tag-row span {
  background: #fff1f2;
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.32);
}

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

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

.hero-dot.is-active {
  width: 38px;
  background: #ffffff;
}

.home-search-panel {
  max-width: 1180px;
  margin: -52px auto 0;
  position: relative;
  z-index: 5;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.home-search-panel label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 900;
}

.home-search-panel form > div {
  display: flex;
  gap: 12px;
}

.home-search-panel input {
  flex: 1;
}

.category-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 16px;
}

.category-chips a {
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 999px;
  color: #374151;
  background: #f9fafb;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.category-chips a:hover {
  color: #ffffff;
  background: var(--red);
  transform: translateY(-2px);
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px;
}

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

.section-heading h2,
.category-preview h2,
.sticky-rank-panel h2,
.player-card h2,
.text-card h2,
.side-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p,
.category-preview p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading a,
.category-preview-head a {
  color: var(--red);
  font-weight: 900;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.poster-frame {
  position: relative;
  background: linear-gradient(135deg, #1f2937, #991b1b 52%, #f97316);
  overflow: hidden;
}

.movie-card .poster-frame {
  aspect-ratio: 2 / 3;
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  min-width: 44px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.32);
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

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

.movie-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.movie-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.32;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--red);
}

.movie-card p {
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.category-showcase {
  padding-top: 20px;
}

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

.category-tile {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  border-radius: 22px;
  padding: 20px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 38%), linear-gradient(135deg, #991b1b, #f97316);
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.18);
  transition: transform 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
}

.category-tile span {
  font-size: 24px;
  font-weight: 900;
}

.category-tile strong {
  font-size: 15px;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.82);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
}

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

.rank-row,
.top-rank-row {
  display: grid;
  grid-template-columns: 40px 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.top-rank-row {
  border-color: rgba(220, 38, 38, 0.32);
  background: linear-gradient(90deg, #fff7ed, #ffffff);
}

.rank-row:hover,
.top-rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(220, 38, 38, 0.45);
}

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

.rank-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f2937, #dc2626);
}

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

.rank-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.rank-info p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.rank-info span,
.rank-row strong,
.top-rank-row strong {
  color: var(--muted);
  font-size: 13px;
}

.dark-section {
  max-width: none;
  background: linear-gradient(180deg, #111827, #1f2937);
  color: #ffffff;
}

.dark-section .section-heading,
.dark-section .movie-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.dark-section h2,
.dark-section .movie-card h3 {
  color: #ffffff;
}

.dark-section .section-heading p {
  color: #d1d5db;
}

.dark-section .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dark-section .movie-meta,
.dark-section .movie-card p {
  color: #d1d5db;
}

.page-hero,
.detail-hero {
  background-size: cover;
  background-position: center;
}

.page-hero {
  color: #ffffff;
  min-height: 330px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.38), transparent 30%), linear-gradient(135deg, #111827, #7f1d1d 56%, #f97316);
}

.page-hero > div {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.page-hero span {
  display: block;
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
}

.category-overview-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px 72px;
  display: grid;
  gap: 34px;
}

.category-preview {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

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

.filter-section {
  padding-top: 36px;
}

.filter-bar,
.search-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.search-controls {
  grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
}

.search-page-panel {
  padding-top: 42px;
}

.detail-hero {
  color: #ffffff;
  min-height: 560px;
  padding: 28px 20px 64px;
  background-color: #111827;
}

.breadcrumb {
  max-width: 1180px;
  margin: 0 auto 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #d1d5db;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-cover {
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #e5e7eb;
  font-size: 19px;
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta-list span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-tags {
  margin-bottom: 26px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
}

.player-card,
.text-card,
.side-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.player-card h2,
.text-card h2,
.side-card h2 {
  font-size: 25px;
  margin-bottom: 16px;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.16), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-overlay strong {
  font-size: 20px;
}

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.36);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #ffffff;
}

.text-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.side-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-card dt {
  color: var(--muted);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.side-related {
  display: grid;
  gap: 10px;
}

.side-related a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  transition: color 0.2s ease, background 0.2s ease;
}

.side-related a:hover {
  color: var(--red);
  background: #fff1f2;
}

.side-related span,
.side-related small {
  display: block;
}

.side-related span {
  font-weight: 900;
}

.side-related small {
  color: var(--muted);
  margin-top: 2px;
}

.related-section {
  padding-top: 20px;
}

.ranking-page-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.sticky-rank-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.sticky-rank-panel h2 {
  font-size: 28px;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 30px;
}

.footer-logo .logo-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  max-width: 430px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-links h2 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  color: #9ca3af;
  text-align: center;
}

.is-filter-hidden,
.is-search-hidden {
  display: none !important;
}

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

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

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

  .two-column-section,
  .detail-layout,
  .ranking-page-layout {
    grid-template-columns: 1fr;
  }

  .sticky-rank-panel {
    position: static;
    max-height: none;
  }
}

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

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

  .header-inner {
    min-height: 64px;
  }

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

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

  .hero-content {
    margin-left: 0;
    padding-top: 74px;
  }

  .home-search-panel {
    margin: -34px 14px 0;
  }

  .home-search-panel form > div,
  .mobile-search,
  .section-heading,
  .category-preview-head {
    flex-direction: column;
    align-items: stretch;
  }

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

  .filter-bar,
  .search-controls {
    grid-template-columns: 1fr;
  }

  .detail-hero-grid {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
  }

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

@media (max-width: 560px) {
  .hero-content p,
  .detail-info p,
  .page-hero span {
    font-size: 16px;
  }

  .large-grid,
  .compact-grid,
  .catalog-grid,
  .latest-grid,
  .category-tile-grid {
    grid-template-columns: 1fr;
  }

  .rank-row,
  .top-rank-row {
    grid-template-columns: 34px 58px minmax(0, 1fr);
  }

  .rank-row strong,
  .top-rank-row strong {
    display: none;
  }

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

  .detail-cover {
    width: 180px;
  }

  .player-card,
  .text-card,
  .side-card,
  .category-preview {
    padding: 18px;
  }
}
