:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --brand: #f97316;
  --brand-dark: #ea580c;
  --brand-soft: #ffedd5;
  --amber: #f59e0b;
  --dark: #111827;
  --dark-soft: #1f2937;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(234, 88, 12, 0.18);
  --shadow-dark: 0 24px 80px rgba(17, 24, 39, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 48%, #fef3c7 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 1.25rem;
  background: linear-gradient(90deg, #ea580c, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  padding: 10px 16px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: var(--white);
  background: linear-gradient(90deg, #f97316, #f59e0b);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--brand-soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

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

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 48%, rgba(17, 24, 39, 0.32) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 90px 24px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #fb923c;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-desc {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(90deg, #f97316, #f59e0b);
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.32);
}

.btn.ghost {
  color: #9a3412;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(251, 146, 60, 0.25);
}

.btn.ghost.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn:hover,
.movie-card:hover,
.category-tile:hover,
.rank-card:hover,
.compact-card:hover {
  transform: translateY(-3px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  color: var(--white);
  font-weight: 800;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 2rem;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, #f97316, #f59e0b);
}

.intro-strip,
.search-panel,
.section-block {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.intro-strip {
  margin-top: -48px;
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-strip > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.strip-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, #f59e0b);
  font-weight: 900;
}

.intro-strip strong {
  font-size: 1.15rem;
}

.intro-strip p {
  margin: 0;
  color: var(--muted);
}

.search-panel {
  padding-top: 42px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  border-radius: 20px;
  padding: 0 20px;
  background: var(--white);
  border: 1px solid rgba(251, 146, 60, 0.24);
  box-shadow: 0 14px 35px rgba(249, 115, 22, 0.08);
}

.search-box span {
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filter-pills {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.filter-pill.is-active,
.filter-pill:hover {
  color: var(--white);
  background: linear-gradient(90deg, #f97316, #f59e0b);
}

.empty-result {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section-block {
  padding-top: 64px;
  padding-bottom: 8px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 900;
  color: #1f2937;
}

.section-title a {
  color: var(--brand-dark);
  font-weight: 900;
}

.section-title.compact h2 {
  font-size: 1.8rem;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.09);
  border: 1px solid rgba(251, 146, 60, 0.16);
  transition: 0.25s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0) 52%);
}

.poster-badge,
.poster-play {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
}

.poster-badge {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.9);
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 900;
  color: #111827;
}

.card-title:hover {
  color: var(--brand-dark);
}

.card-meta,
.card-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.card-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wide-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.wide-card .poster-link img {
  height: 100%;
}

.wide-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

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

.category-tile,
.category-panel {
  background: var(--white);
  border-radius: 26px;
  border: 1px solid rgba(251, 146, 60, 0.16);
  box-shadow: 0 14px 35px rgba(249, 115, 22, 0.08);
  overflow: hidden;
  transition: 0.25s ease;
}

.tile-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 148px;
  overflow: hidden;
}

.tile-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-copy {
  padding: 18px;
}

.tile-copy strong,
.panel-head h2 {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
}

.tile-copy span,
.panel-head p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.ranking-box {
  position: sticky;
  top: 92px;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.ranking-box .section-title h2,
.ranking-box .section-title a {
  color: var(--white);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.rank-no {
  color: #fbbf24;
  font-weight: 900;
}

.rank-item img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
}

.rank-copy em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
  font-size: 0.82rem;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(251, 146, 60, 0.5), transparent 34%),
    linear-gradient(135deg, #111827 0%, #ea580c 100%);
}

.page-hero {
  min-height: 310px;
  padding: 74px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero > div,
.page-hero > a {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.category-panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.panel-head > span {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.compact-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  background: #fff7ed;
  transition: 0.25s ease;
}

.compact-card img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-card strong {
  color: #111827;
  font-size: 0.92rem;
}

.compact-card em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}

.panel-link {
  margin-top: 20px;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(90deg, #f97316, #f59e0b);
  font-weight: 900;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(251, 146, 60, 0.16);
  box-shadow: 0 14px 35px rgba(249, 115, 22, 0.08);
  transition: 0.25s ease;
}

.rank-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

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

.rank-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: var(--white);
  background: rgba(249, 115, 22, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.rank-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rank-detail > a {
  font-size: 1.3rem;
  font-weight: 900;
  color: #111827;
}

.rank-detail p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-hero {
  min-height: 620px;
}

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.76), rgba(17, 24, 39, 0.38));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 70px;
}

.breadcrumb,
.breadcrumb-current,
.breadcrumb-sep {
  display: inline-flex;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.breadcrumb:hover {
  color: #fed7aa;
}

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

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-one-line {
  margin: 20px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.8;
}

.meta-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}

.meta-grid span {
  padding: 14px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.meta-grid b {
  display: block;
  margin-bottom: 4px;
  color: #fed7aa;
}

.player-section {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #030712;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(251, 146, 60, 0.24);
}

.site-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030712;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.3));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, #f59e0b);
  font-size: 2rem;
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.35);
}

.player-overlay strong {
  font-size: 1.1rem;
}

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

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

.story-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(251, 146, 60, 0.16);
  box-shadow: 0 14px 35px rgba(249, 115, 22, 0.08);
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 900;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

.accent-card {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.pager-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 34px;
}

.pager-row a {
  flex: 1;
  min-height: 58px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #9a3412;
  background: var(--white);
  border: 1px solid rgba(251, 146, 60, 0.18);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #111827, #1f2937 58%, #111827);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #fb923c;
}

.footer-grid p {
  margin: 14px 0 0;
  line-height: 1.8;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: #fed7aa;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
}

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

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-box {
    position: static;
  }
}

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

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

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-poster {
    display: none;
  }

  .hero-carousel,
  .hero-content {
    min-height: 620px;
  }

  .intro-strip,
  .section-title,
  .page-hero,
  .pager-row {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .category-grid,
  .category-panel-grid,
  .detail-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-card {
    display: block;
  }

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

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

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

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

  .brand-text {
    font-size: 1.05rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 2.35rem;
  }

  .hero-arrow {
    display: none;
  }

  .intro-strip,
  .search-panel,
  .section-block,
  .detail-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .category-grid,
  .category-panel-grid,
  .detail-content,
  .compact-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .tile-images {
    height: 118px;
  }
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
