:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --shadow: 0 20px 50px rgba(251, 146, 60, 0.16);
  --shadow-strong: 0 25px 70px rgba(15, 23, 42, 0.22);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 237, 213, 0.94), rgba(255, 251, 235, 0.94));
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 12px 35px rgba(251, 146, 60, 0.12);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon,
.footer-logo span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong,
.footer-logo strong {
  font-size: 22px;
  line-height: 1.1;
  background: linear-gradient(90deg, #d97706, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
}

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

.hero-section {
  padding: 34px 0 26px;
}

.hero-stage {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background: #111827;
  box-shadow: var(--shadow-strong);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 36px;
  align-items: center;
  padding: 64px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: translateX(24px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(251, 191, 36, 0.35), transparent 28%), linear-gradient(0deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.12));
}

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

.hero-content {
  max-width: 680px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  color: #ffedd5;
  background: rgba(249, 115, 22, 0.26);
  border: 1px solid rgba(254, 215, 170, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.hero-content h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-meta,
.detail-tags,
.tag-row,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.28);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.24);
}

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

.ghost-button.dark {
  color: #7c2d12;
  background: #ffffff;
  border-color: #fed7aa;
}

.hero-poster {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1deg);
}

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

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

.hero-poster span,
.movie-play {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-poster span {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  font-size: 28px;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(16px);
  font-size: 34px;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

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

.hero-dot.is-active {
  width: 30px;
  background: #fbbf24;
}

.quick-search-section {
  margin-top: 10px;
  margin-bottom: 34px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(251, 146, 60, 0.24);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-panel input {
  min-height: 48px;
  padding: 0 16px;
  color: #1f2937;
  border: 0;
  outline: 0;
  background: #ffffff;
  border-radius: 14px;
}

.search-panel button,
.filter-tabs button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  border-radius: 14px;
  font-weight: 800;
}

.search-panel button {
  min-width: 96px;
  min-height: 48px;
}

.content-section {
  padding: 42px 0;
}

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

.section-heading h2 {
  margin: 0 0 6px;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
  font-weight: 800;
}

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

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

.movie-card {
  min-width: 0;
}

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

.movie-card-link {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(251, 146, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 24px 55px rgba(251, 146, 60, 0.24);
}

.movie-cover {
  position: relative;
  height: 0;
  margin: 0;
  overflow: hidden;
  padding-bottom: 58%;
  background: linear-gradient(135deg, #fed7aa, #fde68a);
}

.movie-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), transparent 68%);
  transition: opacity 0.3s ease;
}

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

.movie-region,
.movie-year,
.rank-mark {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-region {
  left: 12px;
  color: #ffffff;
  background: var(--orange);
}

.movie-year {
  right: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
}

.rank-mark {
  left: 12px;
  top: auto;
  bottom: 12px;
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #f59e0b);
}

.movie-play {
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.movie-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #fb923c;
}

.tag-row span {
  min-height: 24px;
  background: #fff7ed;
}

.category-band {
  padding: 56px 0;
  background: linear-gradient(135deg, #ffffff, #fff7ed 48%, #fffbeb);
  border-top: 1px solid rgba(251, 146, 60, 0.18);
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 160px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(251, 146, 60, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 68%);
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile span {
  display: block;
  color: #1f2937;
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  min-height: 48px;
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.category-tile b {
  color: var(--orange-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 56px 0;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 48px 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(251, 146, 60, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

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

.rank-row img {
  width: 96px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-content strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.rank-row b {
  color: #9a3412;
  font-size: 13px;
}

.recommend-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(145deg, #9a3412, #f97316, #f59e0b);
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
}

.recommend-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.recommend-panel p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.filter-tabs {
  margin: -6px 0 24px;
}

.filter-tabs button {
  min-height: 38px;
  padding: 0 15px;
  color: #9a3412;
  background: #ffedd5;
}

.filter-tabs button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.page-hero {
  color: #ffffff;
  background: radial-gradient(circle at 10% 15%, rgba(251, 191, 36, 0.4), transparent 28%), linear-gradient(135deg, #7c2d12, #ea580c, #f59e0b);
}

.compact-hero {
  padding: 80px 0;
}

.page-hero span {
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.page-hero h1 {
  max-width: 850px;
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.page-hero .search-panel {
  max-width: 760px;
  margin-top: 30px;
}

.category-overview-list {
  display: grid;
  gap: 28px;
}

.category-overview-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.category-overview-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 900;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.category-overview-head a {
  color: var(--orange-dark);
  font-weight: 900;
}

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

.detail-top {
  padding: 56px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.32), transparent 34%), linear-gradient(135deg, #111827, #7c2d12 56%, #ea580c);
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fed7aa;
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin-top: 22px;
}

.detail-tags {
  margin-top: 16px;
}

.player-section {
  padding: 48px 0 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.18));
}

.player-start span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  box-shadow: 0 20px 48px rgba(249, 115, 22, 0.42);
  font-size: 36px;
}

.player-start strong {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.player-start.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 34px 0 10px;
}

.story-card,
.text-page article {
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.story-card h2,
.text-page h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.story-card p,
.text-page p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

.story-card p + p,
.text-page p + p {
  margin-top: 16px;
}

.text-page {
  padding: 56px 0;
}

.text-page article {
  max-width: 850px;
}

.site-footer {
  margin-top: 48px;
  padding-top: 48px;
  background: linear-gradient(180deg, #fffbeb, #fff7ed);
  border-top: 1px solid rgba(251, 146, 60, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.footer-links a {
  color: #7c2d12;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--orange-dark);
}

.copyright {
  margin-top: 36px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

@media (max-width: 1080px) {
  .movie-grid,
  .category-grid,
  .mini-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slide {
    grid-template-columns: 1fr 280px;
    padding: 48px;
  }

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

@media (max-width: 820px) {
  .mobile-menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid rgba(251, 146, 60, 0.22);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: #fff7ed;
  }

  .nav-link::after {
    display: none;
  }

  .hero-stage {
    min-height: 700px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 26px 70px;
  }

  .hero-poster {
    max-width: 270px;
    margin: 0 auto;
  }

  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .category-grid,
  .mini-card-grid,
  .split-section,
  .detail-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recommend-panel {
    position: static;
  }

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

@media (max-width: 560px) {
  .site-container,
  .hero-stage {
    width: min(100% - 20px, 1180px);
  }

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

  .hero-stage {
    border-radius: 22px;
  }

  .hero-content h1,
  .detail-info h1,
  .page-hero h1 {
    letter-spacing: -0.03em;
  }

  .hero-arrow {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .featured-grid,
  .ranking-grid,
  .category-grid,
  .mini-card-grid,
  .split-section,
  .detail-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-row b {
    grid-column: 3;
  }

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

  .compact-hero {
    padding: 58px 0;
  }

  .detail-top {
    padding: 38px 0;
  }

  .player-shell {
    border-radius: 18px;
  }
}
