:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --surface: #ffffff;
  --surface-strong: #fffaf0;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fde1ba;
  --primary: #f97316;
  --primary-dark: #c2410c;
  --accent: #f59e0b;
  --shadow: 0 18px 45px rgba(194, 65, 12, 0.14);
  --shadow-soft: 0 10px 30px rgba(124, 45, 18, 0.08);
  --radius: 22px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.22), transparent 32rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.86);
  border-bottom: 1px solid rgba(253, 186, 116, 0.4);
  backdrop-filter: blur(18px);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9a3412;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo {
  font-size: 25px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.36);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: #7c2d12;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-more {
  border: 0;
  background: transparent;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 168px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  color: #7c2d12;
  border-radius: 12px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #ffedd5;
  color: var(--primary-dark);
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 320px;
  margin-left: auto;
}

.header-search input,
.page-filter input,
.page-filter select {
  width: 100%;
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  outline: none;
  padding: 12px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.header-search input:focus,
.page-filter input:focus,
.page-filter select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  max-height: 430px;
  overflow: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.search-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
}

.search-item:hover {
  background: #fff7ed;
}

.search-item img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.search-item strong {
  display: block;
  margin-bottom: 3px;
  color: #7c2d12;
}

.search-item span,
.search-empty {
  color: var(--muted);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 14px;
  background: #ffedd5;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #9a3412;
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.96) 0%, rgba(255, 247, 237, 0.78) 45%, rgba(255, 247, 237, 0.20) 100%),
    radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.34), transparent 28rem);
  z-index: -1;
}

.hero-slider {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 42px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-copy {
  padding: 48px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero h1,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: #7c2d12;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: #7c2d12;
  font-size: 18px;
  line-height: 1.86;
}

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

.hero-meta span,
.detail-meta span,
.meta-row span,
.card-tags a,
.card-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.9);
  color: #9a3412;
  border: 1px solid rgba(251, 146, 60, 0.26);
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.34);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: #9a3412;
  border: 1px solid rgba(249, 115, 22, 0.28);
  box-shadow: none;
}

.hero-art {
  position: relative;
  min-height: 480px;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
}

.hero-art::before {
  width: 220px;
  height: 220px;
  right: -40px;
  top: 16px;
  background: rgba(251, 146, 60, 0.24);
}

.hero-art::after {
  width: 160px;
  height: 160px;
  left: -38px;
  bottom: 36px;
  background: rgba(245, 158, 11, 0.18);
}

.hero-poster {
  position: relative;
  width: min(380px, 86vw);
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(124, 45, 18, 0.28);
  transform: rotate(2deg);
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.hero-card-float {
  position: absolute;
  right: 0;
  bottom: 32px;
  width: min(330px, 78%);
  padding: 18px;
  border: 1px solid rgba(255, 237, 213, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card-float strong {
  display: block;
  color: #7c2d12;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-card-float p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 44px;
  display: flex;
  gap: 9px;
}

.hero-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.28);
}

.hero-dots button.active {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

main,
.section,
.page-hero,
.detail-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 66px 0;
}

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

.section-heading h2,
.page-hero h1,
.detail-title h1,
.player-section h2,
.article-block h2 {
  margin: 0;
  color: #7c2d12;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-heading p,
.page-hero p,
.article-block p,
.category-intro,
.no-results {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-action {
  color: var(--primary-dark);
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(253, 186, 116, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-link img,
.compact-card:hover img,
.category-tile:hover img {
  transform: scale(1.06);
}

.poster-link::after,
.compact-poster::after,
.category-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.48));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.movie-card:hover .poster-link::after,
.compact-card:hover .compact-poster::after,
.category-tile:hover .category-cover::after {
  opacity: 1;
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: all 0.24s ease;
}

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

.score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 12px;
  font-weight: 900;
}

.card-content {
  padding: 16px;
}

.card-content h3,
.compact-card h3 {
  margin: 0;
  color: #7c2d12;
  font-size: 18px;
  line-height: 1.35;
}

.card-content h3 a,
.compact-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card-desc {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  margin: 10px 0 0;
  color: #4b5563;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 22px;
}

.feature-large {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #9a3412, #f97316);
  color: white;
  box-shadow: var(--shadow);
}

.feature-large img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.feature-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.feature-copy p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.feature-copy .btn {
  align-self: flex-start;
  margin-top: 26px;
  background: white;
  color: var(--primary-dark);
  box-shadow: none;
}

.compact-list {
  display: grid;
  gap: 16px;
}

.compact-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(253, 186, 116, 0.42);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.compact-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.compact-poster img {
  width: 88px;
  height: 118px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rank-num {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 13px;
  font-weight: 900;
}

.compact-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 218px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(253, 186, 116, 0.42);
}

.category-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.category-tile-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 20px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(124, 45, 18, 0.86));
}

.category-tile h3 {
  margin: 0;
  font-size: 22px;
}

.category-tile p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  padding: 64px 0 38px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.page-filter {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 14px;
  margin-top: 26px;
}

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

.breadcrumb a {
  color: var(--primary-dark);
  font-weight: 800;
}

.detail-wrap {
  padding-bottom: 70px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(253, 186, 116, 0.52);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.2), transparent 28rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.detail-cover {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
  box-shadow: 0 24px 48px rgba(124, 45, 18, 0.16);
}

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

.detail-title h1 {
  font-size: clamp(34px, 6vw, 66px);
}

.detail-title .summary {
  margin: 18px 0 0;
  color: #7c2d12;
  font-size: 18px;
  line-height: 1.85;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.player-section,
.article-block,
.related-section {
  margin-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.28);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-cover-button {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.68));
  cursor: pointer;
}

.video-cover-button.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-ring {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease;
}

.video-cover-button:hover .play-ring {
  transform: scale(1.08);
}

.article-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.article-card {
  padding: 28px;
  border: 1px solid rgba(253, 186, 116, 0.48);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.article-card h2 {
  font-size: 26px;
}

.article-card p {
  font-size: 16px;
}

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

.hidden-card,
.no-results[hidden] {
  display: none !important;
}

.no-results {
  padding: 24px;
  border: 1px dashed rgba(249, 115, 22, 0.42);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  margin-top: 50px;
  padding: 46px 0 28px;
  background: #fff7ed;
  border-top: 1px solid rgba(253, 186, 116, 0.42);
}

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

.footer-logo {
  font-size: 24px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

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

.footer-links a {
  padding: 8px 13px;
  color: #9a3412;
  border: 1px solid rgba(251, 146, 60, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

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

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-search {
    max-width: none;
  }

  .hero-slide,
  .detail-hero,
  .feature-layout,
  .feature-large,
  .article-block {
    grid-template-columns: 1fr;
  }

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

  .hero-art {
    min-height: 430px;
  }

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

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

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

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 22px, 1180px);
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .logo {
    font-size: 21px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .header-search {
    order: 3;
    flex-basis: 100%;
  }

  .main-nav {
    top: 116px;
  }

  .hero,
  .hero-slider {
    min-height: 760px;
  }

  .hero-copy {
    padding: 30px 0 0;
  }

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

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

  .hero-dots {
    bottom: 18px;
  }

  .section {
    padding: 42px 0;
  }

  .section-heading,
  .page-title-row,
  .footer-inner {
    display: block;
  }

  .section-action {
    display: inline-block;
    margin-top: 12px;
  }

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

  .card-content {
    padding: 13px;
  }

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

  .feature-copy,
  .detail-hero,
  .article-card {
    padding: 22px;
  }

  .detail-title h1 {
    font-size: 38px;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

@media (max-width: 460px) {
  main,
  .section,
  .page-hero,
  .detail-wrap,
  .hero-slider,
  .footer-inner,
  .copyright {
    width: min(100% - 22px, 1180px);
  }

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

  .hero,
  .hero-slider {
    min-height: 810px;
  }

  .hero-card-float {
    width: 92%;
  }
}
