:root {
  --candy-pink: #ffb3d9;
  --candy-rose: #ff8dc7;
  --candy-orange: #ffb347;
  --candy-yellow: #ffe66d;
  --candy-mint: #a8e6ce;
  --candy-blue: #87ceeb;
  --candy-purple: #b19cd9;
  --text-main: #1f2937;
  --text-soft: #667085;
  --white-glass: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 18px 45px rgba(255, 141, 199, 0.24);
  --shadow-card: 0 10px 25px rgba(31, 41, 55, 0.08);
  --radius-xl: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 179, 217, 0.36), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(168, 230, 206, 0.36), transparent 25rem),
    linear-gradient(135deg, #fff5f8 0%, #fffaf0 46%, #f4fffb 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 179, 217, 0.28) 0 3px, transparent 3px),
    radial-gradient(circle, rgba(255, 230, 109, 0.24) 0 2px, transparent 2px);
  background-position: 0 0, 28px 26px;
  background-size: 72px 72px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.section-container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange), var(--candy-yellow), var(--candy-mint), var(--candy-blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.glass-effect {
  background: var(--white-glass);
  border: 1px solid rgba(255, 179, 217, 0.25);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.candy-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.candy-button {
  color: #fff;
  background: linear-gradient(90deg, var(--candy-rose), var(--candy-yellow), var(--candy-mint));
  box-shadow: 0 12px 30px rgba(255, 141, 199, 0.36);
}

.secondary-button {
  color: var(--candy-rose);
  background: #fff;
  box-shadow: 0 12px 30px rgba(255, 179, 217, 0.22);
}

.ghost-button {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 179, 217, 0.32);
}

.candy-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 179, 217, 0.22);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-yellow), var(--candy-mint));
  box-shadow: 0 8px 22px rgba(255, 141, 199, 0.32);
}

.brand-text {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.66rem 0.88rem;
  color: #4b5563;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--candy-rose);
  background: rgba(255, 179, 217, 0.14);
}

.nav-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 179, 217, 0.26);
  border-radius: 999px;
  background: #fff;
}

.nav-search input,
.mobile-search input {
  width: 210px;
  padding: 0.65rem 0.85rem;
  border: 0;
  outline: none;
  background: transparent;
}

.nav-search button,
.mobile-search button {
  height: 100%;
  padding: 0.65rem 1rem;
  color: #fff;
  border: 0;
  background: linear-gradient(90deg, var(--candy-rose), var(--candy-orange));
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 179, 217, 0.14);
}

.menu-button span {
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--candy-rose);
}

.mobile-panel {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 179, 217, 0.18);
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  display: flex;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255, 179, 217, 0.24);
  border-radius: 999px;
  background: #fff;
}

.mobile-search input {
  width: 100%;
}

.mobile-links {
  display: grid;
  max-width: 520px;
  margin-inline: auto;
  gap: 0.5rem;
}

.mobile-link {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.mobile-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--candy-rose), var(--candy-yellow), var(--candy-mint));
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  content: "";
  filter: blur(2px);
}

.hero::before {
  top: 4rem;
  left: 4vw;
  width: 220px;
  height: 220px;
  background: rgba(255, 179, 217, 0.26);
  animation: float 7s ease-in-out infinite;
}

.hero::after {
  right: 8vw;
  bottom: 4rem;
  width: 260px;
  height: 260px;
  background: rgba(168, 230, 206, 0.3);
  animation: float 8s ease-in-out infinite reverse;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  padding: 2rem;
  border-radius: 32px;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.8rem;
  color: var(--candy-rose);
  border-radius: 999px;
  background: rgba(255, 179, 217, 0.16);
  font-weight: 900;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 680px;
  margin: 1.3rem 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-tags a,
.movie-tags span,
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  color: var(--candy-rose);
  border-radius: 999px;
  background: rgba(255, 179, 217, 0.16);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(31, 41, 55, 0.18);
  opacity: 0;
  transform: translateX(30px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: #fff;
}

.hero-slide-content h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-slide-content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-mini-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-mini-list a {
  display: block;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.08);
}

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

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 179, 217, 0.28), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.64));
}

.page-hero p {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.85;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.45rem);
  line-height: 1;
}

.stat-card span {
  color: var(--text-soft);
  font-weight: 700;
}

.content-section {
  padding: 2.2rem 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-title div:first-child {
  display: grid;
  gap: 0.35rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 0;
  color: var(--text-soft);
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-yellow));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 141, 199, 0.3);
}

.section-more {
  color: var(--candy-rose);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(255, 179, 217, 0.3), rgba(168, 230, 206, 0.3));
}

.movie-card.compact .poster-link {
  aspect-ratio: 16 / 9;
}

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

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

.duration-badge,
.rating-badge {
  position: absolute;
  z-index: 1;
  padding: 0.26rem 0.5rem;
  color: #fff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
}

.duration-badge {
  right: 0.7rem;
  bottom: 0.7rem;
}

.rating-badge {
  left: 0.7rem;
  top: 0.7rem;
  background: rgba(255, 179, 0, 0.88);
}

.movie-card-body {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.movie-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  color: var(--text-main);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-title:hover {
  color: var(--candy-rose);
}

.movie-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.4em;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 800;
}

.movie-meta span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(168, 230, 206, 0.2);
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.horizontal-scroll {
  display: grid;
  grid-auto-columns: minmax(240px, 300px);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
  scroll-snap-align: start;
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 180px;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 179, 217, 0.22), rgba(255, 230, 109, 0.18), rgba(168, 230, 206, 0.22)),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.category-card h2,
.category-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.category-card p {
  margin: 0.5rem 0 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.category-count {
  align-self: end;
  color: var(--candy-rose);
  font-size: 1.6rem;
  font-weight: 900;
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  border-radius: 24px;
}

.filter-search {
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  overflow: hidden;
  border: 2px solid rgba(255, 179, 217, 0.24);
  border-radius: 999px;
  background: #fff;
}

.filter-search input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  outline: none;
}

.filter-search span {
  min-width: 88px;
  padding: 0.85rem 1rem;
  color: #fff;
  background: linear-gradient(90deg, var(--candy-rose), var(--candy-orange));
  text-align: center;
  font-weight: 900;
}

.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sort-buttons button {
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 230, 109, 0.24);
  color: #4b5563;
  font-weight: 900;
}

.sort-buttons button.active,
.sort-buttons button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange), var(--candy-yellow));
}

.ranking-list {
  display: grid;
  gap: 1rem;
}

.ranking-item {
  display: grid;
  grid-template-columns: 72px 180px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
}

.rank-number {
  color: #fff;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  font-size: 1.25rem;
  font-weight: 900;
}

.ranking-thumb {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
}

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

.ranking-content h2 {
  margin: 0 0 0.4rem;
  font-size: 1.22rem;
}

.ranking-content p {
  margin: 0 0 0.7rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.rank-heat {
  color: var(--candy-rose);
  font-weight: 900;
  white-space: nowrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  padding-top: 2rem;
}

.player-card,
.detail-card,
.related-card {
  overflow: hidden;
  border-radius: 28px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  background: #111827;
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: radial-gradient(circle at center, rgba(255, 179, 217, 0.2), rgba(0, 0, 0, 0.38));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay.hidden {
  visibility: hidden;
  opacity: 0;
}

.play-button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--candy-rose), var(--candy-orange));
  box-shadow: 0 16px 45px rgba(255, 141, 199, 0.38);
  font-size: 2rem;
}

.player-status {
  padding: 0.9rem 1rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.92);
}

.detail-card {
  margin-top: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--candy-rose);
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.detail-title-row h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
}

.category-pill {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--candy-rose), var(--candy-yellow));
  font-weight: 900;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0;
}

.detail-meta span {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(168, 230, 206, 0.22);
  color: #4b5563;
  font-weight: 800;
}

.detail-section {
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 179, 217, 0.22);
}

.detail-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.detail-section p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.9;
}

.side-list {
  display: grid;
  gap: 0.9rem;
}

.side-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.side-item img {
  width: 112px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.side-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.side-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.2rem;
  border-top: 1px solid rgba(255, 179, 217, 0.22);
  background: linear-gradient(135deg, rgba(255, 179, 217, 0.14), rgba(255, 230, 109, 0.08), rgba(168, 230, 206, 0.14));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-grid h2 {
  margin: 0 0 0.9rem;
  color: var(--candy-rose);
  font-size: 1.08rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.55rem;
  color: #4b5563;
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--candy-rose);
}

.footer-brand p,
.footer-keywords {
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-brand-line {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 179, 217, 0.22);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.search-results-empty {
  padding: 3rem;
  border-radius: 26px;
  text-align: center;
}

.index-list {
  columns: 4 220px;
  column-gap: 2rem;
  padding: 1.5rem;
  border-radius: 28px;
}

.index-list a {
  display: block;
  break-inside: avoid;
  padding: 0.42rem 0;
  color: #4b5563;
  font-weight: 700;
}

.index-list a:hover {
  color: var(--candy-rose);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

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

  .menu-button {
    display: flex;
  }

  .hero-shell,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

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

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

@media (max-width: 760px) {
  .section-container {
    width: min(100% - 22px, 1280px);
  }

  .hero {
    min-height: auto;
    padding: 2.2rem 0;
  }

  .hero-copy {
    padding: 1.2rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-mini-list,
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-title,
  .detail-title-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-item {
    grid-template-columns: 48px 112px 1fr;
  }

  .ranking-item .candy-button {
    grid-column: 1 / -1;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1rem;
  }

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