:root {
  --pink: #ec4899;
  --rose: #f43f5e;
  --rose-dark: #be123c;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fff1f2;
  --line: #ffe4e6;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px rgba(244, 63, 94, 0.16);
  --radius: 24px;
}

* {
  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: var(--ink);
  background: linear-gradient(180deg, #fff1f8 0%, #ffffff 38%, #fff7f9 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 248, 0.94), rgba(255, 255, 255, 0.94), rgba(255, 228, 230, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.08);
}

.header-inner {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.3);
  font-size: 15px;
}

.brand-name,
.footer-brand {
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #4b5563;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-dark);
  background: #ffe4ec;
  transform: translateY(-1px);
}

.header-search {
  width: min(310px, 24vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.header-search input,
.mobile-search input,
.quick-search input,
.page-search input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
  background: #ffffff;
  color: var(--ink);
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 9px 8px 9px 14px;
  border-radius: 999px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.quick-search button,
.page-search button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  padding: 9px 16px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ffe4ec;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose-dark);
}

.mobile-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 18px;
}

.mobile-search input {
  width: 100%;
  padding: 11px 12px;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

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

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(136, 19, 55, 0.64) 42%, rgba(17, 24, 39, 0.44) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.12);
  transform: scale(1.04);
}

.hero-backdrop {
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 55%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 650px;
  margin: 0 auto;
  padding: 74px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 56px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #fff7ed;
  background: rgba(244, 63, 94, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: #ffe4ec;
  font-size: 13px;
  font-weight: 800;
}

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

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.34);
}

.primary-btn:hover,
.ghost-btn:hover,
.category-tile:hover,
.movie-card:hover {
  transform: translateY(-3px);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-btn.light {
  color: var(--rose-dark);
  background: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #831843, #111827);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.66);
  transform: scale(1.06);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.quick-search-section,
.content-section,
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-search-section {
  margin-top: -48px;
  position: relative;
  z-index: 8;
}

.quick-search-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.quick-search-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quick-search,
.page-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
}

.quick-search input,
.page-search input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
}

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading a {
  flex: 0 0 auto;
  color: var(--rose-dark);
  background: #ffe4ec;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}

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

.small-grid,
.library-grid,
.category-movie-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(251, 207, 232, 0.72);
  box-shadow: 0 16px 38px rgba(244, 63, 94, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  box-shadow: 0 24px 58px rgba(244, 63, 94, 0.18);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ffe4ec, #f9a8d4);
}

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

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 42%, rgba(17, 24, 39, 0.72) 100%);
}

.cover-year,
.cover-type,
.rank-number {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.cover-year {
  left: 10px;
  bottom: 10px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.58);
}

.cover-type {
  right: 10px;
  top: 10px;
  color: var(--rose-dark);
  background: #ffffff;
}

.rank-number {
  left: 10px;
  top: 10px;
  min-width: 32px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--rose));
}

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

.movie-info h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.movie-info h3 a:hover {
  color: var(--rose-dark);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  background: #fff1f2;
  border-radius: 999px;
  padding: 4px 8px;
}

.movie-card-compact .movie-info {
  padding: 13px;
}

.movie-card-compact .movie-info p,
.movie-card-compact .movie-meta,
.movie-card-compact .tag-list {
  display: none;
}

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

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

.horizontal-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

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

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

.category-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, #fb7185, #db2777);
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, #f472b6, #be123c);
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.page-main {
  padding-top: 28px;
  padding-bottom: 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 22px;
  color: #9f1239;
  font-weight: 800;
  font-size: 14px;
}

.breadcrumb span {
  color: #9ca3af;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 44px;
  color: #ffffff;
  background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, #831843, var(--rose), var(--pink));
  box-shadow: var(--shadow);
}

.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.page-hero p,
.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

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

.category-overview-card {
  padding: 26px;
  border: 1px solid rgba(251, 207, 232, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(244, 63, 94, 0.1);
}

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

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

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

.category-overview-head a {
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.5fr));
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(251, 207, 232, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(244, 63, 94, 0.08);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #9f1239;
  font-weight: 900;
  font-size: 13px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #fbcfe8;
  border-radius: 14px;
}

.empty-state {
  display: none;
  margin: 26px 0 0;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border-radius: 22px;
}

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

.detail-main {
  max-width: 1180px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: #831843;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

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

.detail-poster span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.65);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

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

.player-section {
  margin-top: 36px;
  padding: 26px;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 24px 72px rgba(17, 24, 39, 0.25);
}

.compact-heading {
  color: #ffffff;
  margin-bottom: 18px;
}

.compact-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #831843, #111827 64%);
  cursor: pointer;
}

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

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.72));
  cursor: pointer;
}

.play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.42);
  font-size: 28px;
  padding-left: 4px;
}

.play-button strong {
  font-size: 18px;
}

.video-shell.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-top: 36px;
}

.detail-article,
.side-card {
  border: 1px solid rgba(251, 207, 232, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(244, 63, 94, 0.1);
}

.detail-article {
  padding: 34px;
}

.detail-article h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.detail-article h2:not(:first-child) {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #ffe4ec;
}

.detail-article p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 16px;
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.detail-meta-list div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff1f2;
}

.detail-meta-list dt {
  color: #9f1239;
  font-weight: 900;
}

.detail-meta-list dd {
  margin: 0;
  color: #374151;
}

.detail-meta-list a {
  color: var(--rose-dark);
  font-weight: 900;
}

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

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  padding: 22px;
}

.side-links,
.side-category {
  display: grid;
  gap: 10px;
}

.side-links a,
.side-category {
  padding: 12px 14px;
  border-radius: 16px;
  color: #9f1239;
  background: #fff1f2;
  font-weight: 800;
  line-height: 1.45;
}

.site-footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fff1f2);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.footer-links a {
  color: #9f1239;
  background: #ffe4ec;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

@media (max-width: 1160px) {
  .movie-grid,
  .small-grid,
  .library-grid,
  .category-movie-grid,
  .full-rank-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 54px;
    padding-bottom: 86px;
  }

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

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

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

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

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .mobile-panel,
  .quick-search-section,
  .content-section,
  .page-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .hero-arrow {
    display: none;
  }

  .quick-search,
  .page-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .quick-search button,
  .page-search button {
    width: 100%;
  }

  .section-heading,
  .category-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .small-grid,
  .library-grid,
  .category-movie-grid,
  .mini-grid,
  .rank-list,
  .full-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

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

  .page-hero,
  .detail-hero,
  .detail-article,
  .player-section {
    padding: 22px;
    border-radius: 24px;
  }

  .detail-meta-list {
    grid-template-columns: 1fr;
  }
}
