:root {
  --pink-50: #fff1f7;
  --pink-100: #ffe4ef;
  --pink-200: #ffc8df;
  --pink-400: #fb4d93;
  --pink-500: #ec2674;
  --red-500: #ef4444;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --yellow-400: #facc15;
  --gray-50: #fafafa;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(236, 38, 116, 0.10);
  --shadow-md: 0 18px 45px rgba(31, 41, 55, 0.14);
  --shadow-lg: 0 30px 80px rgba(31, 41, 55, 0.22);
  --radius-md: 18px;
  --radius-lg: 26px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 38%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 200, 223, 0.7);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--gray-900);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
  box-shadow: 0 12px 28px rgba(236, 38, 116, 0.32);
}

.brand-text {
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--pink-500);
  background: var(--pink-50);
}

.header-search,
.mobile-search,
.wide-search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-search input,
.wide-search input {
  border: 2px solid var(--pink-200);
  background: var(--white);
  color: var(--gray-800);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(251, 77, 147, 0.14);
}

.header-search input {
  width: 220px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.header-search button,
.mobile-search button,
.wide-search button,
.primary-button,
.secondary-button,
.rank-more {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.wide-search button,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
  box-shadow: 0 12px 28px rgba(236, 38, 116, 0.28);
}

.header-search button,
.mobile-search button {
  height: 42px;
  padding: 0 18px;
}

.header-search button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.rank-more:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--pink-50);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--pink-500);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.mobile-panel.open {
  display: grid;
  gap: 10px;
}

.mobile-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 16px;
}

.mobile-link {
  display: block;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500) 56%, var(--orange-400));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 32%), linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-400));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.38) 52%, rgba(17, 24, 39, 0.12)), linear-gradient(0deg, rgba(17, 24, 39, 0.56), rgba(17, 24, 39, 0.08));
}

.hero-content {
  position: relative;
  width: min(100% - 32px, var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(100% - 32px, var(--max-width));
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #ffe4ef;
  margin-bottom: 18px;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 24px;
  color: #ffe4ef;
  font-size: 19px;
  line-height: 1.85;
}

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

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

.primary-button,
.secondary-button,
.rank-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: min(100% - 32px, var(--max-width));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

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

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

.hero-dot.active {
  width: 28px !important;
  border-radius: 999px !important;
  background: var(--white) !important;
}

.quick-search-panel,
.content-section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.quick-search-panel {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.quick-search-inner h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.eyebrow {
  color: var(--pink-500);
}

.wide-search input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: 18px;
}

.wide-search button {
  min-width: 130px;
  height: 56px;
  padding: 0 24px;
}

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

.soft-section {
  padding-top: 64px;
}

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

.section-heading h2 {
  margin: 6px 0 0;
  color: var(--gray-900);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--pink-500);
  font-weight: 900;
}

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

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

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

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

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-200), var(--orange-400));
}

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

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

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(236, 38, 116, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  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;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--yellow-400), var(--orange-500));
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
}

.movie-card-body {
  padding: 18px;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--pink-500);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-card p {
  margin: 0 0 14px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}

.tag-row span {
  color: var(--pink-500);
  background: var(--pink-50);
}

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

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

.category-tile {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-400));
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

.category-tile:hover img {
  opacity: 0.38;
  transform: scale(1.05);
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 1;
}

.category-tile span {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.category-tile p {
  max-width: 270px;
  margin: 0;
  color: #ffe4ef;
  line-height: 1.7;
}

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

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.rank-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.rank-title span {
  font-size: 30px;
}

.rank-title h2 {
  margin: 0;
  font-size: 26px;
  color: var(--gray-900);
}

.rank-list {
  display: grid;
}

.rank-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.rank-item span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--yellow-400), var(--orange-500));
  font-weight: 900;
}

.rank-item strong {
  display: block;
  color: var(--gray-900);
  line-height: 1.35;
}

.rank-item small {
  color: var(--gray-500);
}

.rank-more {
  width: 100%;
  margin-top: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
}

.page-hero {
  width: min(100% - 32px, var(--max-width));
  margin: 34px auto 0;
  border-radius: 34px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 28%), linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-400));
  box-shadow: var(--shadow-md);
}

.small-hero {
  padding: 54px;
}

.page-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #ffe4ef;
  font-size: 18px;
  line-height: 1.8;
}

.page-search {
  max-width: 760px;
  margin-top: 26px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
}

.empty-result {
  display: none;
  padding: 42px;
  text-align: center;
  border-radius: 28px;
  color: var(--gray-500);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.empty-result.show {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), #321027 52%, var(--red-500));
}

.detail-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-400));
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: blur(2px);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.46));
}

.detail-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
  color: #ffe4ef;
  font-size: 14px;
}

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

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

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--pink-500), var(--orange-400));
  box-shadow: var(--shadow-lg);
}

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

.detail-info h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.detail-lead {
  max-width: 840px;
  margin: 0 0 22px;
  color: #ffe4ef;
  font-size: 19px;
  line-height: 1.85;
}

.detail-meta span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-tags {
  margin: 18px 0 28px;
}

.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.watch-section {
  width: min(100% - 32px, var(--max-width));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #000000;
  box-shadow: var(--shadow-lg);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(236, 38, 116, 0.28), rgba(0, 0, 0, 0.46));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover span {
  width: 92px;
  height: 92px;
  padding-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.story-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.story-card h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
  font-size: 16px;
}

.site-footer {
  margin-top: 80px;
  color: #ffe4ef;
  background: linear-gradient(135deg, #2b1026, #6f123f 48%, #c2410c);
}

.footer-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 46px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 32px;
}

.footer-brand {
  color: var(--white);
  font-size: 22px;
}

.footer-inner p {
  max-width: 560px;
  margin: 14px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

@media (max-width: 880px) {
  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-slider {
    height: 640px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-controls {
    justify-content: center;
  }

  .quick-search-inner,
  .footer-inner,
  .detail-layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 100%);
  }

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

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
    width: min(100% - 22px, var(--max-width));
  }

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

  .hero-slider {
    height: 680px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max-width));
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-tags span {
    font-size: 12px;
  }

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

  .wide-search button {
    width: 100%;
  }

  .quick-search-panel,
  .content-section,
  .page-hero,
  .watch-section,
  .detail-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, var(--max-width));
  }

  .quick-search-inner,
  .small-hero,
  .story-card {
    padding: 22px;
    border-radius: 24px;
  }

  .content-section {
    padding-top: 46px;
  }

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

  .movie-grid,
  .mini-grid,
  .all-grid,
  .ranking-grid,
  .category-grid,
  .large-category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card.compact .poster-link {
    aspect-ratio: 2 / 3;
  }

  .detail-info h1 {
    font-size: 38px;
  }

  .player-cover span {
    width: 74px;
    height: 74px;
    font-size: 28px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
