:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --cyan: #0891b2;
  --amber: #f59e0b;
  --rose: #e11d48;
  --violet: #7c3aed;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 18px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.32);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--teal-dark), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-link {
  min-height: 42px;
  padding: 0 18px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--teal-dark);
  background: #ecfeff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-link {
  padding: 12px 14px;
  justify-content: flex-start;
}

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 48px;
  padding: 84px max(32px, calc((100vw - 1180px) / 2)) 136px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 42%, rgba(13, 148, 136, 0.32) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.24), transparent 34%), radial-gradient(circle at 75% 35%, rgba(14, 165, 233, 0.20), transparent 30%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.page-hero span,
.section-heading span,
.ranking-head span,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #ccfbf1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.hero-content p {
  max-width: 680px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #e0f2fe;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.outline-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border: 0;
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 148, 136, 0.34);
}

.primary-btn.full {
  width: 100%;
  margin-top: 18px;
}

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

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.20);
}

.outline-btn {
  color: var(--teal-dark);
  border: 1px solid rgba(13, 148, 136, 0.24);
  background: #ffffff;
}

.text-link {
  color: var(--teal-dark);
  padding: 0;
}

.hero-poster {
  align-self: center;
  justify-self: end;
  width: min(100%, 360px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  aspect-ratio: 2 / 3;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: 0.2s ease;
}

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

.hero-search {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(18px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

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

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

.section-heading.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading span,
.ranking-head span,
.page-hero span {
  color: var(--teal-dark);
  background: #ccfbf1;
}

.section-heading h2,
.ranking-head h2,
.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

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

.category-card,
.category-overview-card,
.article-card,
.info-card,
.ranking-card,
.player-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  box-shadow: var(--soft-shadow);
}

.category-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.25s ease;
}

.category-card::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
  transition: 0.25s ease;
}

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

.category-card:hover::before {
  opacity: 0.16;
}

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

.category-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--tone-a) 28%, transparent);
}

.category-card strong {
  font-size: 22px;
}

.category-card em,
.category-card small {
  color: var(--muted);
  font-style: normal;
}

.category-card small {
  margin-top: auto;
  font-size: 13px;
}

.tone-teal { --tone-a: #0d9488; --tone-b: #06b6d4; }
.tone-cyan { --tone-a: #0891b2; --tone-b: #22d3ee; }
.tone-violet { --tone-a: #7c3aed; --tone-b: #a78bfa; }
.tone-rose { --tone-a: #e11d48; --tone-b: #fb7185; }
.tone-amber { --tone-a: #d97706; --tone-b: #fbbf24; }
.tone-orange { --tone-a: #ea580c; --tone-b: #fb923c; }
.tone-emerald { --tone-a: #059669; --tone-b: #34d399; }
.tone-sky { --tone-a: #0284c7; --tone-b: #38bdf8; }
.tone-indigo { --tone-a: #4f46e5; --tone-b: #818cf8; }
.tone-slate { --tone-a: #334155; --tone-b: #94a3b8; }

.feature-band {
  padding: 76px 0;
  background: linear-gradient(135deg, #fff7ed, #fef3c7 45%, #ecfeff);
}

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

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

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

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

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.compact-card .poster-wrap {
  aspect-ratio: 2 / 3;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  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 20%, rgba(15, 23, 42, 0.58));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: 0.25s ease;
}

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

.poster-year {
  position: absolute;
  right: 14px;
  top: 14px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.movie-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.movie-info strong {
  font-size: 20px;
  line-height: 1.25;
}

.compact-card .movie-info strong {
  font-size: 17px;
}

.movie-info em {
  min-height: 48px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #475569;
  font-size: 13px;
}

.movie-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #f1f5f9;
}

.tag-row span {
  color: var(--teal-dark);
  background: #ccfbf1;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.ranking-card {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.ranking-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  transition: 0.2s ease;
}

.rank-row:hover,
.ranking-page-row:hover {
  background: #ecfeff;
  transform: translateX(4px);
}

.rank-no {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.rank-title {
  font-weight: 800;
}

.rank-meta {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  position: relative;
  color: #0f172a;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.30), transparent 35%), linear-gradient(135deg, #ffffff, #ecfeff);
}

.compact-hero {
  padding: 88px 0 74px;
}

.category-hero,
.library-hero,
.ranking-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--tone-a, #0d9488), var(--tone-b, #06b6d4));
}

.library-hero { --tone-a: #0d9488; --tone-b: #0891b2; }
.ranking-hero { --tone-a: #7c3aed; --tone-b: #0891b2; }

.category-hero p,
.library-hero p,
.ranking-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.category-hero span,
.library-hero span,
.ranking-hero span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.category-overview-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.category-overview-head h2 {
  margin: 0 0 6px;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.mini-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mini-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.mini-card img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

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

.mini-card strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.filter-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.search-field {
  display: grid;
  gap: 6px;
}

.search-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.filter-selects select {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  padding: 0 14px;
  color: var(--text);
}

.search-field input:focus,
.filter-selects select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  color: #9f1239;
  background: #fff1f2;
  font-weight: 700;
}

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

.ranking-page-row {
  display: grid;
  grid-template-columns: 66px 74px minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: 0.2s ease;
}

.ranking-page-row img {
  width: 74px;
  height: 94px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-main strong,
.ranking-main em {
  display: block;
}

.ranking-main strong {
  font-size: 18px;
}

.ranking-main em {
  color: var(--muted);
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-meta {
  text-align: right;
  color: var(--muted);
  font-weight: 700;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 38px 0 72px;
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.72), rgba(13, 148, 136, 0.32)), var(--detail-image);
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 28px;
}

.breadcrumb a {
  color: #ccfbf1;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
  aspect-ratio: 2 / 3;
}

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

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 760px;
  color: #dbeafe;
  font-size: 20px;
}

.detail-kicker {
  color: #ccfbf1;
  background: rgba(255, 255, 255, 0.12);
}

.player-section {
  margin-top: -44px;
  position: relative;
  z-index: 4;
}

.player-card {
  padding: 12px;
  background: #020617;
  border: 1px solid rgba(15, 23, 42, 0.92);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #020617;
  outline: none;
}

.video-shell:focus-visible {
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.45);
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.78));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-ring {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.player-cover strong {
  font-size: clamp(20px, 3vw, 34px);
}

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

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

.article-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

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

.info-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

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

.info-card dd {
  margin: 0;
}

.info-card a {
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 42px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 20px;
}

.site-footer h3 {
  color: #ffffff;
  margin: 0 0 14px;
}

.site-footer p {
  color: #94a3b8;
}

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

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

.footer-tags {
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
  padding: 18px;
  color: #94a3b8;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

  .feature-grid,
  .two-column-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }
}

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

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

  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 54px 20px 150px;
    gap: 28px;
  }

  .hero-poster {
    justify-self: center;
    width: 230px;
  }

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

  .detail-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
  }

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

  .ranking-page-row {
    grid-template-columns: 52px 64px minmax(0, 1fr);
  }

  .ranking-page-row .ranking-meta {
    display: none;
  }
}

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

  .header-inner {
    height: 64px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 24px;
  }

  .hero-search button {
    height: 46px;
  }

  .section-block,
  .feature-band {
    padding: 48px 0;
  }

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

  .category-grid,
  .feature-grid,
  .latest-grid,
  .library-grid,
  .related-grid,
  .category-overview-grid,
  .footer-grid,
  .mini-card-list {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: 210px;
  }

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

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

  .ranking-page-row img {
    display: none;
  }

  .play-ring {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }
}
