:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-600: #0369a1;
  --primary-700: #075985;
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-600: #0d9488;
  --secondary-700: #0f766e;
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

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

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

.brand-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.22);
}

.brand-text {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--primary-600), var(--secondary-600));
  -webkit-background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--primary-600);
  transition: right 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gray-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

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

.mobile-nav .nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile-nav .nav-link.active,
.mobile-nav .nav-link:hover {
  background: var(--primary-50);
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--black);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 120px;
}

.hero-copy {
  width: min(760px, 100%);
  color: var(--white);
}

.hero-badges,
.card-badges,
.hero-meta,
.movie-meta,
.page-actions,
.hero-actions,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-badges span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-badges span:first-child {
  background: var(--primary-600);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.hero p {
  max-width: 680px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-meta {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 12px 26px rgba(3, 105, 161, 0.28);
}

.btn-primary:hover {
  background: var(--primary-700);
}

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

.btn-light {
  color: var(--primary-700);
  background: var(--primary-50);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.active {
  width: 34px;
  background: var(--white);
}

main section.container {
  margin-top: 64px;
}

.home-search-section {
  margin-top: -40px;
  position: relative;
  z-index: 6;
}

.search-hero-card,
.soft-panel,
.page-hero,
.detail-card,
.side-card,
.player-card,
.ranking-panel {
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.search-hero-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  padding: 28px;
  backdrop-filter: blur(16px);
}

.search-hero-card h2,
.section-heading h2,
.ranking-title h2,
.side-card h2,
.detail-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.search-hero-card p,
.section-heading p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--gray-600);
}

.filter-panel {
  display: grid;
  gap: 16px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 14px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1);
}

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

.section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.section-heading > span {
  width: 5px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-600), var(--secondary-600));
}

.section-heading.secondary > span {
  background: linear-gradient(180deg, var(--secondary-600), var(--accent-600));
}

.section-heading.accent > span {
  background: linear-gradient(180deg, var(--accent-600), var(--primary-600));
}

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

.compact-grid {
  gap: 20px;
}

.category-movie-grid {
  margin-top: 28px;
}

.movie-card {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

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

.movie-card:hover .poster img,
.related-card:hover img,
.category-card:hover img,
.rank-card:hover img {
  transform: scale(1.08);
}

.quality,
.floating-rating,
.play-mark {
  position: absolute;
  z-index: 2;
}

.quality {
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  color: var(--white);
  background: var(--primary-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.floating-rating {
  top: 12px;
  right: 12px;
  padding: 3px 9px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.play-mark {
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.card-badges {
  gap: 8px;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-soft {
  color: var(--primary-700);
  background: var(--primary-100);
}

.badge-solid {
  color: var(--white);
  background: var(--primary-600);
}

.rating {
  color: #b45309;
  font-weight: 800;
}

.movie-card h3,
.related-card h3,
.rank-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p,
.rank-item p,
.related-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.movie-card-body > p {
  min-height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-meta span + span::before {
  content: "·";
  margin-right: 10px;
}

.category-section,
.soft-panel {
  padding: 36px;
}

.soft-panel {
  background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

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

.category-tile {
  min-height: 172px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--white), var(--primary-50));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
  display: block;
  color: var(--primary-700);
  font-size: 20px;
  font-weight: 800;
}

.category-tile p {
  color: var(--gray-600);
  font-size: 14px;
}

.category-tile strong {
  color: var(--accent-600);
}

.two-column-section {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.horizontal-list {
  display: grid;
  gap: 18px;
}

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

.horizontal-poster {
  aspect-ratio: 16 / 10;
  height: 100%;
}

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

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ranking-title a {
  color: var(--primary-600);
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--gray-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: var(--primary-50);
  transform: translateX(3px);
}

.rank-item > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-600), var(--primary-600));
  border-radius: 12px;
  font-weight: 900;
}

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

.movie-card-large {
  position: relative;
  min-height: 320px;
}

.large-poster {
  aspect-ratio: 16 / 10;
  height: 100%;
}

.large-play {
  width: 64px;
  height: 64px;
}

.overlay-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
  padding-top: 80px;
}

.overlay-body p,
.overlay-body .movie-meta {
  color: rgba(255, 255, 255, 0.82);
}

.page-main {
  padding-top: 104px;
  padding-bottom: 72px;
}

.page-hero {
  padding: 46px;
  background: linear-gradient(135deg, var(--primary-50), var(--white) 48%, var(--secondary-50));
}

.small-hero,
.category-hero,
.ranking-hero {
  min-height: 230px;
  display: flex;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 11px;
  color: var(--primary-700);
  background: var(--primary-100);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.page-actions {
  margin-top: 24px;
}

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

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card figure {
  margin: 0;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card div {
  padding: 26px;
}

.category-card span {
  color: var(--primary-600);
  font-weight: 900;
}

.category-card h2 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.category-card p {
  color: var(--gray-600);
}

.empty-state {
  display: none;
  padding: 26px;
  color: var(--gray-600);
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.empty-state.show {
  display: block;
}

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

.rank-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rank-card > a {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.rank-card figure {
  position: relative;
  margin: 0;
  min-height: 150px;
  overflow: hidden;
}

.rank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rank-card figure span {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-600), var(--primary-600));
  border-radius: 14px;
  font-weight: 900;
}

.rank-card div:last-child {
  padding: 22px;
}

.rank-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.rank-card p {
  margin: 0;
  color: var(--gray-600);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary-600);
  font-weight: 700;
}

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

.detail-primary {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
  background: var(--black);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.movie-player {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black);
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 34px;
  box-shadow: var(--shadow-lg);
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-card {
  padding: 30px;
}

.detail-headline h1 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.lead {
  color: var(--gray-600);
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
  padding: 18px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.info-grid div {
  display: grid;
  gap: 4px;
}

.info-grid span {
  color: var(--gray-500);
  font-size: 13px;
}

.info-grid strong {
  color: var(--gray-900);
}

.detail-card h2 {
  margin-top: 28px;
  font-size: 24px;
}

.detail-card p {
  color: var(--gray-700);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list a {
  padding: 6px 11px;
  color: var(--secondary-700);
  background: var(--secondary-100);
  border-radius: 999px;
  font-weight: 700;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}

.side-card {
  padding: 20px;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.cover-card .btn {
  width: 100%;
}

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

.related-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: var(--gray-50);
}

.related-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card figure span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
}

.related-card h3 {
  -webkit-line-clamp: 2;
  font-size: 15px;
}

.related-card small {
  color: var(--gray-500);
}

.site-footer {
  margin-top: 72px;
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  padding: 52px 0;
}

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

.site-footer p,
.site-footer a {
  color: var(--gray-600);
}

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

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

.site-footer a:hover {
  color: var(--primary-600);
}

.footer-tags span {
  padding: 4px 10px;
  color: var(--gray-600);
  background: var(--white);
  border-radius: 999px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

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

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 16px;
  }

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

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

  .two-column-section,
  .detail-layout,
  .search-hero-card {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-sidebar {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .header-inner {
    height: 66px;
  }

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

  .hero {
    height: 72vh;
    min-height: 520px;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .hero-arrow {
    display: none;
  }

  .filter-row,
  .movie-grid,
  .large-grid,
  .category-card-grid,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .movie-card-horizontal,
  .category-card,
  .rank-card > a {
    grid-template-columns: 140px 1fr;
  }
}

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

  .hero {
    min-height: 560px;
  }

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

  .btn {
    width: 100%;
  }

  .search-hero-card,
  .soft-panel,
  .category-section,
  .page-hero,
  .detail-card {
    padding: 22px;
  }

  .filter-row,
  .movie-grid,
  .large-grid,
  .category-grid,
  .category-card-grid,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal,
  .category-card,
  .rank-card > a,
  .related-card {
    grid-template-columns: 1fr;
  }

  .horizontal-poster,
  .rank-card figure {
    aspect-ratio: 16 / 10;
  }

  .category-card img {
    min-height: 180px;
  }

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

  .rank-item strong {
    grid-column: 2;
  }
}
