* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  color: #18181b;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section-spacing {
  padding: 72px 0;
}

.bg-white {
  background: #ffffff;
}

.bg-soft {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 228, 231, 0.85);
  box-shadow: 0 12px 40px rgba(24, 24, 27, 0.08);
  backdrop-filter: blur(14px);
}

.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-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ea580c, #f97316, #d97706);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(234, 88, 12, 0.32);
}

.brand-name {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  background: linear-gradient(90deg, #ea580c, #f97316, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  color: #3f3f46;
  font-weight: 700;
  transition: color 0.25s ease;
}

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

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  color: #18181b;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #18181b;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  border-top: 1px solid #f4f4f5;
  background: #ffffff;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  color: #3f3f46;
}

.mobile-link.is-active,
.mobile-link:hover {
  background: #fff7ed;
  color: #ea580c;
}

.hero-carousel {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #09090b;
}

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

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(249, 115, 22, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 90vh;
  align-items: flex-end;
  padding-top: 130px;
  padding-bottom: 92px;
}

.hero-copy {
  max-width: 820px;
  color: #ffffff;
  animation: fadeInUp 0.75s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f97316;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 850;
  line-height: 1.18;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 82px);
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.52);
}

.hero-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  padding: 7px 12px;
  backdrop-filter: blur(10px);
}

.tag-row span {
  background: #f4f4f5;
  color: #52525b;
  padding: 5px 9px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  padding: 12px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(234, 88, 12, 0.32);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.56);
  transform: translateY(-50%) scale(1.08);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 42px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

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

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

.section-head h2,
.search-panel h2,
.ranking-layout h2,
.inner-hero h1 {
  background: linear-gradient(90deg, #ea580c, #f97316, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(30px, 4vw, 54px);
}

.section-head p,
.search-panel p,
.ranking-layout p,
.inner-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #52525b;
  font-size: 18px;
}

.text-link {
  color: #ea580c;
  font-weight: 850;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(24, 24, 27, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  box-shadow: 0 25px 52px rgba(24, 24, 27, 0.18);
  transform: translateY(-5px);
}

.card-cover {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: #f4f4f5;
}

.movie-card.large .card-cover {
  height: 380px;
}

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

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

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.04) 58%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.movie-card:hover .cover-gradient {
  opacity: 1;
}

.play-chip,
.player-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ea580c;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.cover-meta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cover-meta span,
.rank-badge,
.rank-number {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  backdrop-filter: blur(10px);
}

.rank-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.card-body {
  padding: 18px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #18181b;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card:hover .card-title {
  color: #ea580c;
}

.card-body p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 9px 0 0;
  color: #52525b;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  margin-top: 14px;
}

.movie-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 2px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
  display: none;
}

.rail-item {
  flex: 0 0 292px;
  scroll-snap-align: start;
}

.rail-controls {
  display: flex;
  gap: 10px;
}

.rail-control {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #18181b;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.12);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
  border-radius: 30px;
  background: linear-gradient(135deg, #27272a, #18181b 50%, #09090b);
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(24, 24, 27, 0.22);
}

.search-panel h2 {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.search-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.global-search {
  position: relative;
}

.global-search-input,
.filter-input,
.filter-year,
.filter-type {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  outline: none;
  background: #ffffff;
  color: #18181b;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.global-search-input:focus,
.filter-input:focus,
.filter-year:focus,
.filter-type:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.global-search-results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  max-height: 420px;
  overflow: auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
  color: #18181b;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.global-search-results.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.search-result-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f4f4f5;
}

.search-result-item:hover {
  background: #fff7ed;
}

.search-result-item img {
  width: 62px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

.search-result-item strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-result-item span {
  color: #71717a;
  font-size: 13px;
}

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

.category-tile {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 24px;
  background: #18181b;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.12);
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
}

.category-name,
.category-desc {
  position: absolute;
  right: 20px;
  left: 20px;
}

.category-name {
  bottom: 66px;
  font-size: 26px;
  font-weight: 850;
}

.category-desc {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
}

.ranking-more {
  margin-top: 24px;
}

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

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: stretch;
}

.movie-card-horizontal .card-cover {
  height: 100%;
  min-height: 170px;
}

.movie-card-horizontal .play-chip {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.movie-card-horizontal .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #71717a;
  font-size: 13px;
  font-weight: 700;
}

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

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

.inner-hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #fafafa);
  border-bottom: 1px solid #f4f4f5;
}

.inner-hero p {
  max-width: 830px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  color: #71717a;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #ea580c;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px #f4f4f5;
}

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

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

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

.category-card-large {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.1);
  padding: 24px;
}

.category-covers {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 8px;
  min-height: 210px;
}

.category-covers img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  border-radius: 18px;
  object-fit: cover;
}

.category-card-large h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.category-card-large p {
  margin: 0 0 18px;
  color: #52525b;
}

.rank-spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  margin-bottom: 28px;
}

.rank-spotlight {
  overflow: hidden;
  border-radius: 28px;
  background: #18181b;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.12);
}

.rank-spotlight a {
  position: relative;
  display: block;
  height: 330px;
  color: #ffffff;
}

.rank-1 a {
  height: 430px;
}

.rank-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-spotlight a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 65%);
  content: "";
}

.rank-number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  font-size: 18px;
}

.rank-info {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.rank-info strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.rank-info em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

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

.detail-main {
  padding-top: 0;
}

.detail-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #09090b;
  color: #ffffff;
  padding-top: 120px;
}

.detail-bg,
.detail-bg-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.08);
}

.detail-bg-shade {
  background:
    radial-gradient(circle at 25% 28%, rgba(249, 115, 22, 0.3), transparent 34%),
    linear-gradient(0deg, #09090b 0%, rgba(9, 9, 11, 0.82) 42%, rgba(9, 9, 11, 0.52) 100%);
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding-bottom: 72px;
}

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

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

.detail-info h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 74px);
}

.detail-one-line {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.detail-meta {
  margin: 24px 0 0;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 62px rgba(24, 24, 27, 0.16);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24));
  color: #ffffff;
  text-align: center;
  transition: opacity 0.25s ease;
}

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

.player-cover .player-play {
  position: static;
  opacity: 1;
  transform: none;
}

.player-cover strong {
  max-width: min(700px, 82%);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.25;
}

.detail-article {
  margin-top: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.08);
  padding: clamp(24px, 4vw, 42px);
}

.detail-article h2,
.related-sidebar h2 {
  margin-bottom: 14px;
  color: #18181b;
  font-size: 28px;
}

.detail-article p {
  margin: 0 0 28px;
  color: #3f3f46;
  font-size: 18px;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.related-sidebar {
  position: sticky;
  top: 96px;
}

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

.related-list .movie-card-horizontal {
  grid-template-columns: 116px minmax(0, 1fr);
}

.related-list .card-body {
  padding: 14px;
}

.related-list .card-title {
  font-size: 15px;
}

.related-list .card-body p {
  min-height: auto;
  font-size: 13px;
}

.related-list .card-meta {
  display: none;
}

.site-footer {
  background: #18181b;
  color: #ffffff;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
}

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

.site-footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #fb923c;
}

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

  .related-sidebar {
    position: static;
  }

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

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

  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-carousel,
  .hero-content {
    min-height: 78vh;
  }

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

  .hero-prev,
  .hero-next {
    display: none;
  }

  .section-spacing {
    padding: 54px 0;
  }

  .section-head,
  .section-head.with-controls {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .search-panel,
  .category-card-large,
  .detail-hero-grid,
  .filter-panel,
  .footer-grid,
  .rank-spotlight-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-hero {
    min-height: auto;
    padding-top: 108px;
  }

  .detail-poster {
    max-width: 300px;
  }
}

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

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

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

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

  .hero-copy p,
  .section-head p,
  .search-panel p,
  .ranking-layout p,
  .inner-hero p,
  .detail-one-line {
    font-size: 16px;
  }

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

  .movie-grid,
  .feature-grid,
  .latest-grid,
  .category-grid,
  .category-movie-grid {
    grid-template-columns: 1fr;
  }

  .card-cover,
  .movie-card.large .card-cover {
    height: 330px;
  }

  .movie-card-horizontal {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .movie-card-horizontal .card-cover {
    min-height: 150px;
  }

  .category-tile {
    min-height: 220px;
  }

  .category-covers {
    min-height: 150px;
  }

  .category-covers img {
    min-height: 150px;
  }

  .rank-spotlight a,
  .rank-1 a {
    height: 280px;
  }
}
