:root {
  --ice-50: #ecfeff;
  --ice-100: #cffafe;
  --ice-200: #a5f3fc;
  --ice-400: #22d3ee;
  --ice-500: #06b6d4;
  --ice-600: #0891b2;
  --frost-50: #f0f9ff;
  --frost-100: #e0f2fe;
  --frost-500: #0ea5e9;
  --frost-600: #0284c7;
  --frost-700: #0369a1;
  --frost-950: #082f49;
  --silver-50: #f8fafc;
  --silver-100: #f1f5f9;
  --silver-200: #e2e8f0;
  --silver-300: #cbd5e1;
  --silver-400: #94a3b8;
  --silver-500: #64748b;
  --silver-600: #475569;
  --silver-700: #334155;
  --silver-800: #1e293b;
  --silver-900: #0f172a;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--silver-900);
  background: linear-gradient(180deg, var(--silver-50) 0%, #ffffff 48%, var(--frost-50) 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.96), rgba(8, 47, 73, 0.96));
  color: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(8, 47, 73, 0.22);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ice-400), var(--frost-600));
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.32);
}

.brand-text {
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--ice-200), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--ice-200);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
  gap: 10px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 700;
}

.mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.22);
}

main {
  min-height: 70vh;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--silver-900);
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 38%, rgba(34, 211, 238, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.62) 48%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.54), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 340px;
  align-items: center;
  gap: 48px;
  color: #ffffff;
}

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

.hero-meta,
.detail-meta-list,
.hero-tags,
.tag-list,
.quick-links,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.hero-tags span,
.tag-list span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-meta span:first-child,
.eyebrow {
  background: linear-gradient(135deg, var(--frost-600), var(--ice-500));
  color: #ffffff;
}

.hero-meta span:not(:first-child),
.hero-tags span,
.tag-list span {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 22px;
  color: var(--silver-200);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.home-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.home-search-form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--frost-600), var(--ice-500));
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.28);
}

.primary-button:hover,
.home-search-form button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 36px rgba(14, 165, 233, 0.36);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: inherit;
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-section {
  position: relative;
  z-index: 5;
  width: min(980px, calc(100% - 32px));
  margin: -54px auto 0;
}

.home-search-card {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.home-search-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.home-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.home-search-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--silver-200);
  border-radius: 16px;
  background: #ffffff;
  color: var(--silver-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-form input {
  min-height: 50px;
  padding: 0 18px;
}

.home-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--frost-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.quick-links {
  margin-top: 16px;
}

.quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--frost-50);
  color: var(--frost-700);
  font-weight: 700;
}

.section-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1280px) / 2));
  padding-right: max(16px, calc((100% - 1280px) / 2));
  background: linear-gradient(135deg, var(--frost-50), var(--ice-50));
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1280px) / 2));
  padding-right: max(16px, calc((100% - 1280px) / 2));
  background: linear-gradient(135deg, var(--silver-900), var(--frost-950));
  color: #ffffff;
}

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

.section-heading span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--frost-100);
  color: var(--frost-700);
  font-size: 0.84rem;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--frost-700);
  font-weight: 800;
}

.light-heading span {
  background: rgba(34, 211, 238, 0.16);
  color: var(--ice-200);
}

.light-heading a {
  color: var(--ice-200);
}

.compact-heading {
  align-items: center;
}

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.18);
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: var(--silver-200);
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--frost-600);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 14px 12px;
  color: #ffffff;
  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;
}

.poster-shade span {
  font-size: 0.82rem;
  font-weight: 700;
}

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

.movie-card-body h2 {
  min-height: 2.9em;
  margin: 0 0 8px;
  color: var(--silver-900);
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.dark-card .movie-card-body h2 {
  color: #ffffff;
}

.movie-card:hover .movie-card-body h2 {
  color: var(--frost-600);
}

.movie-card-body p {
  min-height: 3.6em;
  margin: 0 0 12px;
  color: var(--silver-600);
  font-size: 0.88rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-card .movie-card-body p {
  color: var(--silver-300);
}

.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--silver-500);
  font-size: 0.82rem;
}

.movie-card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card-meta strong {
  color: var(--frost-700);
}

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

.category-tile {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  background: var(--silver-900);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
  opacity: 0.78;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.12));
}

.category-tile-content {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #ffffff;
}

.category-tile-content strong,
.category-tile-content em,
.category-tile-content small {
  display: block;
}

.category-tile-content strong {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.category-tile-content em {
  color: var(--ice-200);
  font-style: normal;
  font-weight: 800;
  margin-bottom: 8px;
}

.category-tile-content small {
  color: var(--silver-200);
  line-height: 1.7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.34), transparent 34%),
    linear-gradient(135deg, var(--silver-900), var(--frost-950));
  color: #ffffff;
}

.small-hero {
  padding: 90px max(16px, calc((100% - 1280px) / 2));
}

.page-hero h1 {
  margin: 14px 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  color: var(--silver-200);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-cover {
  overflow: hidden;
  border-radius: 22px;
}

.category-cover img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 12px 0 8px;
  font-size: 1.8rem;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--silver-600);
  line-height: 1.8;
}

.overview-links,
.footer-links,
.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-links a,
.sitemap-links a {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--silver-100);
  color: var(--silver-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 14px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--silver-600);
  font-size: 0.86rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
}

.filter-count {
  margin-top: 12px;
  color: var(--silver-600);
  font-weight: 700;
}

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

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

.ranking-panel,
.ranking-side,
.detail-article,
.detail-more-list {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.ranking-panel {
  padding: 24px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: var(--silver-50);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  background: var(--frost-50);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--frost-600), var(--ice-500));
  font-weight: 900;
}

.ranking-row img {
  width: 64px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.row-main {
  min-width: 0;
}

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

.row-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 5px;
}

.row-main em {
  color: var(--silver-500);
  font-size: 0.88rem;
  font-style: normal;
}

.row-score {
  color: var(--frost-700);
  font-size: 1.1rem;
  font-weight: 900;
}

.full-ranking {
  max-height: none;
}

.ranking-side {
  position: sticky;
  top: 96px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.ranking-side h2 {
  margin: 0 0 6px;
}

.ranking-side a {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--frost-50);
  color: var(--frost-700);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--silver-900);
}

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

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.45);
  transform: scale(1.08);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(8, 47, 73, 0.72));
}

.detail-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--silver-300);
  font-size: 0.92rem;
}

.breadcrumbs a:hover {
  color: var(--ice-200);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: center;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.stream-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.26));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--frost-600), var(--ice-500));
  box-shadow: 0 20px 42px rgba(14, 165, 233, 0.36);
  font-size: 2rem;
}

.play-cover strong {
  font-size: 1.2rem;
}

.detail-info h1 {
  margin: 16px 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0 0 20px;
  color: var(--silver-200);
  line-height: 1.9;
  font-size: 1.05rem;
}

.detail-meta-list span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--silver-200);
  font-weight: 700;
}

.tag-list {
  margin: 22px 0;
}

.detail-body-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
}

.detail-article {
  padding: 34px;
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
}

.detail-article h2:not(:first-child) {
  margin-top: 34px;
}

.detail-article p {
  margin: 0;
  color: var(--silver-700);
  font-size: 1.04rem;
  line-height: 2;
}

.detail-more-list {
  margin-top: 26px;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.sitemap-wrap {
  display: grid;
  gap: 26px;
}

.sitemap-group {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.sitemap-group h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
}

.sitemap-links {
  max-height: none;
}

.site-footer {
  color: var(--silver-300);
  background: linear-gradient(135deg, var(--silver-900), var(--frost-950));
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo .brand-text {
  color: #ffffff;
}

.footer-brand p {
  max-width: 460px;
  color: var(--silver-400);
  line-height: 1.8;
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-links a {
  color: var(--silver-400);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ice-200);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--silver-500);
}

@media (max-width: 1100px) {
  .movie-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-side {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero-slider {
    height: auto;
    min-height: 680px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 72px 0 92px;
  }

  .hero-poster {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-form,
  .filter-grid,
  .footer-inner,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .small-hero {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 540px) {
  .header-inner,
  .mobile-nav,
  .section-wrap,
  .detail-content,
  .home-search-section {
    width: min(100% - 24px, 1280px);
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    letter-spacing: -0.03em;
  }

  .movie-grid-3,
  .movie-grid-4,
  .movie-grid-5,
  .category-grid {
    gap: 14px;
  }

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

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

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

  .ranking-row img {
    width: 54px;
    height: 74px;
  }

  .row-score {
    display: none;
  }

  .play-icon {
    width: 62px;
    height: 62px;
  }
}
