:root {
  --pink: #ec4899;
  --red: #ef4444;
  --orange: #f97316;
  --yellow: #fde68a;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #f3d6df;
  --soft: #fff1f5;
  --paper: #ffffff;
  --bg: #f9fafb;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.14);
  --deep-shadow: 0 24px 65px rgba(17, 24, 39, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 18px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark,
.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #ef4444, #fb923c);
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.32);
}

.logo-text {
  font-size: 26px;
  background: linear-gradient(90deg, #ec4899, #ef4444, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #db2777;
  background: linear-gradient(90deg, #fce7f3, #ffedd5);
}

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

.header-search input,
.mobile-search input,
.wide-search input,
.local-search-label input,
.sort-label select {
  border: 2px solid #fbcfe8;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: 0.25s ease;
}

.header-search input {
  width: 230px;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.local-search-label input:focus,
.sort-label select:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.16);
}

.header-search button,
.mobile-search button,
.wide-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, #ec4899, #ef4444, #f97316);
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
  transition: 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  color: #db2777;
  background: #fce7f3;
  font-weight: 900;
}

.mobile-panel {
  border-top: 1px solid #fce7f3;
  padding: 12px 16px 18px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: linear-gradient(120deg, #f472b6, #ef4444, #fb923c);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.04);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(253, 230, 138, 0.35), transparent 26%),
    linear-gradient(90deg, rgba(190, 24, 93, 0.88), rgba(239, 68, 68, 0.68), rgba(249, 115, 22, 0.35)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.08));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  align-items: center;
  gap: 54px;
  min-height: 520px;
  padding: 68px 0 110px;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-summary {
  max-width: 720px;
  margin: 22px 0 0;
  color: #fff1f2;
  font-size: 20px;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag-row a,
.detail-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.primary-btn,
.ghost-btn,
.ghost-dark-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: 0.25s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.ghost-dark-btn {
  border: 1px solid #f9a8d4;
  border-radius: 999px;
  padding: 11px 18px;
  color: #be185d;
  font-weight: 900;
  background: #fff;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--deep-shadow);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #ec4899;
  font-size: 32px;
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.22);
}

.hero-tabs {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  transition: 0.25s ease;
}

.hero-tab.active,
.hero-tab:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-tab img {
  width: 44px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-tab span {
  overflow: hidden;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-search-band {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.hero-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: 24px;
  align-items: center;
  border-radius: 30px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.hero-search-card p {
  margin: 0;
  color: var(--muted);
}

.wide-search input {
  flex: 1;
  min-width: 0;
}

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

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

.section-head.slim {
  align-items: center;
  margin-bottom: 18px;
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

.section-head p {
  margin: 9px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: #db2777;
  font-weight: 900;
}

.soft-section {
  background: linear-gradient(90deg, #fce7f3, #fff7ed);
}

.gradient-section {
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #ef4444, #f97316);
}

.gradient-section .section-head p,
.gradient-section .section-more {
  color: #fff7ed;
}

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

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.22);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

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

.compact .poster-wrap img,
.catalog-grid .poster-wrap img {
  aspect-ratio: 3 / 4;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), transparent 65%);
  transition: opacity 0.25s ease;
}

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.85);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  opacity: 0;
  color: #ec4899;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.25);
  transition: 0.25s ease;
}

.movie-card-link:hover .poster-shade,
.movie-card-link:hover .play-mark {
  opacity: 1;
}

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

.duration-badge,
.rank-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(17, 24, 39, 0.74);
  font-size: 12px;
  font-weight: 900;
}

.rank-corner {
  left: 12px;
  right: auto;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.card-body {
  display: block;
  padding: 18px;
}

.card-title {
  display: -webkit-box;
  min-height: 52px;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact .card-title {
  min-height: 46px;
  font-size: 16px;
}

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

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.card-meta span {
  color: #db2777;
  background: linear-gradient(90deg, #fce7f3, #ffedd5);
}

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

.category-tile {
  display: block;
  min-height: 210px;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(135deg, #fff, #fff7ed);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.22);
}

.tile-name {
  display: block;
  color: #be185d;
  font-size: 22px;
  font-weight: 900;
}

.tile-intro {
  display: block;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.category-tile ul,
.category-card-large ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-tile li {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.85;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
  gap: 32px;
}

.rank-panel,
.side-card,
.content-card,
.tool-panel,
.category-card-large,
.cta-panel {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rank-panel {
  align-self: start;
  padding: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 38px 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 10px;
  transition: 0.25s ease;
}

.rank-row:hover {
  background: #fdf2f8;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #6b7280;
  background: #e5e7eb;
  font-weight: 900;
}

.rank-num.top {
  color: #fff;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.rank-cover img {
  width: 74px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

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

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: var(--ink);
}

.rank-info em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-count {
  color: #db2777;
  font-size: 13px;
  font-weight: 900;
}

.cta-panel {
  margin-bottom: 72px;
  padding: 54px;
  text-align: center;
  background: linear-gradient(90deg, #fce7f3, #ffedd5);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.cta-panel p {
  color: var(--muted);
  font-size: 18px;
}

.page-hero {
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(120deg, #ec4899, #ef4444, #f97316);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
}

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

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

.detail-main .breadcrumb {
  color: #9ca3af;
}

.breadcrumb a {
  font-weight: 900;
}

.tool-panel {
  margin-bottom: 28px;
  padding: 22px;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: end;
}

.local-search-label,
.sort-label {
  display: grid;
  gap: 8px;
  color: #6b7280;
  font-weight: 900;
}

.local-search-label input,
.sort-label select {
  width: 100%;
  border-radius: 18px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #9d174d;
  background: #fce7f3;
  font-weight: 900;
  transition: 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #ef4444);
}

.empty-state {
  border-radius: 24px;
  padding: 44px;
  color: #6b7280;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

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

.category-large-grid {
  display: grid;
  gap: 24px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.category-covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
}

.category-large-body h2 {
  margin: 0 0 10px;
  color: #be185d;
  font-size: 30px;
}

.category-large-body p {
  color: var(--muted);
}

.category-large-body li {
  line-height: 2;
}

.detail-wrap {
  padding: 34px 0 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.player-card {
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: var(--deep-shadow);
}

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

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.player-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 999px;
  color: #ec4899;
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: 0.25s ease;
  z-index: 3;
}

.player-center:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.player-wrap.is-playing .player-center {
  opacity: 0;
  pointer-events: none;
}

.player-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 44px 44px;
  gap: 12px;
  align-items: center;
  padding: 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 2;
}

.player-wrap:hover .player-layer,
.player-wrap.is-playing .player-layer {
  opacity: 1;
  pointer-events: auto;
}

.player-layer button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ec4899, #f97316);
}

.time-label {
  font-size: 13px;
  white-space: nowrap;
}

.detail-content {
  padding: 30px 0 0;
}

.detail-content h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.detail-meta span {
  color: #db2777;
  background: linear-gradient(90deg, #fce7f3, #ffedd5);
}

.lead-text {
  font-size: 18px;
  color: #4b5563;
}

.tag-row a {
  color: #6b21a8;
  background: #f3e8ff;
}

.content-card {
  margin-top: 24px;
  padding: 28px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-card p,
.side-card p {
  color: #4b5563;
  line-height: 1.9;
}

.accent-card {
  background: linear-gradient(135deg, #fff, #fff7ed);
}

.detail-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 22px;
}

.side-card {
  padding: 22px;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.18);
}

.cover-card h2 {
  margin-top: 18px;
}

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

.compact-ranks .rank-cover img {
  width: 58px;
  height: 44px;
}

.compact-ranks .rank-count {
  display: none;
}

.ranking-page-list {
  border-radius: 28px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.light-cards .movie-card-link {
  box-shadow: 0 20px 50px rgba(127, 29, 29, 0.22);
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #831843, #7f1d1d, #9a3412);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-logo {
  margin-bottom: 16px;
  font-size: 22px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  color: #ffe4e6;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a:hover {
  color: #fff;
}

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-search {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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

  .split-section,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 780px) {
  .nav-wrap {
    min-height: 64px;
  }

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

  .header-search {
    display: none;
  }

  .hero-stage {
    min-height: 690px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 48px 0 154px;
  }

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

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

  .hero-poster {
    max-width: 245px;
    transform: none;
  }

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

  .hero-tabs .hero-tab:nth-child(n+5) {
    display: none;
  }

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

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

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

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

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

  .tool-row,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .category-covers {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .rank-count {
    display: none;
  }

  .rank-cover img {
    width: 60px;
    height: 46px;
  }

  .player-layer {
    grid-template-columns: 38px minmax(0, 1fr) 38px 38px;
    gap: 8px;
    padding: 12px;
  }

  .time-label {
    display: none;
  }

  .player-center {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .featured-grid,
  .four-grid,
  .catalog-grid,
  .two-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }

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

  .hero-tabs .hero-tab:nth-child(n+4) {
    display: none;
  }

  .card-title {
    min-height: auto;
  }

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

  .cta-panel {
    padding: 32px 20px;
  }
}
