:root {
  --bg: #fffaf0;
  --bg-soft: #fffbeb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.16);
  --brand: #f97316;
  --brand-dark: #c2410c;
  --brand-soft: #fed7aa;
  --amber: #f59e0b;
  --red: #ef4444;
  --shadow: 0 24px 60px rgba(124, 45, 18, 0.12);
  --radius: 24px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--bg-soft), #ffffff 42rem);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 251, 235, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--brand), var(--red));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.34);
}

.brand-text {
  font-size: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-link {
  padding: 10px 16px;
  color: #5f4636;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #9a3412;
  background: rgba(255, 237, 213, 0.88);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff7ed;
  border-radius: 14px;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #9a3412;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mobile-menu.is-open {
  display: grid;
  gap: 4px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 132px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-bg {
  position: absolute;
  inset: 0 calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  z-index: 0;
  overflow: hidden;
}

.hero-bg img,
.page-hero-bg img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(124, 45, 18, 0.78) 46%, rgba(17, 24, 39, 0.42) 100%),
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.42), transparent 34rem),
    linear-gradient(135deg, rgba(146, 64, 14, 0.88), rgba(220, 38, 38, 0.42));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker,
.detail-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: #9a3412;
  background: #ffedd5;
  border-color: rgba(249, 115, 22, 0.2);
}

.hero-content h1 {
  margin: 20px 0 10px;
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3vw, 42px);
  color: #fed7aa;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.hero-tags span,
.tag-list span {
  padding: 6px 10px;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.32);
}

.button-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-poster {
  display: block;
  overflow: hidden;
  padding: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.hero-poster span {
  display: block;
  padding: 16px 10px 6px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

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

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

.hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.hero-search input,
.filter-control input,
.filter-control select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  outline: none;
  padding: 0 16px;
  color: var(--text);
  background: #ffffff;
}

.hero-search input {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.hero-search button {
  min-height: 46px;
  padding: 0 22px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--red));
  font-weight: 900;
}

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

.warm-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

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

.section-heading h2 {
  margin: 12px 0 6px;
  color: #1f2937;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

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

.section-more,
.filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-weight: 900;
}

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

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

.movie-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.movie-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(124, 45, 18, 0.16);
}

.movie-card-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
}

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

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

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

.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #7c2d12;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 12rem),
    linear-gradient(135deg, #ffedd5, #fb923c);
  text-align: center;
  font-weight: 900;
}

.poster-fallback span {
  display: block;
}

.movie-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.68));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.movie-card:hover .movie-card-overlay {
  opacity: 1;
}

.play-dot,
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--brand-dark);
}

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

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

.movie-card-compact h3 {
  font-size: 17px;
}

.movie-card-compact p {
  min-height: 44px;
  font-size: 14px;
}

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

.category-card,
.category-large-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(124, 45, 18, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-large-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(124, 45, 18, 0.14);
}

.category-covers,
.category-large-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 132px;
  overflow: hidden;
}

.category-covers img,
.category-large-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body,
.category-large-body {
  padding: 18px;
}

.category-card-body span,
.category-large-body span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.category-card-body h3,
.category-large-body h2 {
  margin: 5px 0 8px;
  color: #1f2937;
}

.category-card-body p,
.category-large-body p,
.category-large-body small {
  color: var(--muted);
}

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

.category-large-covers {
  grid-template-columns: repeat(4, 1fr);
  height: 190px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.rank-panel,
.side-card,
.article-card,
.player-card,
.rank-table-wrap {
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rank-panel {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 24px;
}

.rank-panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.rank-panel-head h2 {
  margin: 0;
  font-size: 32px;
}

.rank-panel-head a {
  color: var(--brand-dark);
  font-weight: 900;
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff7ed;
}

.rank-row:hover {
  background: #ffedd5;
}

.rank-number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  border-radius: 14px;
  font-weight: 900;
}

.rank-title {
  font-weight: 900;
}

.rank-meta,
.rank-score {
  color: var(--muted);
  font-size: 13px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: #ffffff;
  background: #111827;
}

.simple-hero {
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 72px max(16px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.45), transparent 28rem),
    linear-gradient(135deg, #7c2d12, #ea580c 52%, #ef4444);
}

.simple-hero h1,
.page-hero-content h1 {
  margin: 14px 0 10px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}

.simple-hero p,
.page-hero-content p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
}

.page-hero-bg::after,
.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(124, 45, 18, 0.78), rgba(17, 24, 39, 0.35)),
    linear-gradient(135deg, rgba(124, 45, 18, 0.82), rgba(239, 68, 68, 0.42));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 24px;
  box-shadow: 0 12px 38px rgba(124, 45, 18, 0.08);
}

.filter-control {
  display: grid;
  gap: 7px;
}

.filter-control span {
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
}

.filter-empty {
  margin: 18px 0 0;
  padding: 18px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 18px;
  font-weight: 800;
}

.rank-table-wrap {
  overflow: auto;
  margin-bottom: 30px;
}

.rank-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.rank-table th,
.rank-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  text-align: left;
}

.rank-table th {
  color: #9a3412;
  background: #fff7ed;
  font-size: 14px;
}

.rank-table a {
  font-weight: 900;
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.34);
}

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

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.detail-meta-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.detail-meta-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 2px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 26px;
}

.player-card,
.article-card,
.side-card {
  padding: 24px;
}

.small-heading {
  margin-bottom: 18px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: 20px;
}

.video-element {
  width: 100%;
  height: 100%;
  background: #000000;
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.64));
}

.video-play-button span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--brand), var(--red));
  border-radius: 999px;
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.35);
}

.video-play-button strong {
  font-size: 18px;
}

.video-shell.is-playing .video-play-button {
  display: none;
}

.video-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.article-card h2,
.side-card h3 {
  margin: 10px 0 14px;
  color: #1f2937;
}

.article-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.detail-side {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 18px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: #9a3412;
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: #4b5563;
}

.related-section {
  padding-top: 10px;
}

.site-footer {
  margin-top: 40px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr 1.2fr;
  gap: 34px;
}

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

.footer-column h3 {
  margin: 0 0 14px;
  color: #fbbf24;
}

.footer-column p {
  max-width: 480px;
  margin: 12px 0 0;
}

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

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

.footer-column a:hover {
  color: #fbbf24;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
}

[hidden] {
  display: none !important;
}

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

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

  .two-column-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .detail-side {
    position: static;
  }
}

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding-top: 70px;
    padding-bottom: 150px;
  }

  .hero-poster {
    display: none;
  }

  .hero-search,
  .filter-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

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

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

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

  .detail-poster {
    width: min(280px, 80vw);
  }

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

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 20px, 1180px);
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-carousel {
    min-height: 720px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p,
  .detail-one-line {
    font-size: 16px;
  }

  .content-section {
    width: min(100% - 24px, 1180px);
    padding: 46px 0;
  }

  .movie-grid,
  .movie-grid-featured,
  .movie-grid-compact,
  .category-grid,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

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

  .player-card,
  .article-card,
  .side-card {
    padding: 18px;
  }
}
