:root {
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --red-50: #fef2f2;
  --gray-950: #111827;
  --gray-900: #1f2937;
  --gray-800: #273142;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--red-600);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

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

.main-nav a {
  padding: 10px 14px;
  color: var(--gray-700);
  border-radius: 999px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--red-600);
  background: var(--red-50);
}

.header-search {
  display: flex;
  overflow: hidden;
  width: 280px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 10px 14px;
  border: 0;
  outline: 0;
  color: var(--gray-700);
}

.header-search button,
.big-search button {
  border: 0;
  padding: 10px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  cursor: pointer;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--red-50);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--red-600);
  border-radius: 99px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 45%, #7f1d1d 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(127, 29, 29, 0.93), rgba(185, 28, 28, 0.72) 48%, rgba(17, 24, 39, 0.70));
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  gap: 56px;
  align-items: center;
  padding: 78px 0 92px;
}

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

.hero-kicker,
.detail-channel,
.inner-hero > span,
.hot-entry > span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 22px 0 8px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hero-copy p {
  max-width: 690px;
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.90);
}

.hero-tags,
.detail-meta,
.inner-hero-meta,
.year-cloud,
.rank-meta,
.movie-card-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin: 28px 0;
}

.hero-tags span,
.inner-hero-meta span,
.year-cloud span {
  padding: 7px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 650;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.primary-btn,
.ghost-btn,
.ghost-dark-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  box-shadow: 0 16px 32px rgba(185, 28, 28, 0.32);
}

.hero-carousel .primary-btn {
  color: var(--red-600);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.ghost-dark-btn,
.section-more {
  color: var(--red-600);
  background: var(--red-50);
}

.primary-btn:hover,
.ghost-btn:hover,
.ghost-dark-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
}

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

.hero-poster:hover .hero-poster-img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 16px;
  color: var(--white);
  background: rgba(220, 38, 38, 0.86);
  border-radius: 999px;
  font-weight: 800;
}

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

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

.hero-dots button.is-active {
  width: 34px;
  background: var(--white);
}

.quick-strip {
  width: min(var(--max-width), calc(100% - 32px));
  margin: -32px auto 0;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.quick-strip a {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--red-600);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  font-weight: 800;
}

.page-section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.feature-band {
  background: linear-gradient(135deg, var(--red-50), var(--red-100), var(--red-50));
}

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

.section-title h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

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

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

.category-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-cover,
.category-cover-mask {
  position: absolute;
  inset: 0;
}

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

.category-cover-mask {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.94), rgba(127, 29, 29, 0.78));
}

.category-card-content {
  position: relative;
  z-index: 2;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.category-card-content span {
  width: max-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.category-card-content h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card-content p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

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

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

.movie-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.movie-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-100), var(--red-600));
}

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

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

.movie-score {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  color: var(--white);
  background: rgba(185, 28, 28, 0.92);
  border-radius: 999px;
  font-weight: 800;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--gray-900);
}

.movie-meta,
.movie-desc {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 10px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-bottom {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-card-compact .movie-card-body h3 {
  font-size: 17px;
}

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

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

.rank-list-wide {
  grid-template-columns: repeat(2, 1fr);
}

.rank-item {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item a {
  display: grid;
  grid-template-columns: 86px 116px minmax(0, 1fr);
  min-height: 118px;
}

.rank-number {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  font-size: 28px;
  font-weight: 900;
}

.rank-cover {
  overflow: hidden;
  background: var(--red-50);
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-body {
  min-width: 0;
  padding: 16px;
}

.rank-body h3 {
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-body p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-meta {
  justify-content: space-between;
  color: var(--gray-500);
  font-size: 13px;
}

.hot-entry {
  position: sticky;
  top: 98px;
  min-height: 360px;
  padding: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(135deg, var(--red-600), #7f1d1d);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hot-entry h2 {
  margin: 28px 0 14px;
  font-size: 34px;
  line-height: 1.18;
}

.hot-entry p {
  color: rgba(255, 255, 255, 0.84);
}

.inner-hero {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 30px auto 0;
  padding: 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--red-600), #7f1d1d);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.inner-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.inner-hero-meta,
.year-cloud {
  margin-top: 22px;
}

.breadcrumb {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 26px auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--red-600);
}

.compact-section {
  padding-top: 0;
}

.compact-section h2 {
  margin: 0 0 18px;
}

.channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-links a {
  padding: 10px 15px;
  color: var(--red-600);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-weight: 750;
}

.detail-hero {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 38px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--red-100), var(--red-600));
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.18);
}

.detail-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-channel {
  color: var(--red-600);
  background: var(--red-50);
  border-color: var(--red-100);
}

.detail-info h1 {
  margin: 18px 0 12px;
  color: var(--gray-900);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
}

.detail-one-line {
  margin: 0 0 22px;
  color: var(--gray-600);
  font-size: 20px;
}

.detail-meta span {
  padding: 7px 12px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 999px;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.tag-list span {
  padding: 6px 11px;
  color: var(--red-600);
  background: var(--red-50);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.player-section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #09090b;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.movie-video,
.player-cover,
.player-cover-img,
.player-cover-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-video {
  z-index: 1;
  object-fit: contain;
  background: #09090b;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.player-cover[hidden] {
  display: none;
}

.player-cover-img {
  object-fit: cover;
  opacity: 0.58;
}

.player-cover-mask {
  background:
    radial-gradient(circle at center, rgba(220, 38, 38, 0.10), rgba(0, 0, 0, 0.74)),
    linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
}

.play-orb {
  position: relative;
  z-index: 3;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  color: var(--red-600);
  background: var(--white);
  border-radius: 999px;
  font-size: 34px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.play-text {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.detail-content {
  display: grid;
  gap: 18px;
}

.detail-content article {
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.detail-content h2 {
  margin: 0 0 12px;
  color: var(--gray-900);
  font-size: 26px;
}

.detail-content p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

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

.info-list div {
  padding: 14px;
  background: var(--gray-50);
  border-radius: 14px;
}

.info-list dt {
  color: var(--gray-500);
  font-size: 13px;
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--gray-900);
  font-weight: 750;
}

.big-search {
  display: flex;
  width: min(620px, 100%);
  margin-top: 28px;
  overflow: hidden;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
}

.big-search input {
  min-width: 0;
  flex: 1;
  padding: 16px 22px;
  border: 0;
  outline: 0;
}

.search-status {
  margin-bottom: 18px;
  color: var(--gray-500);
  font-weight: 700;
}

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

.search-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.search-card[hidden] {
  display: none;
}

.search-card a {
  display: block;
  padding: 18px 20px;
}

.search-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 20px;
}

.search-card span {
  display: block;
  margin-top: 4px;
  color: var(--red-600);
  font-size: 14px;
  font-weight: 700;
}

.search-card p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.library-section {
  display: grid;
  gap: 24px;
}

.index-group {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.index-group h2 {
  margin: 0 0 18px;
  color: var(--red-600);
}

.index-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.index-links a {
  padding: 11px 12px;
  background: var(--gray-50);
  border-radius: 12px;
  color: var(--gray-800);
  font-weight: 750;
}

.index-links a:hover {
  color: var(--red-600);
  background: var(--red-50);
}

.index-links span {
  display: block;
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 500;
}

.site-footer {
  margin-top: 50px;
  color: rgba(255, 255, 255, 0.78);
  background: #111827;
}

.footer-grid {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
}

.footer-brand {
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer p {
  max-width: 430px;
  margin: 16px 0 0;
}

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

.footer-links a:hover {
  color: var(--red-500);
}

@media (max-width: 1024px) {
  .header-search {
    display: none;
  }

  .hero-content,
  .detail-hero,
  .two-column-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .category-grid,
  .category-grid-large,
  .movie-grid,
  .rank-list-wide,
  .index-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hot-entry {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 64px;
  }

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

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }

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

  .main-nav a {
    text-align: center;
  }

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

  .hero-content {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .hero-copy p,
  .detail-one-line,
  .inner-hero p {
    font-size: 16px;
  }

  .quick-strip,
  .category-grid,
  .category-grid-large,
  .movie-grid,
  .rank-list-wide,
  .index-links,
  .info-list {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 16px;
  }

  .page-section {
    padding: 48px 0;
  }

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

  .inner-hero,
  .detail-hero {
    padding: 28px;
    border-radius: 22px;
  }

  .rank-item a {
    grid-template-columns: 64px 86px minmax(0, 1fr);
  }

  .rank-body p {
    -webkit-line-clamp: 1;
  }

  .footer-grid {
    gap: 26px;
  }
}
