* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: linear-gradient(180deg, #ecfeff 0%, #ffffff 42%, #f0fdfa 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 54%, #3b82f6 100%);
  box-shadow: 0 14px 34px rgba(8, 145, 178, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ccfbf1;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
}

.dropdown-panel a:hover {
  color: #0f766e;
  background: #f0fdfa;
}

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

.header-search {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.header-search input,
.mobile-search input,
.page-search-box input {
  border: 0;
  outline: 0;
}

.header-search input {
  width: 210px;
  padding: 8px 10px;
  color: #ffffff;
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.mobile-search button,
.page-search-box button {
  border: 0;
  border-radius: 999px;
  color: #0f766e;
  background: #ffffff;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  padding: 8px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.page-search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.mobile-menu-button {
  display: none;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
}

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

.mobile-nav nav {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile-search button {
  padding: 12px 16px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.62) 46%, rgba(20, 184, 166, 0.3) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 46px;
  height: 100%;
  color: #ffffff;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-kicker {
  color: #ffffff;
  background: rgba(20, 184, 166, 0.78);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 16px 0 8px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-copy h1 + h2 {
  margin-top: 0;
  color: #a7f3d0;
  font-size: clamp(22px, 3vw, 36px);
}

.hero-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #e5e7eb;
  font-size: 17px;
  line-height: 1.8;
}

.hero-tags,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.34);
}

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

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #0f766e, #0891b2);
}

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

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

.hero-poster span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 36px;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

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

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

.channel-strip,
.section-block,
.ranking-panel,
.horizontal-section,
.page-hero,
.detail-layout,
.breadcrumb-line {
  margin-top: 42px;
}

.channel-strip {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 55px rgba(14, 116, 144, 0.12);
  backdrop-filter: blur(12px);
}

.channel-strip h2,
.section-heading h2,
.page-hero h1,
.detail-card h1 {
  margin: 8px 0 0;
  color: #111827;
  letter-spacing: -0.03em;
}

.channel-strip p,
.page-hero p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

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

.channel-links a {
  padding: 10px 15px;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease;
}

.channel-links a:hover {
  background: #99f6e4;
  transform: translateY(-2px);
}

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

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

.section-heading > a {
  color: #0f766e;
  font-weight: 800;
}

.light-heading h2,
.light-heading a,
.ranking-panel .section-kicker {
  color: #ffffff;
}

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f766e, #0891b2);
}

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

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

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-body strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
}

.card-desc {
  min-height: 42px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.card-meta span {
  padding: 5px 9px;
  color: #0f766e;
  background: #ccfbf1;
}

.card-tags {
  overflow: hidden;
  color: #94a3b8;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-panel {
  padding: 30px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  box-shadow: 0 24px 60px rgba(8, 145, 178, 0.22);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 116px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

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

.rank-cover {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f766e, #0891b2);
}

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

.rank-item:hover .rank-cover img {
  transform: scale(1.08);
}

.rank-content {
  min-width: 0;
}

.rank-content a {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-content a:hover {
  color: #0f766e;
}

.rank-content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-content div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.masonry-grid {
  columns: 3 260px;
  column-gap: 22px;
}

.masonry-grid .movie-card {
  break-inside: avoid;
  margin-bottom: 22px;
}

.horizontal-section {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ccfbf1, #cffafe);
}

.horizontal-scroll {
  display: grid;
  grid-auto-columns: 310px;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.subpage-main {
  padding-bottom: 20px;
}

.page-hero {
  padding: 38px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(14, 116, 144, 0.12);
  backdrop-filter: blur(12px);
}

.compact-hero {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  color: #ffffff;
}

.compact-hero .section-kicker {
  color: #0f766e;
  background: #ffffff;
}

.compact-hero h1,
.compact-hero p {
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a {
  color: #0f766e;
  font-weight: 750;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.category-overview-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.category-card-head span {
  color: #111827;
  font-size: 22px;
  font-weight: 850;
}

.category-card-head a {
  color: #0f766e;
  font-weight: 800;
}

.category-overview-card p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.7;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.page-search-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  color: #1f2937;
  background: #f8fafc;
}

.filter-panel input:focus,
.filter-panel select:focus,
.page-search-box input:focus {
  border-color: #14b8a6;
  outline: 3px solid rgba(20, 184, 166, 0.14);
}

.empty-state {
  display: none;
  margin-top: 18px;
  padding: 28px;
  border-radius: 18px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
}

.empty-state.is-visible {
  display: block;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

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

.video-player video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.player-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.05));
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-player.is-playing .player-shade,
.video-player.is-playing .player-play {
  opacity: 0;
  pointer-events: none;
}

.player-play {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 30px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.player-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  padding: 24px;
  color: #ffffff;
  text-align: center;
  background: rgba(2, 6, 23, 0.84);
}

.player-error.is-visible {
  display: grid;
}

.player-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.player-controls button {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.62);
  cursor: pointer;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.player-controls button:hover {
  background: rgba(20, 184, 166, 0.84);
}

.detail-card {
  margin-top: 22px;
  padding: 28px;
}

.detail-card h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.detail-card h2,
.side-card h2 {
  margin: 28px 0 12px;
  color: #111827;
  font-size: 22px;
}

.detail-card p {
  color: #475569;
  font-size: 16px;
  line-height: 1.85;
}

.lead-text {
  color: #0f766e !important;
  font-size: 19px !important;
  font-weight: 750;
}

.detail-meta {
  margin: 16px 0 24px;
}

.detail-meta span {
  padding: 8px 12px;
  color: #0f766e;
  background: #ccfbf1;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-cloud span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #334155;
  background: #f1f5f9;
  font-size: 14px;
}

.review-box {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

.review-box p {
  margin: 0;
}

.detail-side {
  position: sticky;
  top: 92px;
}

.side-card {
  padding: 20px;
}

.side-card h2 {
  margin-top: 0;
}

.compact-rank .rank-item {
  grid-template-columns: 86px 1fr;
}

.compact-rank .rank-number {
  display: none;
}

.compact-rank .rank-cover {
  width: 86px;
}

.page-search-box {
  max-width: 680px;
  margin-top: 22px;
}

.page-search-box button {
  padding: 13px 22px;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 44px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 19px;
}

.site-footer p,
.site-footer li {
  color: #cbd5e1;
  line-height: 1.75;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  text-align: center;
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr 220px;
  }

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

  .rank-grid,
  .rank-section .rank-list,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

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

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

  .hero-slider {
    height: 620px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 62px;
  }

  .hero-poster {
    width: 210px;
    justify-self: start;
  }

  .hero-control {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .hero-prev {
    left: 16px;
  }

  .hero-next {
    right: 16px;
  }

  .channel-strip,
  .filter-panel,
  .category-overview-grid,
  .category-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    grid-template-columns: 42px 96px 1fr;
  }

  .page-hero,
  .detail-card,
  .ranking-panel,
  .horizontal-section {
    padding: 22px;
  }
}

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

  .hero-copy p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .rank-item,
  .compact-rank .rank-item {
    grid-template-columns: 82px 1fr;
  }

  .rank-number {
    display: none;
  }

  .rank-cover {
    width: 82px;
  }

  .horizontal-scroll {
    grid-auto-columns: 82vw;
  }
}
