/*
  Static movie website styles.
  The visual system follows the uploaded source bundle: deep stone backgrounds,
  amber gradients, rounded cards, sticky navigation, hero focus area, and responsive grids.
*/

:root {
  color-scheme: dark;
  --bg: #14110d;
  --bg-soft: #1c1812;
  --panel: rgba(41, 32, 23, 0.86);
  --panel-strong: rgba(28, 25, 23, 0.96);
  --border: rgba(251, 191, 36, 0.24);
  --border-strong: rgba(251, 191, 36, 0.45);
  --text: #fff7ed;
  --muted: #d6c7ae;
  --muted-2: #a89980;
  --amber: #f59e0b;
  --amber-light: #fcd34d;
  --amber-deep: #92400e;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-small: 16px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(146, 64, 14, 0.18), transparent 30rem),
    linear-gradient(135deg, #0f0d0a 0%, #1c1917 46%, #2b1d10 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
  z-index: -1;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(41, 37, 36, 0.96), rgba(120, 53, 15, 0.96), rgba(41, 37, 36, 0.96));
  border-bottom: 2px solid rgba(217, 119, 6, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.42);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong,
.footer-brand {
  font-size: 22px;
  background: linear-gradient(90deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.brand-text em {
  margin-top: 3px;
  color: #fcd34d;
  font-size: 12px;
  font-style: normal;
}

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

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

.nav-link:hover,
.nav-link.is-active {
  color: white;
  background: rgba(217, 119, 6, 0.8);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(180, 83, 9, 0.9);
  padding: 12px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(28, 25, 23, 0.98);
}

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

.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.mobile-category-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  font-size: 13px;
}

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1917, #78350f, #292524);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
}

.hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.2) contrast(1.04);
}

.hero-image-layer img.is-broken {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.28), transparent 36rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  max-width: 740px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  font-size: 13px;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.16);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 820px;
}

.hero-copy p {
  max-width: 680px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.85;
}

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

.hero-tags {
  margin: 24px 0 32px;
}

.hero-tags span,
.tag-row span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  font-size: 13px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  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: #1c1917;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 18px 35px rgba(245, 158, 11, 0.25);
}

.button-glass {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-4px);
}

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

.hero-poster img.is-broken {
  display: none;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82));
  z-index: 1;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.95);
  color: #1c1917;
  font-weight: 900;
}

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

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active {
  width: 64px;
  background: #f59e0b;
}

.search-band {
  border-block: 1px solid rgba(251, 191, 36, 0.18);
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(18px);
}

.search-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  align-items: center;
  gap: 28px;
  padding: 34px 0;
}

.search-band h2,
.section-heading h2,
.ranking-panel h2,
.article-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.search-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.global-search,
.search-page-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.global-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select,
.search-tools select {
  width: 100%;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  outline: none;
  background: rgba(12, 10, 9, 0.7);
  color: white;
  padding: 12px 14px;
}

.global-search button,
.search-page-form button,
.filter-bar button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  color: #1c1917;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

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

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

.section-heading > a {
  color: #fcd34d;
  font-weight: 800;
}

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: var(--radius-small);
  background: rgba(41, 37, 36, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.poster-shell {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.35), transparent 42%),
    linear-gradient(135deg, #292524, #78350f);
}

.poster-shell img,
.detail-poster img,
.category-tile img,
.category-covers img,
.ranking-row img,
.rank-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-shell img.is-broken,
.detail-poster img.is-broken,
.category-tile img.is-broken,
.category-covers img.is-broken,
.ranking-row img.is-broken,
.rank-item img.is-broken {
  display: none;
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fde68a;
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.4), transparent 40%),
    linear-gradient(135deg, #1c1917, #78350f);
}

.poster-shell img:not(.is-broken) + .poster-fallback,
.detail-poster img:not(.is-broken) + .poster-fallback {
  display: none;
}

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.poster-badge {
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  background: rgba(239, 68, 68, 0.96);
}

.poster-play {
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #1c1917;
  background: rgba(252, 211, 77, 0.95);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card-link:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fcd34d;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h2 {
  margin: 8px 0 7px;
  color: #fff7ed;
  font-size: 17px;
  line-height: 1.28;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card p {
  min-height: 40px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-card--compact p {
  display: none;
}

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

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

.category-tile {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #292524;
  isolation: isolate;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.65;
}

.category-tile span,
.category-tile em {
  position: absolute;
  left: 16px;
  z-index: 2;
}

.category-tile span {
  bottom: 42px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  bottom: 18px;
  color: #fcd34d;
  font-style: normal;
  font-weight: 800;
}

.ranking-panel,
.article-panel,
.player-card,
.filter-bar,
.search-tools,
.ranking-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ranking-panel {
  padding: 22px;
  position: sticky;
  top: 94px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(245, 158, 11, 0.14);
  transform: translateX(4px);
}

.rank-num {
  color: #fcd34d;
  font-weight: 900;
}

.rank-item img {
  width: 54px;
  height: 72px;
  border-radius: 10px;
  background: #292524;
}

.rank-content {
  min-width: 0;
}

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

.rank-content em {
  margin-top: 3px;
  color: var(--muted-2);
  font-style: normal;
  font-size: 12px;
}

.rank-item b {
  color: #fcd34d;
  font-size: 13px;
}

.page-hero {
  padding: 92px 0 60px;
  background:
    radial-gradient(circle at 16% 0%, rgba(245, 158, 11, 0.22), transparent 32rem),
    linear-gradient(135deg, rgba(28, 25, 23, 0.92), rgba(120, 53, 15, 0.56));
  border-bottom: 1px solid rgba(251, 191, 36, 0.18);
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.category-card-large a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(41, 37, 36, 0.72);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-card-large a:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

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

.category-covers img {
  min-width: 0;
  background: #292524;
}

.category-card-content {
  padding: 22px;
}

.category-card-content span {
  color: #fcd34d;
  font-weight: 900;
}

.category-card-content h2 {
  margin: 8px 0;
  font-size: 30px;
}

.category-card-content p {
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: #fcd34d;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb strong {
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 28px;
}

.filter-bar label,
.search-tools label {
  display: grid;
  gap: 7px;
  color: #fcd34d;
  font-size: 13px;
  font-weight: 900;
}

.filter-bar button {
  min-height: 48px;
}

.empty-state,
.search-summary {
  color: var(--muted);
  font-weight: 700;
}

.ranking-table {
  overflow: hidden;
}

.ranking-row {
  display: grid;
  grid-template-columns: 76px 64px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.12);
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: rgba(245, 158, 11, 0.1);
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-index {
  color: #fcd34d;
  font-size: 22px;
  font-weight: 900;
}

.ranking-row img {
  width: 64px;
  height: 88px;
  border-radius: 12px;
  background: #292524;
}

.ranking-main {
  min-width: 0;
}

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

.ranking-main strong {
  font-size: 18px;
}

.ranking-main em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
}

.ranking-score {
  color: #fcd34d;
  font-weight: 900;
  text-align: right;
}

.search-page-form {
  max-width: 760px;
  margin-top: 24px;
}

.search-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 76px;
  background: #111;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  filter: blur(8px) saturate(1.2);
  transform: scale(1.05);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.86));
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

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

.detail-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background: #292524;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.detail-one-line {
  max-width: 850px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.75;
}

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

.detail-meta-grid span {
  padding: 14px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.detail-meta-grid b {
  display: block;
  margin-bottom: 5px;
  color: #fcd34d;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.22), transparent 40%),
    #09090b;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72));
}

.player-start.is-hidden {
  display: none;
}

.player-start-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #1c1917;
  font-size: 34px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 24px 70px rgba(245, 158, 11, 0.35);
}

.player-start strong {
  font-size: 28px;
}

.player-start em {
  color: #fcd34d;
  font-style: normal;
  font-weight: 800;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(0, 0, 0, 0.55);
  font-size: 13px;
  font-weight: 800;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
}

.article-panel {
  padding: 26px;
}

.article-panel p {
  margin-top: 16px;
  color: #ffedd5;
  line-height: 1.95;
  font-size: 16px;
}

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

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(251, 191, 36, 0.18);
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.95), rgba(69, 26, 3, 0.84));
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 36px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fcd34d;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
  color: #ffedd5;
  font-size: 13px;
  font-weight: 700;
}

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

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

  .ranking-panel {
    position: static;
  }
}

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

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

  .brand-text em {
    display: none;
  }

  .hero-section {
    height: auto;
    min-height: 680px;
  }

  .hero-content {
    min-height: 680px;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 60px 0 84px;
  }

  .hero-poster {
    width: min(270px, 70vw);
    justify-self: start;
  }

  .search-band-inner,
  .detail-layout,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(300px, 72vw);
  }

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

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

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    height: 64px;
  }

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

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.035em;
  }

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

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

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

  .movie-card h2 {
    font-size: 15px;
  }

  .movie-card p,
  .tag-row {
    display: none;
  }

  .global-search,
  .search-page-form {
    flex-direction: column;
  }

  .global-search button,
  .search-page-form button {
    min-height: 46px;
  }

  .search-tools,
  .filter-bar,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 42px 54px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 3;
    text-align: left;
  }

  .player-start-icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

  .player-start strong {
    font-size: 22px;
  }
}
