:root {
  --color-bg: #0f172a;
  --color-bg-soft: #111827;
  --color-panel: rgba(15, 23, 42, 0.74);
  --color-panel-strong: rgba(30, 41, 59, 0.88);
  --color-border: rgba(148, 163, 184, 0.18);
  --color-text: #f8fafc;
  --color-muted: #94a3b8;
  --color-blue: #2563eb;
  --color-cyan: #22d3ee;
  --color-cyan-soft: rgba(34, 211, 238, 0.16);
  --shadow-panel: 0 24px 60px rgba(2, 6, 23, 0.42);
  --shadow-hover: 0 30px 70px rgba(37, 99, 235, 0.22);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 36rem),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 30rem),
    linear-gradient(180deg, #0f172a 0%, #111827 44%, #0f172a 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(100%, var(--max-width));
  min-height: 70px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(34, 211, 238, 0.18);
  transition: transform 0.25s ease;
}

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

.brand-text {
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(90deg, #60a5fa, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-search,
.mobile-search,
.home-search,
.search-tool-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search {
  flex: 1 1 420px;
  max-width: 620px;
}

.nav-search input,
.mobile-search input,
.home-search input,
.search-tool-form input,
.filter-panel input,
.filter-panel select,
.search-filters select {
  width: 100%;
  color: var(--color-text);
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-search input,
.mobile-search input,
.home-search input,
.search-tool-form input {
  padding: 12px 18px;
}

.nav-search input:focus,
.mobile-search input:focus,
.home-search input:focus,
.search-tool-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-filters select:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.10);
  background: rgba(15, 23, 42, 0.88);
}

.nav-search button,
.mobile-search button,
.home-search button,
.search-tool-form button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-search button,
.mobile-search button,
.home-search button,
.search-tool-form button,
.primary-button {
  background: linear-gradient(90deg, var(--color-blue), #06b6d4);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.24);
}

.nav-search button,
.mobile-search button {
  padding: 11px 18px;
}

.home-search button,
.search-tool-form button,
.primary-button,
.secondary-button {
  padding: 13px 24px;
}

.secondary-button {
  color: #dbeafe;
  border: 1px solid rgba(191, 219, 254, 0.28);
  background: rgba(15, 23, 42, 0.44);
}

.nav-search button:hover,
.mobile-search button:hover,
.home-search button:hover,
.search-tool-form button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #cbd5e1;
  font-size: 15px;
}

.nav-actions a,
.site-footer a {
  transition: color 0.25s ease;
}

.nav-actions a:hover,
.site-footer a:hover {
  color: var(--color-cyan);
}

.nav-category-row {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 22px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.nav-pill,
.home-category-pills a {
  padding: 8px 15px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-pill:hover,
.nav-pill-active,
.home-category-pills a:hover {
  color: #67e8f9;
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(34, 211, 238, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.44);
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-menu {
  display: none;
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 4px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.hero-carousel {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-image,
.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade,
.detail-backdrop-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.9), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 112px 22px 0;
  max-width: var(--max-width);
}

.hero-content h1,
.detail-main-info h1,
.sub-hero h1 {
  max-width: 780px;
  margin: 16px 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.58);
}

.hero-content p,
.detail-main-info p,
.sub-hero p {
  max-width: 700px;
  margin: 0 0 24px;
  color: #d1d5db;
  font-size: clamp(16px, 2.6vw, 20px);
  line-height: 1.75;
}

.hero-badge,
.section-eyebrow,
.sub-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #cffafe;
  background: rgba(37, 99, 235, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  color: #bfdbfe;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(191, 219, 254, 0.14);
  border-radius: 999px;
  font-size: 13px;
}

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

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

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

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

.home-search-panel,
.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.home-search-panel {
  margin-top: -44px;
  position: relative;
  z-index: 4;
  padding-top: 0;
  padding-bottom: 44px;
}

.home-search {
  padding: 18px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.home-category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.content-section {
  margin-bottom: 72px;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading.compact h2 {
  font-size: 28px;
}

.section-more {
  color: #67e8f9;
  font-weight: 700;
}

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

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

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.14);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-7px) scale(1.015);
  background: rgba(30, 41, 59, 0.64);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: var(--shadow-hover);
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(34, 211, 238, 0.18)),
    #111827;
}

.movie-card-large .poster-frame {
  aspect-ratio: 16 / 11;
}

.poster-frame::before,
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.12), transparent 14rem);
  pointer-events: none;
}

.movie-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.25s ease;
}

.movie-card:hover .movie-img {
  transform: scale(1.1);
}

.poster-frame.is-missing .movie-img,
.hero-slide.is-missing .hero-image,
.detail-hero.is-missing .detail-backdrop {
  opacity: 0;
}

.movie-type-badge,
.movie-year-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
}

.movie-type-badge {
  top: 12px;
  left: 12px;
}

.movie-year-badge {
  right: 12px;
  bottom: 12px;
}

.movie-play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
  padding: 18px;
}

.movie-card h3 {
  min-height: 2.7em;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  min-height: 4.8em;
  margin: 0 0 14px;
  color: #cbd5e1;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 13px;
}

.movie-meta-line span:last-child {
  color: #60a5fa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ranking-panel,
.static-card,
.filter-panel,
.search-tool,
.detail-text-card,
.player-shell,
.category-overview-card,
.category-tile {
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.ranking-panel {
  position: sticky;
  top: 112px;
  padding: 24px;
}

.ranking-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-panel li + li {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.rank-number,
.ranking-index {
  color: #67e8f9;
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.category-tile {
  display: grid;
  min-height: 150px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: var(--shadow-hover);
}

.category-tile span {
  font-size: 22px;
  font-weight: 800;
}

.category-tile small {
  color: #67e8f9;
  margin-top: 10px;
}

.category-tile em,
.category-overview-card p {
  color: #94a3b8;
  margin-top: 10px;
  font-style: normal;
  line-height: 1.6;
}

.page-with-hero {
  padding-top: 42px;
}

.sub-hero {
  padding: 48px;
  margin-bottom: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.20), transparent 24rem),
    linear-gradient(135deg, rgba(30, 58, 138, 0.74), rgba(15, 23, 42, 0.86));
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow: var(--shadow-panel);
}

.category-overview-card {
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.category-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.category-overview-top strong {
  font-size: 20px;
}

.category-overview-top em {
  color: #67e8f9;
  font-style: normal;
  font-size: 13px;
}

.category-preview-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-preview-list span {
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.filter-panel,
.search-tool {
  padding: 22px;
  margin-bottom: 34px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
}

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

.filter-grid label,
.search-filters label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

.filter-grid input,
.filter-grid select,
.search-filters select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.filter-count {
  margin: 16px 0 0;
  color: #94a3b8;
}

.filter-count span {
  color: #67e8f9;
  font-weight: 800;
}

.ranking-list {
  display: grid;
  gap: 14px;
  margin-bottom: 72px;
}

.ranking-item a {
  display: grid;
  grid-template-columns: 70px 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 120px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ranking-item a:hover {
  transform: translateX(6px);
  background: rgba(30, 41, 59, 0.72);
  border-color: rgba(34, 211, 238, 0.3);
}

.ranking-item img {
  width: 110px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.16);
}

.ranking-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ranking-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
}

.ranking-info em {
  color: #94a3b8;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-tags {
  color: #cbd5e1;
  font-size: 14px;
  white-space: nowrap;
}

.search-tool-form {
  margin-bottom: 18px;
}

.search-tool-form input {
  flex: 1;
}

.search-filters {
  margin-bottom: 10px;
}

.detail-page {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 1) 620px);
}

.detail-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 86px 22px 80px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
}

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

.breadcrumb a {
  color: #67e8f9;
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.detail-meta-list span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(191, 219, 254, 0.14);
}

.detail-shell {
  margin-top: -72px;
  position: relative;
  z-index: 4;
}

.player-shell {
  padding: 24px;
  margin-bottom: 34px;
}

.player-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.player-title-row h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 36px);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.24), transparent 28rem),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

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

.player-start-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.34);
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-start-button span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.player-shell.is-playing .player-start-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.player-note {
  margin: 14px 0 0;
  color: #94a3b8;
  font-size: 14px;
}

.detail-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
  margin-bottom: 72px;
}

.detail-text-card {
  padding: 28px;
}

.detail-text-card h2,
.static-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.detail-text-card p,
.static-card p {
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 16px;
}

.static-card {
  max-width: 900px;
  padding: 34px;
  margin-bottom: 72px;
}

.site-footer {
  padding: 54px 22px 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-grid,
.footer-bottom {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 34px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-text,
.site-footer li,
.footer-bottom {
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.back-top {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

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

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

  .feature-grid,
  .mixed-grid,
  .waterfall-grid,
  .category-tile-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .ranking-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .nav-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-text {
    font-size: 22px;
  }

  .nav-search,
  .nav-category-row {
    display: none;
  }

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

  .hero-carousel {
    height: 620px;
  }

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

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

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

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

  .ranking-item a {
    grid-template-columns: 48px 86px minmax(0, 1fr);
  }

  .ranking-tags {
    grid-column: 3;
    white-space: normal;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .detail-poster {
    max-width: 270px;
  }

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

@media (max-width: 560px) {
  .page-shell,
  .home-search-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-carousel {
    height: 680px;
  }

  .hero-content h1,
  .detail-main-info h1,
  .sub-hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .player-title-row,
  .section-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .mixed-grid,
  .waterfall-grid,
  .category-tile-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .sub-hero {
    padding: 32px 22px;
  }

  .ranking-item a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .ranking-item img {
    display: none;
  }

  .ranking-tags {
    grid-column: 2;
  }

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