:root {
  --color-blue: #2563eb;
  --color-cyan: #06b6d4;
  --color-slate: #0f172a;
  --color-muted: #64748b;
  --color-line: rgba(148, 163, 184, 0.24);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 25px 70px rgba(15, 23, 42, 0.25);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --max-width: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2937;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 45%, #ecfeff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  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.85);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, 1800px);
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.brand-copy,
.footer-brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle,
.footer-brand small {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link,
.mobile-link {
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-link {
  padding: 12px 18px;
}

.nav-link:hover,
.mobile-link:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.nav-link.active,
.mobile-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.28);
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  color: #0f172a;
}

.mobile-menu-button span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.mobile-link {
  display: block;
  padding: 12px 16px;
  margin-top: 8px;
}

.hero-grid {
  position: relative;
  min-height: 620px;
  height: calc(85vh - 20px);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
}

.hero-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(0deg, #f8fafc 0%, rgba(248, 250, 252, 0));
}

.hero-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
  transform: translateZ(0);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.8s ease;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.4) 48%, rgba(2, 6, 23, 0.1));
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
  color: #fff;
}

.eyebrow,
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #facc15;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
}

.hero-content strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content em {
  display: -webkit-box;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 14px;
}

.hero-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, background 0.28s ease;
}

.hero-card:hover .hero-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.32);
}

.hero-entry-panel {
  position: absolute;
  z-index: 4;
  top: 32px;
  right: 32px;
  width: min(360px, calc(100% - 64px));
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: rgba(15, 23, 42, 0.48);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-entry-panel strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.hero-entry-panel span {
  display: block;
  margin: 6px 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-entry-panel div {
  display: flex;
  gap: 10px;
}

.hero-entry-panel a {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.section,
.search-section,
.category-section,
.detail-content {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.section.soft,
.category-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(16px, calc((100vw - var(--max-width)) / 2));
  background: rgba(241, 245, 249, 0.78);
}

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

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

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 860px;
  margin: 8px 0 0;
  color: #64748b;
}

.heading-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.heading-icon.hot {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.heading-icon.new {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.heading-icon.cat {
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.heading-icon.rec {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.heading-icon.rank {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.search-panel,
.category-filter {
  display: grid;
  grid-template-columns: 1fr 220px 180px;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.search-panel input,
.search-panel select,
.category-filter input,
.category-filter select {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  padding: 0 18px;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.search-panel input:focus,
.search-panel select:focus,
.category-filter input:focus,
.category-filter select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-results {
  display: none;
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.search-results.active {
  display: grid;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e2e8f0;
}

.movie-card.poster .movie-poster,
.movie-card.slider .movie-poster {
  aspect-ratio: 3 / 4;
}

.movie-card.wide .movie-poster {
  aspect-ratio: 16 / 10;
}

.movie-poster img,
.rank-cover img,
.related-card img,
.category-tile img,
.category-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.32);
}

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

.movie-card-body strong,
.rank-info strong,
.related-card strong {
  display: -webkit-box;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body em,
.rank-info em,
.related-card small {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
}

.movie-card-body span,
.rank-info span {
  display: -webkit-box;
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body small {
  display: block;
  margin-top: 12px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daily-feature {
  padding: 72px 16px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.daily-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
  color: #fff;
}

.daily-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

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

.daily-inner:hover .daily-cover img {
  transform: scale(1.06);
}

.daily-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.daily-copy small {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.daily-copy strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.daily-copy em {
  display: block;
  margin-top: 20px;
  color: rgba(239, 246, 255, 0.92);
  font-size: 18px;
  font-style: normal;
}

.daily-copy span:last-child {
  display: inline-flex;
  margin-top: 30px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--color-blue);
  background: #fff;
  font-weight: 900;
}

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

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

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

.category-tile span,
.category-large-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.category-tile strong,
.category-large-copy strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.category-tile small,
.category-large-copy em {
  display: -webkit-box;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-row {
  display: flex;
  gap: 24px;
  padding: 6px 2px 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.slider-row .movie-card {
  width: 320px;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.rank-grid,
.rank-list-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.rank-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
}

.rank-mark {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-size: 14px;
  font-weight: 900;
}

.rank-info {
  min-width: 0;
  padding: 6px 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.35), transparent 35%), linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0891b2);
  color: #fff;
}

.page-hero div {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 18px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

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

.category-card-large {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.category-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
}

.category-collage img:first-child {
  grid-row: span 2;
}

.category-large-copy small {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.category-movie-grid .movie-card[hidden] {
  display: none;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  color: #fff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  filter: blur(20px);
  transform: scale(1.08);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.55), #020617 88%);
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
}

.detail-breadcrumb a:hover {
  color: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-strong);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.22));
  cursor: pointer;
}

.play-overlay span {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, background 0.24s ease;
}

.play-overlay strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.play-overlay:hover span {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.32);
}

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

.detail-side {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.detail-side img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
}

.detail-side h1 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-side p {
  color: rgba(226, 232, 240, 0.88);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span,
.tag-cloud span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.detail-content {
  display: grid;
  gap: 22px;
  padding-top: 56px;
}

.story-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.story-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.story-card p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.9;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--color-blue);
}

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

.related-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.related-card img {
  width: 120px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.footer-inner {
  width: min(100% - 32px, 1800px);
  margin: 0 auto;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 48px;
}

.footer-brand strong {
  color: #fff;
  font-size: 22px;
}

.site-footer p,
.site-footer li,
.site-footer a,
.footer-bottom {
  color: rgba(219, 234, 254, 0.82);
}

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

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

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(191, 219, 254, 0.18);
  font-size: 14px;
}

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

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

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

  .hero-grid,
  .poster-grid,
  .category-grid,
  .rank-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-grid,
  .rank-list-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .daily-inner {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 72px;
    padding: 0 16px;
  }

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

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

  .hero-grid {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .hero-card {
    min-height: 430px;
  }

  .hero-entry-panel {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    grid-row: 1;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
  }

  .section,
  .search-section,
  .detail-content {
    width: min(100% - 24px, var(--max-width));
    padding: 48px 0;
  }

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

  .poster-grid,
  .wide-grid,
  .category-grid,
  .category-large-grid,
  .rank-grid,
  .rank-list-grid,
  .related-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .slider-row .movie-card {
    width: 78vw;
    flex-basis: 78vw;
  }

  .rank-card,
  .related-card {
    grid-template-columns: 96px 1fr;
  }

  .related-card img {
    width: 96px;
  }

  .detail-side {
    grid-template-columns: 1fr;
  }

  .detail-side img {
    width: min(230px, 70vw);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}
