* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --soft: #f1f5f9;
  --line: #e5e7eb;
  --amber: #f59e0b;
  --orange: #f97316;
  --blue: #2563eb;
  --green: #16a34a;
  --purple: #7c3aed;
  --dark: #0f172a;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 45%, #e2e8f0 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.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 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1180px;
  height: 74px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-glow {
  position: absolute;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  filter: blur(14px);
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.brand:hover .brand-glow {
  opacity: 0.65;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 20px;
  line-height: 1.1;
  background: linear-gradient(90deg, #d97706, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #92400e;
  background: #ffedd5;
  transform: translateY(-1px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #334155;
}

.mobile-nav {
  display: none;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.24), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 46%, #1e293b 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.32;
}

.hero-slider {
  position: relative;
  max-width: 1180px;
  min-height: 660px;
  margin: 0 auto;
  padding: 82px 22px 120px;
}

.hero-slide {
  position: absolute;
  inset: 82px 22px 120px;
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-grid {
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 7px 13px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.25);
  backdrop-filter: blur(12px);
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fde68a, #fb923c, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags {
  margin: 24px 0 0;
}

.hero-tags a,
.detail-tags a,
.tag-row span {
  padding: 7px 11px;
  color: #334155;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags a {
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.primary-button,
.ghost-button,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.3);
}

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

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

.hero-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: perspective(900px) rotateY(-4deg);
}

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

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

.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.82));
}

.hero-movie-title {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  font-size: 26px;
  font-weight: 900;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: -94px auto 0;
  padding: 0 22px 42px;
  display: grid;
  grid-template-columns: auto minmax(260px, 430px) 1fr;
  gap: 18px;
  align-items: center;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 34px;
  background: #fbbf24;
}

.hero-search {
  display: flex;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 0 14px;
}

.hero-search input::placeholder {
  color: #cbd5e1;
}

.hero-search button {
  border: 0;
  color: #111827;
  background: #fbbf24;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
  cursor: pointer;
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hero-category-links a {
  color: #e2e8f0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 22px;
}

.section-soft {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1180px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1180px) / 2 + 22px));
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95));
}

.section-heading,
.category-overview-head,
.player-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.category-overview-head h2,
.player-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.section-heading p,
.category-overview-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: #b45309;
  background: #ffedd5;
}

.filter-panel {
  margin-bottom: 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.filter-panel h2 {
  margin: 0;
  font-size: 28px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(130px, 0.45fr) minmax(130px, 0.45fr);
  gap: 12px;
}

.search-input,
.select-input {
  width: 100%;
  border: 1px solid #dbe3ef;
  outline: 0;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px 14px;
  color: #0f172a;
}

.search-input:focus,
.select-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 14px;
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.36);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  background: #0f172a;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.64));
  opacity: 0.85;
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.movie-card-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.movie-title {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #d97706;
}

.movie-card-body p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  position: relative;
}

.movie-meta span + span::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #cbd5e1;
}

.tag-row {
  margin-top: auto;
}

.tag-row span {
  color: #ea580c;
  background: #fff7ed;
}

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

.category-tile {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.category-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

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

.category-tile small {
  color: var(--muted);
}

.page-hero {
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.24), transparent 28%), linear-gradient(135deg, #0f172a, #1e293b);
}

.page-hero-light {
  color: #111827;
  background: linear-gradient(135deg, #fff7ed, #f8fafc 55%, #e0f2fe);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 22px;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: 18px;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.category-overview {
  display: grid;
  gap: 34px;
}

.category-overview-block {
  padding: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 76px 132px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #92400e;
  background: #ffedd5;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 950;
}

.rank-top .rank-number {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.28);
}

.rank-cover img {
  width: 132px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.rank-title {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 950;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
}

.detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 22px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-card {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.detail-copy {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 24px;
  color: #475569;
  font-size: 18px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.detail-meta li {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.detail-meta span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.detail-meta strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 16px;
}

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

.player-section {
  padding-top: 46px;
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.player-heading {
  margin: 0;
  padding: 28px 28px 0;
  color: #ffffff;
}

.player-heading h2 {
  margin-bottom: 0;
}

.player-wrap {
  position: relative;
  margin-top: 22px;
  background: #000000;
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.82));
  cursor: pointer;
  z-index: 2;
}

.player-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-button {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 24px 55px rgba(249, 115, 22, 0.42);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 26px;
  font-weight: 950;
}

.player-overlay em {
  font-style: normal;
  color: #fde68a;
  font-weight: 900;
}

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

.prose-card {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.prose-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.prose-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}

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

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #111827);
  margin-top: 34px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 1fr;
  gap: 34px;
}

.footer-logo .brand-text strong {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  color: #94a3b8;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-column a:hover {
  color: #fbbf24;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

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

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

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

  .menu-toggle {
    display: flex;
  }

  .hero-slider {
    min-height: 820px;
    padding-top: 58px;
  }

  .hero-slide {
    top: 58px;
  }

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

  .hero-media {
    transform: none;
  }

  .hero-bottom {
    margin-top: -110px;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .hero-category-links {
    justify-content: flex-start;
  }

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

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

  .rank-row .text-link {
    grid-column: 2 / -1;
    justify-self: flex-start;
  }

  .rank-cover img {
    width: 94px;
  }

  .detail-poster img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 66px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    display: none;
  }

  .section,
  .section-soft,
  .page-hero-inner,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-slider {
    min-height: 760px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-slide {
    left: 16px;
    right: 16px;
  }

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

  .card-grid,
  .compact-grid,
  .mini-grid,
  .spotlight-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .category-overview-head,
  .player-heading {
    display: block;
  }

  .section-more {
    margin-top: 16px;
  }

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

  .rank-cover {
    display: none;
  }

  .rank-row .text-link {
    grid-column: 1 / -1;
  }

  .detail-card,
  .player-card {
    border-radius: 22px;
  }

  .detail-grid {
    padding: 18px;
  }

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

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

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