:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #ffedd5;
  --red: #dc2626;
  --pink: #db2777;
  --blue: #2563eb;
  --cyan: #0891b2;
  --green: #16a34a;
  --yellow: #ca8a04;
  --violet: #7c3aed;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--red), var(--pink));
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.32);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

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

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

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

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

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  width: 180px;
  padding: 8px 10px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-panel button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--soft);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #374151;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-panel.is-open {
  display: block;
}

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

.mobile-nav {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 999px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 48%, #db2777 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0 104px;
}

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

.hero-copy p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero-copy .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.hero-search {
  display: flex;
  max-width: 560px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(127, 29, 29, 0.24);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
}

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

.primary-btn,
.ghost-btn,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: var(--accent);
  padding: 12px 22px;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.24);
}

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

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 11px 21px;
}

.more-link {
  color: var(--accent);
  background: #fff7ed;
  padding: 10px 18px;
}

.hero-feature {
  position: relative;
}

.hero-frame {
  position: relative;
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(127, 29, 29, 0.3);
  backdrop-filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-poster {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

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

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent);
}

.hero-slide-copy {
  padding: 24px;
  background: rgba(17, 24, 39, 0.88);
}

.hero-slide-copy span,
.category-badge {
  display: inline-flex;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--red));
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-copy h2 {
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.hero-slide-copy p {
  margin: 0 0 16px;
  color: #d1d5db;
}

.hero-slide-link {
  display: inline-flex;
  color: #fed7aa;
  font-weight: 800;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

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

.category-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -52px;
  margin-bottom: 56px;
}

.overview-strip {
  margin-top: -36px;
}

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.16);
}

.category-card img {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 150px;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.15;
  transform: rotate(8deg);
}

.category-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 28px;
  background: #fff7ed;
  border-radius: 16px;
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.category-arrow {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-weight: 800;
}

.category-card.tone-red .category-icon,
.category-card.tone-orange .category-icon,
.category-card.tone-pink .category-icon {
  background: #ffedd5;
}

.category-card.tone-blue .category-icon,
.category-card.tone-cyan .category-icon,
.category-card.tone-violet .category-icon {
  background: #e0f2fe;
}

.category-card.tone-green .category-icon {
  background: #dcfce7;
}

.category-card.tone-yellow .category-icon {
  background: #fef9c3;
}

.section-block {
  margin-bottom: 68px;
}

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

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.movie-card-featured .poster-link {
  aspect-ratio: 16 / 10;
}

.poster-link img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 56%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.poster-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.94);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.movie-info {
  padding: 16px;
}

.movie-info h3,
.detail-copy h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.28;
}

.movie-info h3 a:hover,
.detail-copy h3 a:hover {
  color: var(--accent);
}

.movie-info p,
.detail-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

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

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mini-tags span {
  color: #7c2d12;
  background: #ffedd5;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
}

.hot-band {
  padding: 60px 0;
  margin-bottom: 66px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.detail-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.detail-thumb {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
}

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

.detail-copy {
  align-self: center;
}

.sub-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #374151);
  padding: 64px 0 92px;
}

.sub-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.sub-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.rank-hero {
  background: linear-gradient(135deg, #7f1d1d, #ea580c, #db2777);
}

.search-hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8, #0891b2);
}

.sub-hero.tone-red {
  background: linear-gradient(135deg, #7f1d1d, #dc2626, #f97316);
}

.sub-hero.tone-orange {
  background: linear-gradient(135deg, #9a3412, #ea580c, #f59e0b);
}

.sub-hero.tone-pink {
  background: linear-gradient(135deg, #831843, #db2777, #fb7185);
}

.sub-hero.tone-blue {
  background: linear-gradient(135deg, #172554, #2563eb, #06b6d4);
}

.sub-hero.tone-violet {
  background: linear-gradient(135deg, #312e81, #7c3aed, #c084fc);
}

.sub-hero.tone-cyan {
  background: linear-gradient(135deg, #164e63, #0891b2, #22d3ee);
}

.sub-hero.tone-green {
  background: linear-gradient(135deg, #14532d, #16a34a, #84cc16);
}

.sub-hero.tone-yellow {
  background: linear-gradient(135deg, #713f12, #ca8a04, #facc15);
}

.listing-section {
  margin-top: -46px;
  margin-bottom: 72px;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.filter-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.listing-grid {
  align-items: start;
}

.category-previews {
  margin-top: 48px;
}

.category-preview {
  margin-bottom: 62px;
}

.detail-shell {
  padding: 34px 0 40px;
  background: radial-gradient(circle at top left, #fff7ed, transparent 36%), #f9fafb;
}

.detail-breadcrumb {
  color: #6b7280;
  margin-bottom: 18px;
}

.detail-breadcrumb a:hover {
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 28px;
}

.player-card {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 24px;
  box-shadow: 0 28px 62px rgba(15, 23, 42, 0.22);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-card.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.big-play {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--red));
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.34);
  font-size: 32px;
}

.player-toolbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-card:hover .player-toolbar,
.player-card.is-playing .player-toolbar {
  opacity: 1;
}

.player-toolbar button {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.detail-panel,
.side-card {
  margin-top: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.title-row h1 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.detail-meta span {
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}

.detail-panel h2,
.side-card h2 {
  margin: 24px 0 12px;
  font-size: 22px;
}

.detail-panel h2:first-of-type,
.side-card h2:first-child {
  margin-top: 0;
}

.detail-panel p {
  color: #4b5563;
  font-size: 17px;
}

.lead-text {
  color: #111827 !important;
  font-size: 19px !important;
  font-weight: 700;
}

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

.info-grid div {
  padding: 16px;
  background: linear-gradient(135deg, #fff7ed, #f9fafb);
  border: 1px solid #fed7aa;
  border-radius: 16px;
}

.info-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 17px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  color: #7c2d12;
  background: #ffedd5;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}

blockquote {
  margin: 0;
  padding: 18px 20px;
  color: #374151;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border-left: 4px solid var(--blue);
  border-radius: 16px;
}

.detail-turn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-turn a {
  padding: 14px;
  color: #374151;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
}

.detail-turn a:hover {
  color: var(--accent);
  border-color: #fed7aa;
}

.detail-side {
  position: relative;
}

.side-card {
  position: sticky;
  top: 92px;
}

.poster-side img {
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.primary-btn.full {
  width: 100%;
  margin-top: 16px;
}

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

.side-related {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #374151;
  font-weight: 800;
}

.side-related:hover {
  color: var(--accent);
}

.side-related img {
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 54px 0;
}

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

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

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

.site-footer a:hover {
  color: #fb923c;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 20px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  color: #fed7aa;
  background: rgba(251, 146, 60, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
}

.footer-bottom {
  padding: 18px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

  .hero-feature {
    max-width: 640px;
  }

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

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

  .side-card {
    position: static;
  }

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

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

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

  .header-inner {
    min-height: 66px;
  }

  .hero-layout {
    padding: 52px 0 84px;
  }

  .hero-search,
  .hero-actions,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search {
    border-radius: 24px;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
  }

  .category-strip,
  .featured-grid,
  .movie-grid,
  .small-grid,
  .detail-list,
  .filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .brand-text small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-frame {
    min-height: 420px;
  }

  .category-strip,
  .featured-grid,
  .movie-grid,
  .small-grid,
  .detail-list,
  .filter-row,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .player-toolbar {
    position: static;
    padding: 12px;
    background: #111827;
    opacity: 1;
  }

  .player-toolbar button {
    flex: 1;
    font-size: 13px;
  }
}
