:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --white: #ffffff;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #fde68a;
  --shadow: 0 18px 45px rgba(124, 45, 18, 0.12);
  --shadow-strong: 0 22px 70px rgba(124, 45, 18, 0.22);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #fffdf5 46%, #fffbeb 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(254, 215, 170, 0.8);
  background: rgba(255, 247, 237, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--orange-dark), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
}

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

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

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

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}

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

.header-search input {
  width: 210px;
  padding: 6px 10px 6px 14px;
}

.header-search button,
.big-search button,
.primary-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  padding: 7px 15px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
}

.header-search button:hover,
.big-search button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.34);
}

.ghost-button,
.section-more {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.section-more {
  color: var(--orange-dark);
  border-color: var(--line);
  background: #fff;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--orange-dark);
  box-shadow: var(--shadow);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 22px 18px;
}

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

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(253, 186, 116, 0.36), transparent 28%), linear-gradient(135deg, #fb923c 0%, #f59e0b 48%, #fde047 100%);
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 247, 237, 0.96) 100%);
  pointer-events: none;
}

.hero-floating {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.35);
  font-size: 64px;
  animation: floaty 7s ease-in-out infinite;
}

.hero-floating-one {
  top: 76px;
  left: 7%;
}

.hero-floating-two {
  top: 150px;
  right: 10%;
  animation-delay: 1.2s;
}

.hero-floating-three {
  bottom: 155px;
  left: 24%;
  animation-delay: 2.4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(6deg);
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 86px 24px 124px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-image {
  order: 2;
  width: min(520px, 100%);
  height: 340px;
  object-fit: cover;
  justify-self: end;
  border-radius: 34px;
  box-shadow: var(--shadow-strong);
  border: 10px solid rgba(255, 255, 255, 0.28);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.24), transparent 24%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  color: #fff;
  max-width: 720px;
  text-shadow: 0 8px 28px rgba(124, 45, 18, 0.28);
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  color: #7c2d12;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(124, 45, 18, 0.12);
}

.hero-content h1 {
  margin: 20px 0 14px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-content p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(17px, 2.1vw, 23px);
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-list span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.detail-tags span,
.tag-list span {
  color: #9a3412;
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 56px;
  z-index: 7;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-quick-links {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 6;
  width: min(1080px, calc(100% - 36px));
  transform: translate(-50%, 50%);
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-quick-links strong {
  color: var(--orange-dark);
  min-width: max-content;
}

.hero-quick-links span,
.hero-quick-links a {
  min-width: max-content;
  color: var(--muted);
  font-weight: 700;
}

.hero-quick-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
}

.search-band {
  padding: 78px 22px 32px;
}

.search-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.search-band h2,
.section-heading h2,
.page-hero h1,
.detail-card h1,
.sidebar-card h2,
.detail-section h2,
.footer-panel h2 {
  margin: 0;
  color: var(--text);
}

.search-band p,
.section-heading p,
.page-hero p,
.movie-card p,
.detail-section p,
.footer-brand p,
.search-status {
  color: var(--muted);
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

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

.big-search button {
  padding: 10px 22px;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 22px;
}

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

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

.heading-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--amber), transparent);
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

.movie-card:hover .poster-link img,
.small-card:hover img,
.category-card:hover img,
.category-overview-card:hover img,
.ranking-cover:hover img {
  transform: scale(1.08);
}

.poster-link::after,
.ranking-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 58%);
}

.duration,
.card-category {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.duration {
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.7);
}

.card-category {
  top: 10px;
  left: 10px;
  padding: 5px 11px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.card-body {
  padding: 17px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.ranking-card-body h2 a:hover,
.detail-meta a:hover {
  color: var(--orange-dark);
}

.card-body p {
  margin: 0 0 12px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.tag-list {
  margin-top: 13px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.category-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card::after,
.category-shade {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(124, 45, 18, 0.78), rgba(249, 115, 22, 0.08));
}

.category-card span,
.category-overview-body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.category-card strong,
.category-overview-body strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.category-card em,
.category-overview-body em,
.small-card em,
.rank-info {
  display: block;
  font-style: normal;
  opacity: 0.9;
  font-size: 13px;
}

.ranking-band {
  max-width: 1280px;
  margin: 48px auto;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, #c2410c, #f97316 44%, #f59e0b);
  box-shadow: var(--shadow-strong);
}

.ranking-copy span,
.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.22);
}

.ranking-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.rank-num {
  color: #fffbeb;
  font-weight: 900;
  font-size: 20px;
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.page-hero {
  position: relative;
  max-width: 1280px;
  margin: 30px auto 0;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  color: #fff;
  background: radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.25), transparent 28%), linear-gradient(135deg, #fb923c, #f59e0b 58%, #fde047);
  box-shadow: var(--shadow-strong);
}

.slim-hero {
  display: block;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.hero-side-list,
.small-card-list {
  display: grid;
  gap: 12px;
}

.small-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(124, 45, 18, 0.12);
}

.small-card img {
  width: 110px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease;
}

.small-card strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff7ed;
}

.filter-bar input {
  flex: 1;
  min-width: 260px;
}

.category-overview-card {
  min-height: 210px;
}

.category-overview-card img {
  min-height: 210px;
}

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

.ranking-grid {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  min-height: 130px;
}

.ranking-cover img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ranking-cover span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 3;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.ranking-card-body {
  padding: 20px 20px 20px 0;
}

.ranking-card-body h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 22px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.player-panel,
.detail-card,
.sidebar-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.player-panel {
  margin-bottom: 22px;
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 32px;
  background: rgba(249, 115, 22, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.player-start.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.detail-card,
.sidebar-card {
  padding: 24px;
}

.detail-card h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.detail-meta a,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
}

.detail-tags {
  margin: 18px 0 22px;
}

.detail-section {
  border-top: 1px solid #ffedd5;
  padding-top: 22px;
  margin-top: 22px;
}

.detail-section h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.detail-section p {
  margin: 0 0 12px;
  font-size: 17px;
}

.review-block {
  padding: 24px;
  border-radius: 20px;
  border-top: 0;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.info-grid div {
  padding: 13px;
  border-radius: 16px;
  background: #fff7ed;
}

.info-grid span {
  color: var(--muted);
}

.detail-sidebar {
  min-width: 0;
}

.sidebar-card {
  position: sticky;
  top: 96px;
}

.sidebar-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.related-section {
  padding-top: 36px;
}

.search-page-section {
  min-height: 520px;
}

.search-page-form {
  margin-bottom: 20px;
}

.search-status {
  margin-bottom: 18px;
  font-weight: 800;
}

.site-footer {
  margin-top: 50px;
  color: #fff;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  margin-bottom: 14px;
  font-weight: 900;
  font-size: 19px;
}

.footer-brand p {
  max-width: 480px;
  color: #d1d5db;
}

.footer-panel h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
}

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

.footer-links a {
  color: #d1d5db;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 22px 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.is-filtered-out {
  display: none !important;
}

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-slide,
  .search-band-inner,
  .page-hero,
  .ranking-band,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: 0;
    justify-self: center;
    height: 290px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions,
  .page-hero-actions {
    justify-content: center;
  }

  .detail-sidebar {
    display: block;
  }

  .sidebar-card {
    position: static;
  }

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

@media (max-width: 760px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .hero-carousel {
    min-height: 760px;
  }

  .hero-slide {
    padding: 70px 18px 150px;
  }

  .hero-image {
    height: 230px;
    border-radius: 24px;
  }

  .hero-quick-links {
    border-radius: 24px;
    transform: translate(-50%, 40%);
  }

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

  .content-section {
    padding: 38px 16px;
  }

  .section-heading,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-width: 0;
  }

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

  .ranking-cover img {
    min-height: 150px;
  }

  .ranking-card-body {
    padding: 15px 14px 15px 0;
  }

  .ranking-card-body p {
    display: none;
  }

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

  .rank-info {
    grid-column: 2;
  }

  .page-hero,
  .ranking-band {
    margin-left: 16px;
    margin-right: 16px;
    padding: 34px 20px;
    border-radius: 24px;
  }

  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-card,
  .sidebar-card {
    padding: 18px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .category-movie-grid {
    grid-template-columns: 1fr;
  }

  .big-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .big-search button {
    width: 100%;
  }

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

  .small-card img {
    width: 96px;
    height: 64px;
  }
}
