:root {
  --bg: #f7f8fb;
  --bg-soft: #fff7f7;
  --text: #121826;
  --muted: #667085;
  --line: #e6e8ef;
  --white: #ffffff;
  --red: #dc2626;
  --pink: #db2777;
  --orange: #f97316;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, #f9fafb 0%, #eef2f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-link {
  color: #344054;
  font-weight: 600;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #344054;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
}

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

.hero {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 76px;
  color: var(--white);
}

.hero-badges,
.detail-tags,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-badges span,
.hero-badges a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.hero-badges span:first-child {
  background: var(--red);
}

.hero h1,
.hero h2 {
  max-width: 760px;
  margin: 16px 0 12px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.hero-one-line {
  max-width: 780px;
  margin: 0 0 10px;
  color: #f3f4f6;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
}

.hero-summary {
  max-width: 760px;
  margin: 0 0 28px;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  min-height: 46px;
  padding: 12px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.26);
}

.primary-btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  min-height: 46px;
  padding: 12px 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.22s ease, background 0.22s ease;
}

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

.home-search,
.white-section,
.soft-section,
.rank-panel,
.feature-panel,
.detail-card,
.sidebar-card,
.category-card,
.filter-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.home-search {
  margin-top: -42px;
  position: relative;
  z-index: 10;
  padding: 28px;
}

.home-search h2,
.section-heading h2,
.sidebar-card h2,
.text-section h2,
.review-section h2,
.one-line-box h2 {
  margin: 0;
  color: #111827;
}

.home-search p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  outline: none;
  padding: 0 13px;
  color: #111827;
  background: #fff;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

section.container {
  margin-top: 58px;
}

.white-section,
.soft-section,
.rank-panel,
.feature-panel {
  padding: 32px;
}

.soft-section {
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
}

.soft-section.cool {
  background: linear-gradient(135deg, #ecfeff 0%, #eef2ff 100%);
}

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

.section-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}

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

.section-more,
.text-link {
  color: var(--red);
  background: #fff1f2;
}

.section-more {
  min-width: max-content;
  padding: 10px 14px;
}

.text-link {
  padding: 9px 12px;
}

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

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

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

.movie-card {
  min-width: 0;
  transition: transform 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #e5e7eb;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.movie-card.compact .poster-wrap,
.category-list .poster-wrap {
  aspect-ratio: 4 / 3;
}

.poster-wrap img,
.category-tile img,
.mini-cover img,
.rank-row img,
.rank-large-cover img,
.category-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.mini-card:hover .mini-cover img,
.rank-row:hover img,
.rank-large-row:hover img,
.category-card:hover .category-preview img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.06));
  transition: opacity 0.28s ease;
}

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

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.year-pill,
.rank-badge {
  position: absolute;
  top: 10px;
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.year-pill {
  right: 10px;
  padding: 6px 9px;
  background: rgba(220, 38, 38, 0.88);
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.movie-card-body {
  padding: 12px 3px 0;
}

.movie-card-body h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
}

.movie-card-body h3 a:hover,
.mini-card h3 a:hover,
.rank-large-body h2 a:hover {
  color: var(--red);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 7px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  color: #667085;
  font-size: 12px;
}

.movie-meta a,
.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f4f7;
}

.movie-meta a {
  color: var(--red);
  background: #fff1f2;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.category-tile strong {
  bottom: 56px;
  font-size: 24px;
  font-style: normal;
}

.category-tile em {
  bottom: 20px;
  color: #e5e7eb;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.rank-list,
.rank-page-list,
.mini-grid.vertical {
  display: grid;
  gap: 14px;
}

.rank-row,
.mini-card,
.rank-large-row {
  display: grid;
  align-items: center;
  gap: 14px;
}

.rank-row {
  grid-template-columns: 36px 96px 1fr;
  padding: 10px;
  border-radius: 16px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #fff1f2;
  transform: translateX(3px);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
}

.rank-row img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  color: #111827;
  font-size: 15px;
}

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

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

.mini-card {
  grid-template-columns: 108px 1fr;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #e5e7eb;
}

.mini-cover span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mini-card:hover .mini-cover span {
  opacity: 1;
}

.mini-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.page-main {
  padding-bottom: 72px;
}

.page-hero {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 72px max(16px, calc((100vw - 1180px) / 2)) 56px;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(248, 113, 113, 0.9), transparent 32%), linear-gradient(135deg, #111827 0%, #581c87 48%, #991b1b 100%);
}

.compact-hero {
  min-height: 300px;
}

.rank-hero {
  background: radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.78), transparent 28%), linear-gradient(135deg, #111827 0%, #7f1d1d 55%, #ea580c 100%);
}

.category-hero {
  background: radial-gradient(circle at 25% 25%, rgba(244, 63, 94, 0.72), transparent 30%), linear-gradient(135deg, #111827 0%, #312e81 52%, #be123c 100%);
}

.page-hero h1 {
  max-width: 820px;
  margin: 8px 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.8;
}

.eyebrow {
  margin: 0;
  color: #fecdd3;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.category-card {
  overflow: hidden;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 170px;
  overflow: hidden;
  background: #111827;
}

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

.category-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

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

.category-list {
  margin-top: 24px;
}

.rank-page-list {
  margin-top: 24px;
}

.rank-large-row {
  grid-template-columns: 190px 1fr;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.rank-large-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #e5e7eb;
}

.rank-large-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
}

.rank-large-body h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.rank-large-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border-radius: 20px;
  background: var(--white);
}

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

.detail-main {
  padding-top: 32px;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--red);
  font-weight: 700;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #050505;
  box-shadow: var(--shadow);
}

.player-card video,
.player-cover,
.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-card video {
  z-index: 1;
  object-fit: contain;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.66;
  filter: saturate(1.08);
}

.player-button {
  position: relative;
  z-index: 3;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
  font-size: 34px;
  transition: transform 0.22s ease, background 0.22s ease;
}

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

.player-ready .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  color: var(--white);
  font-weight: 700;
}

.player-status:empty {
  display: none;
}

.detail-card {
  margin-top: 24px;
  padding: 30px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.detail-meta {
  margin-bottom: 18px;
}

.detail-meta span,
.detail-meta a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #475467;
  background: #f2f4f7;
  font-size: 14px;
  font-weight: 700;
}

.detail-meta a {
  color: var(--red);
  background: #fff1f2;
}

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

.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #344054;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.detail-tags .genre-tag {
  color: #9f1239;
  background: linear-gradient(135deg, #ffe4e6, #fce7f3);
}

.one-line-box,
.review-section {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
}

.one-line-box {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.review-section {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.text-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.one-line-box p,
.text-section p,
.review-section p {
  margin: 10px 0 0;
  color: #374151;
  line-height: 1.9;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.mini-grid.vertical {
  grid-template-columns: 1fr;
}

.gradient-card {
  color: var(--white);
  background: linear-gradient(135deg, #991b1b, #db2777);
}

.gradient-card h2,
.gradient-card p {
  color: var(--white);
}

.gradient-card p {
  line-height: 1.75;
}

.primary-btn.slim {
  min-height: 42px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.site-footer {
  margin-top: 80px;
  color: #d0d5dd;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-brand p {
  max-width: 430px;
  color: #98a2b3;
  line-height: 1.75;
}

.brand.compact .brand-text strong {
  color: var(--white);
  font-size: 18px;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

.footer-links div {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #d0d5dd;
  font-size: 14px;
}

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

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

[hidden] {
  display: none !important;
}

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

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

  .split-section,
  .footer-inner,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand-text small {
    display: none;
  }

  .hero {
    height: 78vh;
    min-height: 560px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .hero-summary {
    -webkit-line-clamp: 3;
  }

  .home-search,
  .white-section,
  .soft-section,
  .rank-panel,
  .feature-panel,
  .detail-card,
  .sidebar-card {
    padding: 20px;
    border-radius: 18px;
  }

  .filter-panel,
  .cards-4,
  .cards-5,
  .category-grid,
  .mini-grid,
  .detail-sidebar {
    grid-template-columns: 1fr;
  }

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

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

  .category-tile {
    min-height: 210px;
  }

  .rank-large-row,
  .rank-row,
  .mini-card {
    grid-template-columns: 1fr;
  }

  .rank-row img,
  .mini-cover,
  .rank-large-cover {
    width: 100%;
  }

  .page-hero {
    min-height: 280px;
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .detail-main {
    padding-top: 18px;
  }

  .detail-card h1 {
    font-size: 32px;
  }

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}

@media (max-width: 460px) {
  .category-list {
    grid-template-columns: 1fr;
  }

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

  .hero-actions a {
    width: 100%;
  }
}
