:root {
  --bg: #fff7ed;
  --panel: #ffffff;
  --panel-soft: #fffbeb;
  --ink: #1c1917;
  --muted: #6b5f55;
  --line: #f3d99a;
  --amber: #d97706;
  --amber-dark: #92400e;
  --gold: #fbbf24;
  --stone: #1c1917;
  --shadow: 0 20px 45px rgba(120, 53, 15, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

img.cover-hidden {
  opacity: 0;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fffbeb;
  background: linear-gradient(135deg, rgba(28, 25, 23, 0.98), rgba(120, 53, 15, 0.98), rgba(28, 25, 23, 0.98));
  box-shadow: 0 15px 35px rgba(28, 25, 23, 0.25);
  backdrop-filter: blur(18px);
}

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

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

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #fde68a, #fff7ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: #fde68a;
  font-size: 12px;
}

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

.desktop-nav a,
.mobile-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffedd5;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #ffffff;
  background: rgba(251, 191, 36, 0.18);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  min-width: 300px;
  padding: 4px;
  border: 1px solid rgba(253, 230, 138, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 10px 12px;
}

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

.nav-search button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #78350f;
  font-weight: 700;
  background: linear-gradient(135deg, #fcd34d, #f97316);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fffbeb;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(253, 230, 138, 0.2);
}

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

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: #1c1917;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(251, 191, 36, 0.4), transparent 26%), linear-gradient(135deg, #1c1917, #78350f 55%, #111827);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.12) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.96) 0%, rgba(28, 25, 23, 0.74) 42%, rgba(28, 25, 23, 0.22) 100%), linear-gradient(0deg, rgba(28, 25, 23, 0.85), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  align-items: center;
  gap: 56px;
  padding: 64px 0;
}

.eyebrow,
.page-hero span,
.section-heading span,
.rank-copy span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.34);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fff7ed, #fde68a 58%, #fed7aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #ffedd5;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.75;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.detail-tags span,
.card-tags span,
.card-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #fde68a;
  background: rgba(255, 255, 255, 0.14);
}

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

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

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

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

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

.primary-btn.light {
  color: #92400e;
  background: #ffffff;
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4.15;
  border: 1px solid rgba(253, 230, 138, 0.36);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #92400e);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster:hover img {
  transform: scale(1.08);
}

.hero-poster span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #92400e;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  width: min(1280px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.hero-controls > button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 32px;
  line-height: 1;
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

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

.search-band {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 40px;
  position: relative;
  z-index: 8;
  padding: 22px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #f3d99a;
  border-radius: 16px;
  outline: 0;
  color: var(--ink);
  background: #ffffff;
  padding: 14px 16px;
}

.home-search button {
  border: 0;
  border-radius: 16px;
  padding: 0 26px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-links a {
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.section-block {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.alt-bg {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1280px) / 2));
  padding-right: max(16px, calc((100% - 1280px) / 2));
  background: linear-gradient(135deg, #fffbeb, #fed7aa);
}

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

.section-heading h2,
.rank-copy h2,
.page-hero h1,
.story-panel h2,
.related-panel h2 {
  margin: 0;
  color: #292524;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

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

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

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

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

.poster-link {
  display: block;
  height: 100%;
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 15px 35px rgba(120, 53, 15, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.poster-link:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 28px 56px rgba(120, 53, 15, 0.19);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #f59e0b, #78350f);
}

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

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

.poster-frame em {
  position: absolute;
  right: 12px;
  top: 12px;
  min-width: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  padding: 5px 9px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.card-content {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.card-content strong {
  overflow: hidden;
  color: #292524;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-content small,
.card-desc {
  color: var(--muted);
  font-size: 13px;
}

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

.card-tags {
  margin-top: 10px;
}

.card-tags a {
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.rank-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  width: min(1280px, calc(100% - 32px));
  margin: 52px auto;
  padding: 52px;
  border-radius: 34px;
  color: #fffbeb;
  background: radial-gradient(circle at 15% 25%, rgba(251, 191, 36, 0.35), transparent 28%), linear-gradient(135deg, #1c1917, #78350f, #431407);
  box-shadow: var(--shadow);
}

.rank-copy h2,
.rank-copy p {
  color: #fffbeb;
}

.rank-copy p {
  max-width: 480px;
  color: #fed7aa;
  line-height: 1.8;
}

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

.rank-mini {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(253, 230, 138, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rank-mini:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.16);
}

.rank-mini span,
.rank-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #78350f;
  background: linear-gradient(135deg, #fde68a, #fb923c);
  font-weight: 900;
}

.rank-mini small {
  color: #fed7aa;
}

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

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

.category-tile {
  display: grid;
  gap: 14px;
  min-height: 230px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  border-radius: 28px;
  overflow: hidden;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(120, 53, 15, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.tile-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  min-height: 110px;
}

.tile-images img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef3c7, #d97706);
}

.category-tile strong {
  color: #292524;
  font-size: 22px;
}

.category-tile small,
.category-tile em {
  color: var(--muted);
  line-height: 1.65;
}

.category-tile em {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-style: normal;
  font-size: 13px;
}

.cta-section,
.page-hero {
  color: #ffffff;
  background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.32), transparent 25%), linear-gradient(135deg, #1c1917, #78350f, #111827);
}

.cta-section {
  text-align: center;
  padding: 76px 20px;
}

.cta-section h2 {
  margin: 0 auto 16px;
  max-width: 860px;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.04em;
}

.cta-section p {
  color: #fed7aa;
  margin-bottom: 28px;
}

.page-hero {
  min-height: 330px;
  display: grid;
  align-items: center;
  padding: 70px 16px;
}

.page-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  color: #fed7aa;
  font-size: 18px;
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(4, minmax(150px, 0.6fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(120, 53, 15, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
}

.no-results {
  margin: 22px 0;
  border-radius: 18px;
  color: #92400e;
  background: #fef3c7;
  padding: 18px;
  text-align: center;
  font-weight: 800;
}

.rank-board {
  display: grid;
  gap: 28px;
}

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

.rank-card {
  position: relative;
}

.rank-card .rank-number {
  position: absolute;
  z-index: 4;
  left: -10px;
  top: -10px;
  width: 48px;
  height: 48px;
  box-shadow: 0 10px 25px rgba(120, 53, 15, 0.2);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #1c1917;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1917, #78350f);
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: blur(5px) saturate(1.1);
  transform: scale(1.03);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(67, 20, 7, 0.8));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #fed7aa;
  margin-bottom: 34px;
  font-size: 14px;
}

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

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(253, 230, 138, 0.35);
  border-radius: 30px;
  aspect-ratio: 3 / 4.15;
  background: linear-gradient(135deg, #fef3c7, #92400e);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

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

.detail-info p {
  max-width: 860px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.8;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

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

.watch-section {
  width: min(1180px, calc(100% - 32px));
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(253, 230, 138, 0.25);
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #000000;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), rgba(0, 0, 0, 0.68));
}

.player-shell.is-playing .player-cover {
  display: none;
}

.play-button {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 50%;
  color: #92400e;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}

.play-button:hover {
  transform: scale(1.08);
}

.play-button span {
  display: inline-block;
  margin-left: 7px;
  font-size: 42px;
  line-height: 1;
}

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

.story-panel,
.related-panel {
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: 28px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(120, 53, 15, 0.08);
}

.story-panel h2,
.related-panel h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.story-panel p {
  margin: 0 0 26px;
  color: #51453c;
  line-height: 2;
  font-size: 17px;
}

.related-panel {
  position: sticky;
  top: 100px;
}

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

.related-list .movie-card .poster-link {
  display: grid;
  grid-template-columns: 118px 1fr;
}

.related-list .poster-frame {
  aspect-ratio: 3 / 2.1;
}

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

.more-like {
  padding-top: 10px;
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(135deg, #1c1917, #78350f, #1c1917);
  margin-top: 40px;
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 36px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 16px;
  color: #fde68a;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: #fed7aa;
  line-height: 1.8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  padding: 18px;
  text-align: center;
  color: #fef3c7;
}

[hidden] {
  display: none !important;
}

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

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

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

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-inner {
    gap: 28px;
    padding-bottom: 98px;
  }

  .hero-poster {
    width: min(320px, 80vw);
    margin: 0 auto;
  }

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

  .rank-section {
    padding: 34px;
  }

  .detail-poster {
    width: min(320px, 85vw);
  }

  .related-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    min-height: 68px;
  }

  .brand-text small {
    display: none;
  }

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

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

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

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

  .hero-copy p,
  .detail-info p {
    font-size: 16px;
  }

  .hero-controls {
    bottom: 16px;
  }

  .search-band {
    margin-top: -22px;
  }

  .home-search,
  .filter-panel,
  .movie-grid,
  .large-grid,
  .category-grid,
  .category-index,
  .rank-top-grid,
  .rank-card-grid {
    grid-template-columns: 1fr;
  }

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

  .section-block {
    padding: 48px 0;
  }

  .rank-mini {
    grid-template-columns: 38px 1fr;
  }

  .rank-mini small {
    grid-column: 2;
  }

  .detail-wrap {
    padding-top: 26px;
  }

  .watch-section {
    margin-top: -22px;
  }

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

  .play-button {
    width: 74px;
    height: 74px;
  }

  .play-button span {
    font-size: 32px;
  }

  .story-panel,
  .related-panel {
    padding: 22px;
  }

  .related-list .movie-card .poster-link {
    grid-template-columns: 96px 1fr;
  }
}
