:root {
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-soft: #fff2d8;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(31, 41, 55, 0.1);
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --brand-hot: #f97316;
  --dark: #111827;
  --dark-soft: #1f2937;
  --shadow: 0 20px 50px rgba(120, 53, 15, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(249, 115, 22, 0.95));
  color: #ffffff;
  box-shadow: 0 10px 35px rgba(180, 83, 9, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-text {
  font-size: 1.22rem;
  white-space: nowrap;
}

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

.desktop-nav a {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff7ed;
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input {
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 12px 16px;
}

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

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 800;
  color: #92400e;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(120, 53, 15, 0.15);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1.35rem;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px 24px 22px;
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-panel a {
  color: #ffffff;
  font-weight: 800;
}

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

.hero-stage,
.hero-slide,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.15);
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 32%, rgba(245, 158, 11, 0.38), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.36)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.08));
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 56px;
  color: #ffffff;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff7ed;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  color: #9a3412;
  background: rgba(245, 158, 11, 0.18);
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.detail-one-line {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  line-height: 1.8;
}

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

.hero-tags,
.detail-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff7ed;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.tag-row span {
  background: #fff7ed;
  color: #9a3412;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  padding: 0 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-hot));
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.32);
}

.ghost-btn {
  padding: 0 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.hero-poster {
  display: block;
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(16px);
}

.hero-controls button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
}

.hero-controls > button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.5rem;
  line-height: 1;
}

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

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

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

.section {
  padding: 76px 0;
}

.warm-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.2), transparent 30%),
    linear-gradient(135deg, #fff7ed, #fffbeb);
}

.amber-panel {
  background: linear-gradient(135deg, #fed7aa, #fde68a, #fff7ed);
}

.ranking-section {
  background: linear-gradient(180deg, #fffaf2, #ffedd5);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2,
.player-heading h2,
.detail-article h2,
.detail-side h2,
.search-result-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.text-link {
  min-height: 44px;
  padding: 0 18px;
  color: #9a3412;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(154, 52, 18, 0.12);
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 180px;
  padding: 20px;
  color: #ffffff;
  background: var(--dark-soft);
  box-shadow: var(--shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 0.35s ease;
}

.category-card::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.18));
}

.category-card span,
.category-card em {
  position: relative;
  z-index: 2;
  display: block;
}

.category-card span {
  margin-top: 78px;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 950;
}

.category-card em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
}

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

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

.category-movie-grid {
  align-items: stretch;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(120, 53, 15, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(120, 53, 15, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fef3c7;
}

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.9);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-size: 0.8rem;
  font-weight: 950;
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 900;
}

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

.card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 950;
}

.card-body h3 a:hover {
  color: var(--brand-dark);
}

.card-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.25em;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.genre-line {
  margin-top: 12px;
  color: #9ca3af;
  font-size: 0.86rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
  gap: 24px;
}

.feature-large .movie-card,
.feature-large .poster-link {
  height: 100%;
}

.rank-box {
  max-width: 880px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 52px 74px 1fr 26px;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #fff7ed;
  transform: translateX(4px);
}

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

.rank-row img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  font-size: 1.04rem;
}

.rank-info em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.rank-arrow {
  color: #f97316;
  font-size: 1.8rem;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #78350f 58%, #f97316);
}

.page-hero {
  padding: 94px 0;
}

.compact-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.42), transparent 28%),
    linear-gradient(135deg, #111827, #78350f);
}

.channel-hero,
.ranking-hero {
  background:
    radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.42), transparent 28%),
    linear-gradient(135deg, #111827, #7c2d12 65%, #ea580c);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 760px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

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

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

.category-overview-card {
  min-height: 280px;
  display: grid;
  align-items: end;
}

.category-overview-card > div:last-child {
  position: relative;
  z-index: 2;
}

.category-thumbs {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.category-overview-card h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
}

.category-overview-card p {
  max-width: 560px;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.category-overview-card span {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.filter-panel,
.search-panel {
  margin-bottom: 26px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  min-width: min(100%, 360px);
  color: #92400e;
  font-weight: 900;
}

.filter-panel input {
  width: 100%;
  box-shadow: inset 0 0 0 1px rgba(146, 64, 14, 0.14);
}

.filter-chips,
.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip,
.search-hints button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  color: #92400e;
  background: #fff7ed;
  font-weight: 900;
}

.filter-chip.is-active,
.search-hints button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.detail-hero {
  min-height: 650px;
  background: #111827;
}

.detail-backdrop,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.03);
  opacity: 0.7;
}

.detail-shade {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.45)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.16));
}

.detail-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 650px;
  padding: 60px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-info h1 {
  margin-top: 12px;
}

.detail-one-line {
  max-width: 820px;
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.15);
}

.player-section {
  padding-top: 54px;
}

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

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.28);
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.36), rgba(0, 0, 0, 0.58));
}

.video-play-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.42);
  font-size: 2.2rem;
}

.video-overlay span:last-child {
  font-weight: 950;
  font-size: 1.2rem;
}

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

.detail-article,
.detail-side {
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-article {
  padding: 32px;
}

.detail-article h2 + p {
  margin-top: 12px;
}

.detail-article p {
  margin: 0 0 26px;
  color: #4b5563;
  font-size: 1.04rem;
  line-height: 1.92;
}

.detail-side {
  align-self: start;
  padding: 26px;
}

.detail-side dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.detail-side dt {
  color: #9a3412;
  font-weight: 950;
}

.detail-side dd {
  margin: -34px 0 0 72px;
  color: #374151;
}

.next-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.next-links a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #92400e;
  background: #fff7ed;
  font-weight: 800;
}

.search-panel {
  display: grid;
  gap: 14px;
}

.search-page-form input {
  width: min(100%, 680px);
  box-shadow: inset 0 0 0 1px rgba(146, 64, 14, 0.14);
}

.search-result-head {
  margin-bottom: 18px;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 34px;
  padding: 50px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.25rem;
}

.footer-grid p {
  max-width: 520px;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
}

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

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

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 110px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .feature-layout,
  .detail-content-grid,
  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 360px;
  }
}

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

  .brand-text {
    font-size: 1rem;
  }

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

  .hero p,
  .page-hero p,
  .detail-one-line {
    font-size: 1rem;
  }

  .hero-controls {
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  .section {
    padding: 54px 0;
  }

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

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

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

  .card-body {
    padding: 14px;
  }

  .card-body p,
  .genre-line,
  .tag-row {
    display: none;
  }

  .detail-wrap {
    padding-top: 36px;
  }

  .detail-info h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .detail-article,
  .detail-side {
    padding: 22px;
  }

  .rank-row {
    grid-template-columns: 42px 58px 1fr;
  }

  .rank-row img {
    width: 58px;
    height: 58px;
  }

  .rank-arrow {
    display: none;
  }

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

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

  .hero-tags span,
  .detail-tags span,
  .tag-row span {
    font-size: 0.78rem;
  }
}
