:root {
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --orange: #f97316;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --page: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.32);
  font-size: 22px;
  font-weight: 900;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-dark);
}

.nav-dropdown {
  position: relative;
  padding: 24px 0;
}

.dropdown-panel {
  position: absolute;
  top: 66px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 6px;
  width: 280px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
}

.dropdown-panel a:hover {
  color: var(--amber-dark);
  background: #fff7ed;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(310px, 26vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  min-width: 0;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  outline: none;
}

.header-search button {
  margin-right: 4px;
  padding: 7px 14px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

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

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

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--amber-dark);
  background: #fff7ed;
}

.mobile-category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 158, 11, 0.45), transparent 35%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 38%, rgba(17, 24, 39, 0.22) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.9), transparent 52%);
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 780px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #fef3c7;
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 5px 10px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.32);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.4);
}

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

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-controls {
  position: absolute;
  right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  bottom: 52px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: var(--amber);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 5;
  display: grid;
  gap: 8px;
  width: min(660px, calc(100% - 32px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.hero-search label {
  color: #fef3c7;
  font-size: 13px;
  font-weight: 900;
}

.hero-search div {
  display: flex;
  overflow: hidden;
  background: #ffffff;
  border-radius: 999px;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  padding: 14px 18px;
  border: 0;
  outline: none;
}

.hero-search button {
  padding: 0 24px;
  color: #ffffff;
  border: 0;
  background: var(--amber);
  font-weight: 900;
  cursor: pointer;
}

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

.warm-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #fff7ed 0%, rgba(255, 247, 237, 0) 100%);
}

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

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: -110px 0 72px;
  position: relative;
  z-index: 8;
}

.stat-card {
  padding: 28px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  color: var(--amber-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.play-float {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: 0.24s ease;
}

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

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 3px 8px;
  background: #f3f4f6;
  border-radius: 999px;
}

.compact-card .card-body h3 {
  font-size: 16px;
}

.compact-card .card-body p {
  font-size: 13px;
}

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

.category-card,
.category-overview-main {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #fff7ed);
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-top: 5px solid var(--category-color, var(--amber));
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  transition: 0.24s ease;
}

.category-card:hover,
.category-overview-card:hover .category-overview-main {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card::after,
.category-overview-main::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  background: var(--category-color, var(--amber));
  border-radius: 50%;
  opacity: 0.08;
}

.category-icon,
.category-overview-main span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  background: var(--category-color, var(--amber));
  border-radius: 20px;
  font-size: 26px;
  font-weight: 900;
}

.category-card strong,
.category-overview-main h2 {
  margin: 0;
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
}

.category-card em,
.category-overview-main strong {
  color: var(--category-color, var(--amber-dark));
  font-style: normal;
  font-weight: 900;
}

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

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 34px;
}

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

.latest-row,
.ranking-row,
.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  transition: 0.2s ease;
}

.latest-row:hover,
.ranking-row:hover,
.ranking-item:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.latest-row img {
  width: 150px;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
}

.latest-row span,
.ranking-item span {
  display: grid;
  min-width: 0;
}

.latest-row strong,
.ranking-item strong {
  overflow: hidden;
  color: #1f2937;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-row small,
.ranking-item small {
  color: var(--muted);
}

.ranking-panel {
  align-self: start;
  padding: 22px;
  background: #111827;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 900;
}

.panel-head a {
  color: #fcd34d;
  font-size: 14px;
}

.ranking-row {
  margin-bottom: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.ranking-row b,
.ranking-item b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 12px;
}

.ranking-row span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.ranking-row em {
  color: #fcd34d;
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 72px 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 158, 11, 0.36), transparent 35%),
    linear-gradient(135deg, #111827, #7c2d12 55%, #f59e0b);
}

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

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #fef3c7;
  font-size: 18px;
}

.category-hero {
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--category-color) 36%, transparent), transparent 35%),
    linear-gradient(135deg, #111827, var(--category-color, #f59e0b));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #fef3c7;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: #ffffff;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
}

.filter-bar input {
  flex: 1;
  min-width: 180px;
  padding: 0 18px;
}

.filter-bar select {
  padding: 0 16px;
  color: #374151;
  font-weight: 800;
}

.large-filter input {
  font-size: 18px;
}

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

.empty-state {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px dashed var(--line);
  border-radius: 22px;
}

.empty-state.is-visible {
  display: block;
}

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

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

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

.category-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px 18px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.category-overview-card li a {
  display: block;
  overflow: hidden;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-overview-card li a:hover {
  color: var(--amber-dark);
}

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

.ranking-item img {
  width: 124px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-item span {
  flex: 1;
}

.ranking-item em {
  color: var(--amber-dark);
  font-style: normal;
  font-weight: 900;
}

.detail-section {
  padding-top: 34px;
}

.detail-section .breadcrumb {
  color: #6b7280;
}

.detail-section .breadcrumb a {
  color: var(--amber-dark);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.42), rgba(0, 0, 0, 0.56));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.player-overlay span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.4);
  font-size: 30px;
}

.player-overlay strong {
  font-size: 18px;
}

.player-status {
  position: absolute;
  right: 16px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.detail-header,
.text-panel,
.info-panel,
.cover-panel {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.82);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.detail-header h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-header p,
.text-panel p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
}

.text-panel h2,
.info-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.expanded-tags span {
  margin-bottom: 2px;
}

.cover-panel {
  display: grid;
  gap: 16px;
}

.cover-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: #fef3c7;
}

.full-button {
  width: 100%;
}

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

.info-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.info-panel dd {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
}

.info-panel dd a {
  color: var(--amber-dark);
}

.site-footer {
  color: #d1d5db;
  background: #0f172a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0 36px;
}

.brand-dark .brand-text strong {
  color: #ffffff;
}

.footer-brand p {
  max-width: 420px;
  color: #9ca3af;
}

.footer-note {
  font-size: 13px;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .two-column-layout,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    order: -1;
  }
}

@media (max-width: 760px) {
  .brand-text small {
    display: none;
  }

  .hero-slider {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 42px;
  }

  .hero-search {
    bottom: 24px;
  }

  .hero-controls {
    right: 16px;
    bottom: 140px;
  }

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

  .stats-grid {
    margin-top: -64px;
  }

  .section-heading,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .latest-row img,
  .ranking-item img {
    width: 104px;
    height: 68px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 66px;
  }

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

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

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

  .hero-actions,
  .hero-search div {
    flex-direction: column;
  }

  .hero-search button {
    min-height: 46px;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .dense-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

  .warm-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .info-panel dl {
    grid-template-columns: 1fr;
  }
}
