:root {
  --color-sky: #0ea5e9;
  --color-blue: #2563eb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-soft: #f0f9ff;
  --color-line: #e5e7eb;
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 22px 50px rgba(14, 165, 233, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--color-text);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-blue));
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.32);
}

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

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--color-sky), var(--color-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-muted);
}

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

.nav-link,
.mobile-nav-link {
  padding: 9px 14px;
  border-radius: 12px;
  color: #374151;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-sky);
  background: #e0f2fe;
}

.header-search {
  position: relative;
  display: flex;
  width: min(290px, 24vw);
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 12px 46px 12px 16px;
  outline: none;
  color: var(--color-text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f9ff;
  color: var(--color-sky);
  transform: translateY(-50%);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f0f9ff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
}

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile-search input {
  padding-right: 16px;
}

.mobile-search button,
.hero-search button,
.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-blue));
  cursor: pointer;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 62px;
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 48%, #dbeafe 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.subpage-hero h1,
.detail-info h1 {
  margin: 16px 0;
  color: #111827;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p,
.subpage-hero p,
.detail-info p {
  max-width: 680px;
  color: #4b5563;
  font-size: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.9);
  font-weight: 700;
  font-size: 14px;
}

.hero-search {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin: 28px 0 22px;
}

.hero-search input {
  padding-right: 18px;
  box-shadow: var(--shadow-card);
}

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

.primary-button,
.ghost-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  transition: 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-blue));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.ghost-button,
.section-link {
  color: var(--color-sky);
  background: #e0f2fe;
}

.hero-showcase {
  position: relative;
}

.hero-feature {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 430px;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  isolation: isolate;
}

.hero-feature::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.78));
}

.hero-feature img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-feature:hover img {
  transform: scale(1.06);
}

.hero-feature div {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 2;
  color: #ffffff;
}

.hero-feature span {
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-feature h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.hero-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.35;
}

.hero-glow-left {
  top: 28px;
  left: 6%;
  width: 260px;
  height: 260px;
  background: #7dd3fc;
}

.hero-glow-right {
  right: 8%;
  bottom: 24px;
  width: 340px;
  height: 340px;
  background: #bfdbfe;
}

.content-section {
  padding: 64px 0;
}

.bg-white {
  background: #ffffff;
}

.bg-soft {
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

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

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-sky);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.movie-card-large {
  border-radius: var(--radius-xl);
}

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

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e0f2fe;
}

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

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

.movie-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.55));
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster::after {
  opacity: 1;
}

.movie-badge,
.movie-duration,
.movie-play,
.pill {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.movie-badge {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(14, 165, 233, 0.9);
}

.movie-duration {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.movie-play {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--color-sky);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: 0.25s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3 {
  color: var(--color-sky);
}

.movie-info p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
}

.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.movie-tags span,
.detail-tags span,
.pill {
  position: static;
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-compact .movie-info {
  padding: 14px;
}

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

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

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border-radius: 22px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-blue));
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.category-tile::after,
.category-overview-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.18);
}

.category-count {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.category-tile h3,
.category-overview-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-tile p,
.category-overview-content p {
  margin: 0;
  opacity: 0.9;
}

.from-sky {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.from-rose {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.from-emerald {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.from-amber {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.from-violet {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.from-blue {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.from-pink {
  background: linear-gradient(135deg, #ec4899, #d946ef);
}

.from-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.from-orange {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
}

.from-cyan {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.subpage-hero,
.detail-hero {
  padding: 58px 0;
  color: #111827;
  background: linear-gradient(135deg, #e0f2fe, #ffffff 52%, #dbeafe);
}

.subpage-hero.from-sky,
.subpage-hero.from-rose,
.subpage-hero.from-emerald,
.subpage-hero.from-amber,
.subpage-hero.from-violet,
.subpage-hero.from-blue,
.subpage-hero.from-pink,
.subpage-hero.from-red,
.subpage-hero.from-orange,
.subpage-hero.from-cyan {
  color: #ffffff;
}

.subpage-hero.from-sky .hero-badge,
.subpage-hero.from-rose .hero-badge,
.subpage-hero.from-emerald .hero-badge,
.subpage-hero.from-amber .hero-badge,
.subpage-hero.from-violet .hero-badge,
.subpage-hero.from-blue .hero-badge,
.subpage-hero.from-pink .hero-badge,
.subpage-hero.from-red .hero-badge,
.subpage-hero.from-orange .hero-badge,
.subpage-hero.from-cyan .hero-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.subpage-hero.from-sky h1,
.subpage-hero.from-rose h1,
.subpage-hero.from-emerald h1,
.subpage-hero.from-amber h1,
.subpage-hero.from-violet h1,
.subpage-hero.from-blue h1,
.subpage-hero.from-pink h1,
.subpage-hero.from-red h1,
.subpage-hero.from-orange h1,
.subpage-hero.from-cyan h1,
.subpage-hero.from-sky p,
.subpage-hero.from-rose p,
.subpage-hero.from-emerald p,
.subpage-hero.from-amber p,
.subpage-hero.from-violet p,
.subpage-hero.from-blue p,
.subpage-hero.from-pink p,
.subpage-hero.from-red p,
.subpage-hero.from-orange p,
.subpage-hero.from-cyan p {
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 14px;
}

.subpage-hero.from-sky .breadcrumb,
.subpage-hero.from-rose .breadcrumb,
.subpage-hero.from-emerald .breadcrumb,
.subpage-hero.from-amber .breadcrumb,
.subpage-hero.from-violet .breadcrumb,
.subpage-hero.from-blue .breadcrumb,
.subpage-hero.from-pink .breadcrumb,
.subpage-hero.from-red .breadcrumb,
.subpage-hero.from-orange .breadcrumb,
.subpage-hero.from-cyan .breadcrumb {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb a:hover {
  color: var(--color-sky);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  padding: 18px;
  background: #f8fbff;
}

.filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 800;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  padding: 10px 14px;
}

.filter-result {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

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

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

.ranking-card a {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  min-height: 136px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: 0.25s ease;
}

.ranking-card a:hover {
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.ranking-card img {
  width: 120px;
  height: 100%;
  min-height: 108px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-sky), var(--color-blue));
  font-weight: 900;
}

.ranking-card h3 {
  margin: 6px 0;
  color: #111827;
  font-size: 18px;
}

.ranking-card p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  min-height: 220px;
}

.category-preview-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-preview-images img {
  width: 100%;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.category-overview-content {
  position: relative;
  z-index: 2;
  align-self: center;
}

.category-overview-content span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #334155;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  font-weight: 700;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.movie-player {
  width: 100%;
  min-height: 520px;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.26), rgba(2, 6, 23, 0.46));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: var(--color-sky);
  background: rgba(255, 255, 255, 0.92);
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.28);
}

.player-overlay strong {
  display: block;
  font-size: 18px;
}

.player-status {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(15, 23, 42, 0.68);
  font-size: 13px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 26px;
}

.detail-article,
.detail-side-card {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  padding: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 16px;
}

.detail-side-card dl {
  margin: 0;
}

.detail-side-card div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.detail-side-card div:last-child {
  border-bottom: 0;
}

.detail-side-card dt {
  color: #64748b;
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: #111827;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, #ffffff, #f0f9ff);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.site-footer p {
  color: var(--color-muted);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #111827;
}

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

.site-footer li {
  margin: 8px 0;
  color: #64748b;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  border-top: 1px solid #dbeafe;
  padding-top: 20px;
  font-size: 14px;
}

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

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

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

  .hero-inner,
  .detail-layout,
  .detail-content-grid,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-preview-images {
    max-width: 420px;
  }

  .index-ranking {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-section {
    padding: 46px 0;
  }

  .hero-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .movie-player {
    min-height: 360px;
  }

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

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-copy h1,
  .subpage-hero h1,
  .detail-info h1 {
    font-size: 36px;
  }

  .hero-search,
  .mobile-search {
    flex-direction: column;
  }

  .hero-feature,
  .hero-feature img {
    min-height: 320px;
    height: 320px;
  }

  .default-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .content-section {
    padding: 42px 0;
  }

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    min-height: 42px;
    font-size: 15px;
  }

  .movie-info p,
  .movie-tags {
    display: none;
  }

  .ranking-card a {
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .ranking-card img {
    width: 96px;
    min-height: 96px;
  }

  .ranking-meta {
    gap: 8px;
  }

  .detail-poster img {
    aspect-ratio: 16 / 9;
  }

  .movie-player {
    min-height: 260px;
  }

  .player-overlay span {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }

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