:root {
  color-scheme: light;
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --pink: #ec4899;
  --orange: #fb923c;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --green: #10b981;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--soft);
  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.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
}

.logo-text {
  font-size: 23px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

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

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

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

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

.hero-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ffe4e6 0, transparent 34%), radial-gradient(circle at bottom right, #fce7f3 0, transparent 36%), linear-gradient(135deg, #fff1f2 0%, #fff7ed 48%, #ffffff 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.55;
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite;
}

.hero-orb-one {
  width: 320px;
  height: 320px;
  left: 3%;
  top: 60px;
  background: #fda4af;
}

.hero-orb-two {
  width: 420px;
  height: 420px;
  right: 2%;
  bottom: 20px;
  background: #f9a8d4;
  animation-delay: 1.4s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -18px, 0) scale(1.04);
  }
}

.hero-slider {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 560px;
  margin: 0 auto;
  padding: 64px 24px 36px;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 500px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
  position: absolute;
  inset: 64px 24px 36px;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
  inset: auto;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-dark);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 14px 0 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-content h1 span {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 20px;
}

.hero-tags,
.genre-chips,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.genre-chips span,
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #be123c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 63, 94, 0.16);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.07);
}

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

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

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 18px 36px rgba(244, 63, 94, 0.28);
}

.ghost-button {
  color: #374151;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

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

.hero-poster {
  position: relative;
  width: min(420px, 100%);
  justify-self: center;
  isolation: isolate;
}

.hero-poster img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.23);
  transform: rotate(2deg);
  transition: transform 0.45s ease;
}

.hero-poster:hover img {
  transform: rotate(0deg) scale(1.02);
}

.hero-poster-glow {
  position: absolute;
  inset: 42px -18px -24px 28px;
  z-index: 1;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.35), rgba(236, 72, 153, 0.2));
  filter: blur(10px);
}

.hero-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #be123c;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 30px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fecdd3;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-stats {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: -14px auto 56px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  display: grid;
  place-items: center;
  padding: 8px 14px;
}

.hero-stats strong {
  font-size: 34px;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.filter-panel {
  max-width: 1280px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.filter-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 0.7fr));
  gap: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.filter-control {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 750;
}

.filter-control input,
.filter-control select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  color: var(--text);
  background: #f9fafb;
}

.filter-control input:focus,
.filter-control select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px #ffe4e6;
  background: #fff;
}

.filter-result {
  min-height: 28px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.section-block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-block.white {
  background: #fff;
}

.section-block.soft {
  background: linear-gradient(180deg, #f9fafb, #fff);
}

.section-block.stacked {
  display: grid;
  gap: 34px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.category-preview-head h2,
.article-card h2,
.side-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

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

.section-heading.center {
  text-align: center;
}

.section-heading.between,
.category-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-link {
  color: var(--rose-dark);
  font-weight: 800;
}

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

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

.category-card.from-blue::before {
  background: linear-gradient(135deg, var(--blue), #06b6d4);
}

.category-card.from-purple::before,
.category-card.from-violet::before {
  background: linear-gradient(135deg, var(--purple), #d946ef);
}

.category-card.from-amber::before {
  background: linear-gradient(135deg, #f59e0b, var(--orange));
}

.category-card.from-red::before {
  background: linear-gradient(135deg, #ef4444, var(--rose));
}

.category-card.from-indigo::before {
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
}

.category-card.from-slate::before {
  background: linear-gradient(135deg, #334155, #64748b);
}

.category-card.from-green::before {
  background: linear-gradient(135deg, var(--green), #84cc16);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-icon {
  display: block;
  font-size: 40px;
  margin-bottom: 12px;
}

.category-icon.inline {
  display: inline-block;
  margin: 0 8px 0 0;
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  font-size: 21px;
  margin-bottom: 4px;
}

.category-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.category-samples {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  color: #4b5563;
}

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

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

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

.movie-card {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #fecdd3;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f4f6;
}

.movie-card-wide .poster-wrap {
  aspect-ratio: 16 / 10;
}

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

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

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

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

.type-badge,
.rank-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.type-badge {
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #fff;
  background: var(--rose);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, var(--rose));
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}

.play-chip {
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 16px);
  padding: 8px 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-title {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover .card-title {
  color: var(--rose-dark);
}

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

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

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 700;
}

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

.movie-card-compact .card-title {
  font-size: 15px;
}

.movie-card-compact .card-desc {
  min-height: 39px;
  font-size: 13px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.4fr;
  gap: 28px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 36px 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.rank-item img {
  width: 64px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
}

.list-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-weight: 900;
}

.list-rank.muted {
  color: var(--rose);
  background: #fff1f2;
}

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

.rank-item strong {
  margin-bottom: 4px;
  font-size: 15px;
}

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

.cta-band {
  margin: 30px auto 82px;
  max-width: 1180px;
  padding: 64px 24px;
  text-align: center;
  color: #fff;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 24px 55px rgba(244, 63, 94, 0.28);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.04em;
}

.cta-band p {
  margin: 0 0 24px;
  color: #ffe4e6;
  font-size: 18px;
}

.white-button {
  color: var(--rose-dark);
  background: #fff;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2, #ffffff 55%, #fdf2f8);
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 24px 84px;
  border-radius: 0 0 34px 34px;
}

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

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
}

.category-hero.from-blue {
  background: linear-gradient(135deg, #eff6ff, #fff, #ecfeff);
}

.category-hero.from-purple,
.category-hero.from-violet {
  background: linear-gradient(135deg, #f5f3ff, #fff, #fdf4ff);
}

.category-hero.from-amber {
  background: linear-gradient(135deg, #fffbeb, #fff, #fff7ed);
}

.category-hero.from-red {
  background: linear-gradient(135deg, #fef2f2, #fff, #fff1f2);
}

.category-hero.from-indigo {
  background: linear-gradient(135deg, #eef2ff, #fff, #f0f9ff);
}

.category-hero.from-slate {
  background: linear-gradient(135deg, #f1f5f9, #fff, #f8fafc);
}

.category-hero.from-green {
  background: linear-gradient(135deg, #ecfdf5, #fff, #f7fee7);
}

.category-preview {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.table-wrap {
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.ranking-table th {
  color: #374151;
  background: #f9fafb;
  font-size: 14px;
}

.table-rank {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, var(--rose));
  font-weight: 900;
}

.table-movie {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 320px;
}

.table-movie img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.table-movie strong,
.table-movie em {
  display: block;
}

.table-movie em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-hero {
  padding: 28px 24px 60px;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--rose-dark);
  font-weight: 750;
}

.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.watch-panel,
.detail-info-card,
.article-card,
.side-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 12px;
  align-content: center;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.18));
  cursor: pointer;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  font-size: 30px;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 6;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  pointer-events: none;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 18px;
}

.detail-cover {
  width: 132px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.detail-info-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-info-card p {
  color: #4b5563;
  margin: 0 0 14px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-meta span {
  padding: 5px 10px;
  color: #be123c;
  background: #fff1f2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-content {
  padding-top: 56px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.article-card,
.side-card {
  padding: 28px;
}

.article-card h2,
.side-card h2 {
  font-size: 26px;
}

.article-card p {
  color: #374151;
  font-size: 17px;
}

.tag-list {
  margin-top: 12px;
}

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

.side-card a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  color: #be123c;
  background: #fff1f2;
  font-weight: 750;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 30px;
}

.footer-logo .logo-text {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.footer-brand p {
  max-width: 440px;
  margin: 16px 0 0;
  color: #9ca3af;
}

.footer-links,
.footer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.footer-links a,
.footer-categories a {
  color: #d1d5db;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover,
.footer-categories a:hover {
  color: #fff;
  background: rgba(244, 63, 94, 0.45);
}

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

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

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

  .hero-slide,
  .detail-layout,
  .content-grid,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(330px, 80vw);
  }

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

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

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

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

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

  .hero-section {
    min-height: 0;
  }

  .hero-slider {
    padding: 42px 16px 28px;
  }

  .hero-slide {
    min-height: 0;
    gap: 28px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin: 0 16px 40px;
  }

  .filter-panel {
    margin: 0 auto;
    padding: 0 16px;
  }

  .filter-grid,
  .footer-inner,
  .detail-info-card {
    grid-template-columns: 1fr;
  }

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

  .section-heading.between,
  .category-preview-head {
    align-items: start;
    flex-direction: column;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-desc {
    font-size: 13px;
  }

  .rank-item {
    grid-template-columns: 32px 54px 1fr;
  }

  .rank-item img {
    width: 54px;
    height: 70px;
  }

  .detail-cover {
    width: 100%;
    max-width: 210px;
  }

  .article-card,
  .side-card,
  .category-preview {
    padding: 20px;
  }
}

@media (max-width: 460px) {
  .featured-grid,
  .full-grid,
  .mini-grid,
  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

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

  .primary-button,
  .ghost-button,
  .white-button {
    width: 100%;
  }
}
