:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 48%, var(--gray-50) 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

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

.brand-text strong {
  font-size: 19px;
  letter-spacing: -0.03em;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--gray-700);
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--emerald-600);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--gray-700);
}

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

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 600;
}

.mobile-nav a:hover {
  background: var(--gray-100);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-800));
  box-shadow: var(--shadow-lg);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.hero-slide img.is-missing {
  visibility: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.32), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #064e3b 48%, #111827 100%);
  z-index: -1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 44%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, transparent 50%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 10vw, 160px);
  bottom: clamp(34px, 8vw, 88px);
  max-width: 700px;
  color: var(--white);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--emerald-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow {
  color: var(--emerald-700);
  background: var(--emerald-100);
}

.hero-content h1 {
  margin: 16px 0 16px;
  font-size: clamp(38px, 7vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-content p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.75;
}

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

.hero-meta span,
.detail-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

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

.primary-btn,
.ghost-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: var(--emerald-600);
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.24);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: var(--emerald-700);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.text-btn {
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.text-btn:hover {
  color: var(--white);
  background: var(--emerald-600);
}

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

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  bottom: 30px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 30px;
  background: var(--white);
}

.hero-side-panel {
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.hero-side-title {
  margin-bottom: 14px;
  font-weight: 900;
  font-size: 18px;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-mini-card:hover {
  background: var(--gray-50);
  transform: translateX(3px);
}

.hero-mini-card img {
  width: 96px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-700));
}

.hero-mini-card img.is-missing {
  visibility: hidden;
}

.hero-mini-card span {
  font-weight: 800;
  line-height: 1.35;
}

.home-intro,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.home-intro h1,
.page-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-intro p,
.page-hero p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.small-hero,
.category-hero {
  margin-top: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(16, 185, 129, 0.36), transparent 26%),
    linear-gradient(135deg, var(--gray-900), var(--emerald-800));
}

.small-hero .eyebrow,
.category-hero .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.small-hero p,
.category-hero p {
  color: rgba(255, 255, 255, 0.76);
}

.category-hero {
  align-items: stretch;
}

.category-hero-strip {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.category-hero-strip a {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-700));
}

.category-hero-strip a:nth-child(even) {
  transform: translateY(22px);
}

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

.category-hero-strip img.is-missing {
  visibility: hidden;
}

.category-hero-strip span {
  position: absolute;
  inset-inline: 8px;
  bottom: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

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

.content-section,
.ranking-list-section,
.plain-card {
  margin: 32px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.rank-panel h2,
.ranking-list-section h2,
.detail-aside h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

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

.section-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.28), transparent);
}

.section-link {
  color: var(--emerald-700);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr minmax(0, 690px);
  gap: 20px;
  align-items: center;
  margin: 24px 0 32px;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-title h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.filter-title p {
  margin: 0;
  color: var(--gray-500);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 140px 96px;
  gap: 10px;
}

.filter-controls input,
.filter-controls select,
.filter-controls button {
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  padding: 0 13px;
  background: var(--gray-50);
  color: var(--gray-800);
  outline: 0;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.filter-controls button {
  border: 0;
  color: var(--white);
  background: var(--emerald-600);
  font-weight: 800;
}

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

.movie-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

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

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

.movie-card {
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card a {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(16, 185, 129, 0.38), transparent 32%),
    linear-gradient(135deg, var(--gray-900), var(--emerald-800));
}

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

.poster-frame img.is-missing {
  visibility: hidden;
}

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 58%);
  opacity: 0.75;
}

.poster-badge,
.play-dot {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.poster-badge {
  top: 10px;
  left: 10px;
  min-height: 26px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
}

.play-dot {
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  color: var(--emerald-700);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

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

.movie-card-meta {
  gap: 6px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 9px 0 8px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--emerald-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-list span,
.detail-tags span {
  color: var(--emerald-700);
  background: var(--emerald-50);
}

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

.movie-card-compact h3 {
  min-height: 44px;
  font-size: 15px;
}

.movie-card-compact p {
  display: none;
}

.movie-card-horizontal {
  border-radius: 16px;
}

.movie-card-horizontal a {
  display: grid;
  grid-template-columns: 138px 1fr;
}

.movie-card-horizontal .poster-frame {
  aspect-ratio: auto;
  min-height: 98px;
}

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

.movie-card-horizontal h3 {
  min-height: auto;
  margin: 5px 0 5px;
  -webkit-line-clamp: 1;
}

.movie-card-horizontal p {
  min-height: auto;
  margin: 0;
  -webkit-line-clamp: 2;
}

.movie-card-horizontal .tag-list {
  display: none;
}

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

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rank-panel h2 {
  margin-bottom: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-num {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--emerald-600);
  font-size: 12px;
  font-weight: 900;
}

.rank-item img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-700));
}

.rank-item img.is-missing {
  visibility: hidden;
}

.rank-item strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}

.rank-item small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.topic-card,
.category-overview-card,
.plain-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.topic-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 154px;
}

.topic-thumbs,
.category-cover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-800));
}

.topic-thumbs img,
.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.topic-thumbs img.is-missing,
.category-cover img.is-missing {
  visibility: hidden;
}

.topic-card > div:last-child,
.category-overview-body {
  padding: 20px;
}

.topic-card h3,
.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.topic-card p,
.category-overview-body p,
.plain-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.75;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 230px 1fr;
}

.category-cover {
  min-height: 260px;
  grid-template-columns: repeat(2, 1fr);
}

.category-overview-body ul {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.category-overview-body li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.category-overview-body li span {
  color: var(--gray-500);
}

.ranking-list-section {
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 16px;
}

.detail-shell {
  padding-top: 26px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-500);
  font-size: 14px;
}

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

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

.player-card,
.detail-card,
.detail-aside {
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.player-card {
  overflow: hidden;
}

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.35), transparent 34%),
    linear-gradient(135deg, #020617, #064e3b 58%, #111827);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.04));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.big-play {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emerald-700);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  font-size: 30px;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.detail-card {
  margin-top: 20px;
  padding: 26px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-title-row h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-title-row p {
  margin: 0;
  color: var(--gray-600);
}

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

.detail-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.detail-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
}

.review-block {
  padding: 18px;
  border-radius: 18px;
  background: var(--gray-50);
}

.detail-aside {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.related-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.plain-card {
  padding: 30px;
}

.plain-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.plain-card p + p {
  margin-top: 12px;
}

.site-footer {
  margin-top: 56px;
  color: var(--gray-300);
  background: var(--gray-900);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 32px;
}

.site-footer .brand-text strong {
  color: var(--white);
}

.site-footer .brand-text small,
.site-footer p,
.site-footer a {
  color: var(--gray-400);
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a:hover {
  color: var(--emerald-500);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  text-align: center;
  font-size: 14px;
}

[data-card][hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .hero,
  .two-column-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-side-panel,
  .rank-panel,
  .detail-aside {
    position: static;
  }

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

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

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

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

  .hero-stage {
    min-height: 520px;
  }

  .hero-side-panel {
    display: none;
  }

  .home-intro,
  .page-hero,
  .filter-panel,
  .detail-title-row,
  .footer-main,
  .category-overview-card,
  .topic-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-panel {
    display: block;
  }

  .filter-controls {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .movie-grid-six,
  .movie-grid-five,
  .movie-grid-four,
  .movie-grid-three,
  .topic-grid,
  .category-overview-grid,
  .ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-hero-strip {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .mobile-nav,
  .hero,
  .home-intro,
  .page-hero,
  .page-shell,
  .footer-shell {
    width: min(100% - 22px, 1180px);
  }

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

  .brand-text small {
    font-size: 10px;
  }

  .hero-stage {
    min-height: 480px;
    border-radius: 22px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 60px;
  }

  .hero-arrow {
    display: none;
  }

  .home-intro,
  .page-hero,
  .plain-card,
  .detail-card {
    padding: 22px;
    border-radius: 22px;
  }

  .movie-grid-six,
  .movie-grid-five,
  .movie-grid-four,
  .movie-grid-three,
  .topic-grid,
  .category-overview-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal a {
    grid-template-columns: 118px 1fr;
  }

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

  .category-hero-strip a:nth-child(even) {
    transform: none;
  }
}
