:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 14px 30px rgba(2, 132, 199, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--slate-900);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--sky-50), var(--white) 42%, var(--slate-50));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.94), rgba(255, 251, 235, 0.94), rgba(240, 249, 255, 0.94));
  border-bottom: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--sky-600), var(--amber-600));
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  color: var(--slate-700);
  border-radius: 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--sky-700, #0369a1);
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.95), rgba(254, 243, 199, 0.95));
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-bar input {
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  outline: none;
  color: var(--slate-900);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 14px;
}

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

.header-search button,
.mobile-search button,
.hero-search button,
.filter-clear,
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22);
}

.header-search button,
.mobile-search button {
  padding: 10px 16px;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.filter-clear:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.23);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--slate-900);
  background: rgba(224, 242, 254, 0.74);
}

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

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

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

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 62px;
}

.hero-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.28;
}

.hero-orb-one {
  left: -140px;
  top: 12px;
  background: var(--sky-500);
}

.hero-orb-two {
  right: -120px;
  bottom: -40px;
  background: var(--amber-500);
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--slate-900);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding: 72px 78px 82px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.38)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: saturate(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 20%, rgba(14, 165, 233, 0.42), transparent 25rem),
    radial-gradient(circle at 82% 78%, rgba(245, 158, 11, 0.34), transparent 25rem);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-copy {
  color: var(--white);
  max-width: 660px;
}

.hero-kicker,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 24px 0 14px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-name {
  margin: 0 0 16px;
  color: #f8fafc;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 900;
}

.hero-summary {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin: 22px 0 30px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  font-weight: 800;
}

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

.hero-poster {
  position: relative;
  justify-self: end;
  width: min(430px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-poster img,
.poster-link img,
.detail-cover img,
.ranking-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-search {
  display: flex;
  width: min(760px, calc(100% - 36px));
  margin: -32px auto 0;
  padding: 10px;
  position: relative;
  z-index: 4;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border-color: transparent;
}

.hero-search button {
  padding: 14px 24px;
  font-weight: 900;
}

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

.wide-section {
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.58), rgba(254, 243, 199, 0.58));
}

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

.heading-accent {
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sky-500), var(--amber-500));
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--slate-500);
}

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

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

.all-movie-grid {
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.36);
  box-shadow: 0 24px 48px rgba(217, 119, 6, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(245, 158, 11, 0.18));
}

.poster-link img {
  transition: transform 0.45s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.year-badge {
  left: 12px;
  top: 12px;
  min-width: 58px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.rank-badge {
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--amber-500), var(--sky-500));
}

.card-content {
  padding: 16px;
}

.card-meta,
.ranking-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 13px;
}

.card-meta a,
.ranking-meta a {
  color: var(--sky-600);
  font-weight: 800;
}

.card-content h3 {
  margin: 9px 0 8px;
  min-height: 2.65em;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.32;
}

.card-content h3 a:hover,
.ranking-info h3 a:hover {
  color: var(--sky-600);
}

.card-content p {
  margin: 0 0 12px;
  color: var(--slate-500);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  color: var(--sky-700, #0369a1);
  background: rgba(224, 242, 254, 0.86);
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  gap: 22px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
}

.movie-rail .movie-card {
  scroll-snap-align: start;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.category-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(2, 132, 199, 0.18);
}

.category-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.category-card:hover .category-cover {
  transform: scale(1.08);
}

.category-body {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 190px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.62));
}

.category-body strong {
  font-size: 24px;
  font-style: normal;
}

.category-body em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.filter-bar input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
}

.filter-clear {
  padding: 12px 18px;
  color: var(--slate-700);
  background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
  border: 0;
  font-weight: 800;
}

.page-banner {
  padding: 76px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(2, 132, 199, 0.96), rgba(217, 119, 6, 0.88)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 22rem);
}

.page-banner h1 {
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-banner p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.ranking-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.ranking-cover {
  position: relative;
  width: 112px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(245, 158, 11, 0.16));
}

.ranking-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-500), var(--sky-500));
}

.ranking-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: var(--slate-500);
  line-height: 1.7;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-900);
  isolation: isolate;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0.58)), var(--detail-bg);
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.05);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 24%, rgba(14, 165, 233, 0.36), transparent 24rem),
    radial-gradient(circle at 88% 84%, rgba(245, 158, 11, 0.28), transparent 24rem);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 520px;
  padding: 60px 0;
}

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
}

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

.detail-intro h1 {
  margin: 0 0 14px;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  margin: 18px 0 26px;
}

.player-section {
  padding: 54px 0 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.28);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.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: var(--white);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.26));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.30);
  font-size: 34px;
  padding-left: 6px;
}

.play-overlay strong {
  font-size: 20px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  padding: 34px 0 30px;
}

.detail-main,
.detail-side {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: var(--shadow-card);
}

.detail-main {
  padding: 30px;
}

.detail-main h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

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

.detail-main p {
  margin: 0;
  color: var(--slate-700);
  line-height: 2;
  font-size: 17px;
}

.detail-side {
  align-self: start;
  padding: 24px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.detail-side dt {
  color: var(--slate-500);
}

.detail-side dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
}

.site-footer {
  margin-top: 50px;
  color: var(--slate-600);
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.95), rgba(255, 251, 235, 0.95));
  border-top: 1px solid rgba(14, 165, 233, 0.16);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: var(--slate-900);
}

.footer-inner p {
  margin: 6px 0 0;
}

.footer-inner a {
  color: var(--sky-600);
  font-weight: 800;
}

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

@media (max-width: 1024px) {
  .header-search {
    display: none;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 56px 56px 86px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .detail-cover {
    width: min(290px, 100%);
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: auto;
  }

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

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-section {
    padding-top: 18px;
  }

  .hero-slider {
    min-height: 560px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 42px 26px 84px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-name {
    font-size: 28px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-control {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .hero-search,
  .filter-bar,
  .mobile-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .hero-search button,
  .filter-clear {
    width: 100%;
  }

  .movie-grid,
  .featured-grid,
  .all-movie-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .card-content {
    padding: 14px;
  }

  .card-content h3 {
    font-size: 16px;
  }

  .ranking-item {
    grid-template-columns: 86px 1fr;
    gap: 14px;
  }

  .ranking-cover {
    width: 86px;
  }

  .ranking-info h3 {
    font-size: 18px;
  }

  .detail-hero-inner {
    gap: 24px;
    padding: 34px 0;
  }

  .detail-cover {
    width: min(220px, 72vw);
  }

  .player-shell {
    border-radius: 22px;
  }

  .detail-main,
  .detail-side {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .featured-grid,
  .all-movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 34px;
  }

  .section-heading h2 {
    font-size: 24px;
  }
}
