* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: rgba(255, 255, 255, 0.32);
  --orange: #f97316;
  --red: #ef4444;
  --pink: #ec4899;
  --yellow: #f59e0b;
  --shadow: 0 22px 60px rgba(127, 29, 29, 0.14);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f8fafc;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(100deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
  box-shadow: 0 14px 38px rgba(190, 24, 93, 0.22);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

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

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-text strong,
.footer-logo {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text em {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  color: #ffffff;
  background: transparent;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown > button:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff7ed;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  min-width: 300px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}

.nav-dropdown-menu a:hover {
  background: #fff7ed;
  color: #ea580c;
}

.top-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.top-search input {
  width: 210px;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 8px 10px;
}

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

.top-search button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search button {
  color: #ea580c;
  background: #ffffff;
}

.btn:hover,
.top-search button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(100deg, #f97316, #ef4444 55%, #ec4899);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.28);
}

.btn-ghost {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #ffffff;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 34%), linear-gradient(120deg, #fb923c 0%, #ef4444 48%, #db2777 100%);
}

.hero-container {
  position: relative;
  min-height: 650px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(22px);
  opacity: 0.7;
}

.hero-glow-one {
  top: 72px;
  left: 8vw;
  width: 240px;
  height: 240px;
}

.hero-glow-two {
  right: 8vw;
  bottom: 36px;
  width: 360px;
  height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 58px;
  padding: 70px 0 96px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 24px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.55;
  opacity: 0.95;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

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

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 34px;
  transform: rotate(-7deg);
}

.hero-visual::before {
  inset: 30px 34px -24px -24px;
  z-index: -2;
  background: rgba(255, 255, 255, 0.14);
}

.hero-visual::after {
  inset: 14px 18px -8px -8px;
  z-index: -1;
  background: rgba(127, 29, 29, 0.16);
}

.hero-visual img {
  width: min(440px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(127, 29, 29, 0.38);
  transform: rotate(3deg);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.is-active {
  width: 36px;
  background: #ffffff;
}

.section {
  padding: 72px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
}

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2,
.page-hero h1,
.detail-article h2,
.detail-recommend-box h2 {
  margin: 8px 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.section-heading .section-kicker,
.page-hero .section-kicker {
  color: #ea580c;
  background: #ffedd5;
}

.section-link {
  color: #dc2626;
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid #f3f4f6;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin: 0;
  background: linear-gradient(135deg, #fed7aa, #fecdd3);
}

.movie-card:not(.movie-card-featured) .movie-poster {
  aspect-ratio: 16 / 10;
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.poster-year {
  left: 12px;
}

.poster-type {
  right: 12px;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: #ef4444;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-meta {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9ca3af;
  font-size: 13px;
}

.movie-foot strong {
  color: #f59e0b;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(127, 29, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.rank-item img {
  width: 86px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

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

.rank-body strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-body em {
  display: block;
  margin: 3px 0;
  color: #ea580c;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.rank-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-item b {
  color: #dc2626;
  white-space: nowrap;
}

.spotlight-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px;
  padding: 34px;
  color: #ffffff;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 34%), linear-gradient(135deg, #fb923c, #ef4444 52%, #db2777);
  box-shadow: var(--shadow);
}

.spotlight-card span {
  font-weight: 900;
  opacity: 0.82;
}

.spotlight-card h2 {
  margin: 14px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.spotlight-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 24px;
  line-height: 1.8;
  opacity: 0.92;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

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

.category-tile,
.category-overview-card {
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444 54%, #ec4899);
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(220, 38, 38, 0.26);
}

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

.category-tile p {
  min-height: 5.2em;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.category-tile div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-tile span {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.page-hero {
  padding: 72px 0;
  color: #ffffff;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 34%), linear-gradient(120deg, #fb923c, #ef4444 48%, #db2777);
}

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

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.page-hero .section-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-overview-card {
  color: #111827;
  background: #ffffff;
}

.category-overview-head {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.category-overview-head > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.category-overview-head h2 {
  margin: 0 0 6px;
}

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

.small-card-row,
.small-card-stack {
  display: grid;
  gap: 12px;
}

.small-card-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.small-card {
  overflow: hidden;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.small-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.small-card span {
  display: block;
  overflow: hidden;
  padding: 10px;
  color: #111827;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  padding: 16px;
  background: #fff7ed;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #fdba74;
  border-radius: 16px;
  outline: none;
  padding: 12px 14px;
  color: #1f2937;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.movie-card.is-hidden {
  display: none;
}

.detail-player-section {
  padding: 28px 0 42px;
  background: #020617;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

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

.breadcrumb strong {
  color: #ffffff;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.66));
  text-align: center;
}

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

.player-cover-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  color: #ef4444;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  font-size: 34px;
}

.player-cover strong {
  max-width: 80%;
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.2;
}

.player-actions {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.player-actions button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(12px);
}

.detail-side-card {
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(236, 72, 153, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.detail-side-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-side-card div {
  padding: 20px;
}

.detail-side-card span {
  color: #fed7aa;
  font-weight: 800;
}

.detail-side-card h1 {
  margin: 10px 0;
  font-size: 30px;
  line-height: 1.2;
}

.detail-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.detail-article,
.detail-recommend-box {
  border: 1px solid #f3f4f6;
  border-radius: 26px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-meta-row span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #c2410c;
  background: #ffedd5;
  font-weight: 800;
}

.detail-article h2,
.detail-recommend-box h2 {
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
  line-height: 1.92;
}

.detail-article .tag-list span {
  color: #c2410c;
  background: #ffedd5;
}

.detail-recommend-box .small-card img {
  aspect-ratio: 16 / 9;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #030712);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px;
  padding: 52px 0 34px;
}

.footer-logo {
  color: #ffffff;
}

.site-footer p {
  max-width: 470px;
  margin: 12px 0 0;
}

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

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

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

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

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .top-search {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto;
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

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

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 14px;
    background: linear-gradient(135deg, #f97316, #ef4444 55%, #ec4899);
    box-shadow: 0 24px 55px rgba(127, 29, 29, 0.28);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-section,
  .hero-container {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 110px;
  }

  .hero-visual img {
    width: min(300px, 88vw);
    margin: 0 auto;
  }

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

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

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

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

  .rank-item {
    grid-template-columns: 42px 72px minmax(0, 1fr);
  }

  .rank-item b {
    grid-column: 3;
  }
}

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

  .hero-copy h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .featured-grid,
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .small-card-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .player-actions {
    left: 12px;
    right: 12px;
    justify-content: center;
  }

  .player-actions button {
    padding: 7px 9px;
    font-size: 13px;
  }
}
