:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(217, 119, 6, 0.18);
  --brand: #d97706;
  --brand-dark: #b45309;
  --brand-hot: #ea580c;
  --red: #dc2626;
  --shadow: 0 22px 60px rgba(146, 64, 14, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(251, 191, 36, 0.28), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(248, 113, 113, 0.18), transparent 30%),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 46%, #fef2f2 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 251, 235, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28);
}

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

.logo-text strong {
  font-size: 20px;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}

.logo-text em {
  margin-top: 4px;
  font-size: 12px;
  color: #d97706;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #7c2d12;
  background: rgba(251, 191, 36, 0.23);
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-search input,
.mobile-search input,
.filter-controls input,
.filter-controls select {
  height: 42px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  outline: none;
  color: #78350f;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 0 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.17);
  background: #ffffff;
}

.header-search button,
.mobile-search button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.18);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #92400e;
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-search input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 14px;
}

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

.mobile-nav-link {
  padding: 10px 12px;
  color: #92400e;
  font-weight: 700;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.16);
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-stage {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
  align-items: center;
  gap: 42px;
  padding: 104px max(32px, calc((100vw - 1180px) / 2)) 70px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.78) 43%, rgba(17, 24, 39, 0.38) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.35), transparent 30%),
    radial-gradient(circle at 78% 38%, rgba(239, 68, 68, 0.22), transparent 34%);
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker,
.section-heading span,
.featured-copy span,
.ranking-head span,
.intro-copy span,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff7ed;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(234, 88, 12, 0.95));
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 44px);
  color: #fde68a;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

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

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

.hero-actions,
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

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

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

.ghost-button.dark {
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

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

.hero-poster {
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

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

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 34px;
  background: #f59e0b;
}

.section-block {
  margin-top: 54px;
}

.intro-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intro-copy h2,
.section-heading h2,
.ranking-head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.intro-copy p,
.section-heading p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  margin-bottom: 24px;
}

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

.category-card,
.movie-card,
.featured-card,
.ranking-panel,
.detail-panel,
.filter-panel,
.player-section,
.related-section,
.search-hero,
.category-hero,
.ranking-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-card {
  overflow: hidden;
}

.category-visual {
  position: relative;
  display: block;
  height: 168px;
  overflow: hidden;
  background: #f59e0b;
}

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

.category-card:hover .category-visual img {
  transform: scale(1.06);
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.68));
}

.category-visual span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

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

.category-card-body h3 {
  margin: 0 0 8px;
  color: #92400e;
  font-size: 18px;
}

.category-card-body p {
  min-height: 74px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.category-samples a {
  max-width: 100%;
  padding: 6px 9px;
  overflow: hidden;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  background: #fffbeb;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(251, 191, 36, 0.25), transparent 36%),
    rgba(255, 255, 255, 0.92);
}

.featured-image {
  overflow: hidden;
  border-radius: 24px;
  background: #f59e0b;
}

.featured-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featured-copy {
  align-self: center;
  padding: 14px 6px;
}

.featured-copy h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
}

.featured-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.featured-meta {
  margin-bottom: 14px;
}

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

.movie-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(146, 64, 14, 0.2);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f59e0b;
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.78));
}

.cover-chip,
.rank-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.cover-chip {
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.94);
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.28);
}

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

.movie-card-body h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
}

.horizontal-scroll {
  display: grid;
  grid-auto-columns: minmax(240px, 280px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
  scroll-snap-align: start;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.ranking-head {
  margin-bottom: 16px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 251, 235, 0.75);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  background: #fef3c7;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.rank-item img {
  width: 54px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.rank-info strong,
.rank-info em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info strong {
  color: #111827;
  font-size: 15px;
}

.rank-info em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.more-link {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 12px;
  color: #b45309;
  font-weight: 900;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.16);
}

.search-hero,
.category-hero,
.ranking-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto 0;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.28), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.search-hero h1,
.category-hero h1,
.ranking-hero h1,
.detail-title h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.search-hero p,
.category-hero p,
.ranking-hero p,
.detail-title p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.filter-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  padding: 18px;
}

.filter-title {
  margin-bottom: 12px;
  color: #92400e;
  font-size: 15px;
  font-weight: 900;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  padding: 0 14px;
}

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

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 28px;
  color: #92400e;
  font-weight: 900;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
}

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

.detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 72px;
}

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

.breadcrumbs a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
}

.detail-title {
  margin-bottom: 24px;
}

.player-section {
  padding: 18px;
  overflow: hidden;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111827;
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.72));
  cursor: pointer;
}

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

.play-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding-left: 5px;
  font-size: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 42px rgba(234, 88, 12, 0.38);
}

.player-overlay strong {
  max-width: min(80%, 640px);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.3;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius);
  background: #f59e0b;
  box-shadow: var(--shadow);
}

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

.detail-panel {
  padding: 24px;
}

.detail-panel h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 26px;
}

.detail-panel p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.9;
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}

.detail-meta-list span {
  padding: 12px;
  color: #92400e;
  font-weight: 800;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.16);
}

.related-section {
  margin-top: 26px;
  padding: 24px;
}

.related-section h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.site-footer {
  margin-top: 70px;
  color: #fef3c7;
  background: #111827;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: #fbbf24;
  font-size: 22px;
}

.footer-inner p {
  max-width: 620px;
  margin: 8px 0 0;
  color: rgba(254, 243, 199, 0.78);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(254, 243, 199, 0.82);
  font-weight: 800;
}

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

  .header-inner {
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 98px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container,
  .list-container,
  .detail-main,
  .search-hero,
  .category-hero,
  .ranking-hero,
  .filter-panel {
    width: min(100% - 22px, 1180px);
  }

  .hero-carousel,
  .hero-stage {
    min-height: 620px;
  }

  .hero-slide {
    padding: 84px 18px 64px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .intro-block,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-image img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

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

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

  .player-section,
  .detail-panel,
  .related-section,
  .search-hero,
  .category-hero,
  .ranking-hero {
    padding: 18px;
  }
}

@media (max-width: 470px) {
  .logo-text em {
    display: none;
  }

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

  .mobile-nav {
    grid-template-columns: 1fr;
  }

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

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