:root {
  --bg: #0f172a;
  --bg-deep: #020617;
  --panel: rgba(30, 41, 59, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --sky: #0ea5e9;
  --sky-deep: #0284c7;
  --card-radius: 20px;
  --shadow: 0 22px 60px rgba(2, 6, 23, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(14, 165, 233, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.14), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

img.image-empty {
  opacity: 0;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-light), #fb923c);
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.32);
  font-size: 14px;
}

.logo-text {
  font-size: 22px;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft);
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--sky));
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(30, 41, 59, 0.78);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.98);
}

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

.mobile-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--soft);
  background: rgba(30, 41, 59, 0.38);
}

.mobile-link.active,
.mobile-link:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.18);
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg-deep);
}

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.74) 36%, rgba(15, 23, 42, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 23, 42, 0.18) 58%, rgba(15, 23, 42, 0.56) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 122px;
  width: min(650px, calc(100% - 48px));
  text-shadow: 0 6px 24px rgba(2, 6, 23, 0.55);
}

.hero-labels,
.feature-meta,
.movie-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-labels span,
.feature-meta span,
.movie-meta-line span,
.quality-badge,
.rank-badge,
.card-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.hero-labels span {
  padding: 7px 14px;
  color: #ffffff;
  background: rgba(14, 165, 233, 0.86);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
  font-size: 14px;
  font-weight: 700;
}

.hero-labels span:nth-child(2) {
  background: rgba(245, 158, 11, 0.86);
}

.hero-labels span:nth-child(3) {
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-content h1,
.hero-content h2 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #e2e8f0;
  font-size: 18px;
}

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  padding: 0 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.32);
}

.ghost-button {
  padding: 0 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button[aria-current="true"] {
  width: 34px;
  background: var(--sky);
}

.hero-search-panel {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-search-box {
  display: flex;
  min-width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.6);
}

.hero-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 13px 18px;
  color: var(--text);
  background: transparent;
}

.hero-search-box button {
  border: 0;
  padding: 0 22px;
  color: #ffffff;
  background: var(--sky);
  cursor: pointer;
  font-weight: 700;
}

.hero-category-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-category-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid var(--line);
  font-size: 14px;
}

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

.section-surface {
  background: rgba(2, 6, 23, 0.24);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.section-heading h2,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  line-height: 1.12;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.section-more,
.text-button {
  color: var(--amber-light);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.feature-layout .feature-card {
  grid-row: span 2;
}

.feature-card,
.movie-card,
.horizontal-card,
.category-panel,
.info-card,
.detail-article,
.filter-panel,
.category-tile,
.player-shell {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.feature-card a {
  position: relative;
  display: block;
  height: 100%;
  min-height: 420px;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img,
.movie-card:hover img,
.horizontal-card:hover img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.055);
}

.feature-card::after,
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.14));
}

.feature-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
}

.feature-content h2 {
  margin: 12px 0 10px;
  font-size: 30px;
  line-height: 1.18;
}

.feature-content p {
  margin: 0;
  color: var(--soft);
}

.feature-meta span,
.movie-meta-line span {
  padding: 4px 9px;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 12px;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(30, 41, 59, 0.92);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(245, 158, 11, 0.1)),
    rgba(2, 6, 23, 0.8);
}

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

.quality-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.quality-badge {
  right: 12px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rank-badge {
  left: 12px;
  background: rgba(245, 158, 11, 0.92);
}

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

.movie-card h2 {
  margin: 10px 0 8px;
  min-height: 44px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover h2,
.horizontal-card:hover h2,
.category-panel a:hover {
  color: var(--amber-light);
}

.movie-card p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span,
.tag-cloud span {
  padding: 4px 8px;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 12px;
}

.movie-card--compact h2 {
  min-height: 0;
}

.card-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: start;
}

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

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

.horizontal-card {
  border-radius: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.horizontal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.34);
}

.horizontal-card a {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.horizontal-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.78);
}

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

.small-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: var(--amber-light);
  font-weight: 900;
  font-size: 13px;
}

.horizontal-card h2 {
  margin: 2px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.horizontal-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.horizontal-card span {
  color: #64748b;
  font-size: 13px;
}

.category-board {
  position: sticky;
  top: 92px;
}

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

.category-tile {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border-radius: var(--card-radius);
  padding: 18px;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  display: block;
  margin-top: 54px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.category-tile p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.2), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(245, 158, 11, 0.14), transparent 24rem),
    rgba(2, 6, 23, 0.74);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.page-hero h1,
.detail-hero h1 {
  max-width: 880px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}

.page-hero p,
.detail-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 18px;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
}

.search-field input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  outline: 0;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.42);
}

.search-field input:focus {
  border-color: rgba(14, 165, 233, 0.7);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.68);
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  border-color: rgba(14, 165, 233, 0.55);
  background: rgba(14, 165, 233, 0.24);
}

.empty-state {
  margin: 32px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--soft);
  background: rgba(30, 41, 59, 0.62);
  text-align: center;
}

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

.category-panel {
  overflow: hidden;
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.category-panel-cover {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.78);
}

.category-panel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-panel-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent);
}

.category-panel-cover span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.category-panel-body {
  padding: 24px;
}

.category-panel-body h2 {
  margin: 0 0 10px;
}

.category-panel-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.mini-link-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.mini-link-list a {
  color: var(--soft);
}

.detail-hero {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.08);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(15, 23, 42, 0.5) 100%);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-light);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 42%, rgba(14, 165, 233, 0.28), transparent 22rem),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.26));
  cursor: pointer;
}

.player-overlay[hidden] {
  display: none;
}

.play-orb {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-light), #fb923c);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.34);
  font-size: 26px;
  padding-left: 4px;
}

.player-overlay strong {
  max-width: 80%;
  font-size: 24px;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.detail-article {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--card-radius);
}

.detail-article h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--soft);
  font-size: 17px;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: rgba(2, 6, 23, 0.75);
  box-shadow: var(--shadow);
}

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

.info-card {
  padding: 22px;
  border-radius: var(--card-radius);
}

.info-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
}

.info-card dt {
  color: #64748b;
}

.info-card dd {
  margin: 0;
  color: var(--soft);
}


.feature-glow {
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 80px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  filter: blur(28px);
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.78);
}

.footer-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
}

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

.footer-columns h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  padding: 18px 16px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

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

  .menu-toggle {
    display: flex;
  }

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

  .category-board,
  .detail-side {
    position: static;
  }

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

  .category-panel-grid,
  .ranking-list-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .site-nav {
    width: min(100% - 24px, 1180px);
  }

  .logo-text {
    font-size: 19px;
  }

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

  .hero-content {
    left: 16px;
    bottom: 232px;
    width: calc(100% - 32px);
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-search-panel {
    bottom: 18px;
    display: grid;
  }

  .hero-search-box {
    min-width: 0;
  }

  .hero-category-links {
    justify-content: flex-start;
  }

  .hero-dots {
    right: 18px;
    bottom: 198px;
  }

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

  .section-heading {
    display: grid;
  }

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

  .feature-layout .feature-card {
    grid-column: 1 / -1;
  }

  .feature-card a,
  .feature-card img {
    min-height: 320px;
  }

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

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

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

  .horizontal-card a,
  .category-panel {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .horizontal-card p {
    display: none;
  }

  .category-panel-cover {
    min-height: 100%;
  }

  .category-panel-body {
    padding: 18px;
  }

  .category-panel-body p,
  .mini-link-list {
    display: none;
  }

  .category-tile-grid {
    grid-template-columns: 1fr;
  }


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

  .page-hero,
  .detail-hero {
    padding: 58px 0 48px;
  }

  .detail-hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

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

  .play-orb {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 460px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .card-scroller {
    grid-auto-columns: 72%;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}
