:root {
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --rose-500: #f43f5e;
  --orange-500: #f97316;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--gray-50);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(254, 202, 202, 0.75);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--rose-500));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.28);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: rotate(12deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  color: var(--gray-800);
}

.brand-text small {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-600);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.header-search input,
.mobile-search input {
  width: 220px;
  border: 0;
  outline: 0;
  padding: 9px 8px 9px 14px;
  color: var(--gray-700);
  background: transparent;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: var(--white);
  background: var(--red-600);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover {
  background: var(--red-700);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--red-50);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-800);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  padding: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
}

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

.mobile-link {
  display: block;
  padding: 12px 4px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--red-600);
}

.hero-section {
  position: relative;
  min-height: 720px;
  padding-top: 96px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 42%, #fdf2f8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(239, 68, 68, 0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 68, 68, 0.10) 1px, transparent 1px);
  background-size: 60px 60px;
}

.float-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.46;
  animation: floatY 4.8s ease-in-out infinite;
}

.orb-a {
  width: 86px;
  height: 86px;
  top: 132px;
  left: 7%;
  background: rgba(239, 68, 68, 0.20);
}

.orb-b {
  width: 116px;
  height: 116px;
  right: 12%;
  bottom: 118px;
  background: rgba(244, 63, 94, 0.18);
  animation-delay: 0.8s;
}

.orb-c {
  width: 66px;
  height: 66px;
  top: 220px;
  right: 28%;
  background: rgba(249, 115, 22, 0.18);
  animation-delay: 1.3s;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.hero-grid {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 56px;
}

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

.hero-badge,
.page-hero span,
.section-heading span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--red-600);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(254, 202, 202, 0.9);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hero-copy h1 {
  margin: 22px 0;
  color: var(--gray-800);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--gray-600);
  font-size: 19px;
}

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

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--rose-500));
}

.btn-light {
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-quick-links a {
  padding: 9px 14px;
  color: var(--red-700);
  background: rgba(254, 226, 226, 0.75);
  border: 1px solid rgba(254, 202, 202, 0.9);
  border-radius: 999px;
  font-weight: 700;
}

.hero-gallery {
  position: relative;
  height: 540px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px;
  background: var(--gray-900);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(34px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05) 0%, rgba(17, 24, 39, 0.30) 46%, rgba(17, 24, 39, 0.88) 100%);
}

.hero-slide-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 34px;
  color: var(--white);
}

.hero-slide-content span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #fecaca;
  font-weight: 700;
}

.hero-slide-content h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.hero-slide-content p {
  margin: 0 0 20px;
  color: #fee2e2;
}

.hero-slide-content a {
  display: inline-flex;
  color: var(--red-700);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 32px;
  background: var(--white);
}

.section {
  padding: 74px 0;
}

.white-section {
  background: var(--white);
}

.soft-section {
  background: var(--gray-50);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.page-hero h1 {
  margin: 14px 0 10px;
  color: var(--gray-800);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-200);
}

.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);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.9;
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(220, 38, 38, 0.90);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  color: var(--white);
  background: rgba(17, 24, 39, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--red-600);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 3px 8px;
  background: var(--red-50);
  border-radius: 999px;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.compact-card h3 a:hover {
  color: var(--red-600);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.feature-band {
  padding: 34px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--rose-500), var(--orange-500));
}

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

.feature-grid div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 22px;
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  font-size: 22px;
}

.feature-grid span {
  color: #fee2e2;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  background: var(--gray-900);
}

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

.category-tile:hover img {
  transform: scale(1.1);
}

.category-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.10) 0%, rgba(17, 24, 39, 0.84) 100%);
}

.category-tile strong,
.category-tile em {
  position: absolute;
  right: 18px;
  left: 18px;
  z-index: 2;
  color: var(--white);
  font-style: normal;
}

.category-tile strong {
  bottom: 60px;
  font-size: 24px;
}

.category-tile em {
  bottom: 20px;
  display: -webkit-box;
  overflow: hidden;
  color: #fee2e2;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.ranking-list,
.mini-grid,
.ranking-page-list {
  display: grid;
  gap: 14px;
}

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

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.rank-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.compact-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--gray-200);
}

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

.compact-card h3 {
  margin: 0 0 5px;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.25;
}

.compact-card p,
.compact-card span {
  display: block;
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red-600);
  font-weight: 800;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  padding: 76px 0 58px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--rose-500), var(--orange-500));
}

.page-hero span {
  color: var(--red-700);
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: #fee2e2;
}

.page-actions {
  margin-top: 24px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-overview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

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

.category-overview-card p {
  color: var(--gray-600);
}

.category-overview-card span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red-600);
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 0.7fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.empty-state {
  display: none;
  padding: 42px;
  color: var(--gray-600);
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--gray-200);
  border-radius: 24px;
}

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

.detail-main {
  background: var(--gray-50);
}

.detail-hero {
  padding: 104px 0 58px;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(254, 202, 202, 0.25), transparent 36%), linear-gradient(135deg, #111827, #7f1d1d 55%, #f97316);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: #fecaca;
  font-size: 14px;
}

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

.breadcrumb em {
  color: var(--white);
  font-style: normal;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.player-card,
.detail-info-card,
.article-card,
.side-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.player-card {
  padding: 12px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #020617;
  border-radius: 22px;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--rose-500));
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.36);
  font-size: 32px;
}

.player-overlay strong {
  max-width: min(80%, 640px);
  font-size: clamp(20px, 3vw, 36px);
  text-align: center;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  color: var(--gray-800);
}

.detail-poster {
  overflow: hidden;
  align-self: start;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: var(--gray-200);
}

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

.detail-copy h1 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
}

.detail-copy p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-meta span {
  color: var(--red-700);
  background: var(--red-50);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 13px;
}

.detail-tags {
  margin-bottom: 20px;
}

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

.article-card,
.side-card {
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.article-card {
  padding: 32px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: 24px;
}

.article-card p {
  margin: 0 0 28px;
  color: var(--gray-600);
  font-size: 17px;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.side-card {
  padding: 26px;
  align-self: start;
}

.side-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.side-card dt {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.side-card dd {
  margin: -8px 0 6px;
  color: var(--gray-800);
}

.site-footer {
  background: linear-gradient(180deg, #fff7f7, var(--white));
  border-top: 1px solid var(--red-100);
}

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

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  color: var(--gray-600);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 18px;
}

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

.footer-links a {
  color: var(--gray-600);
}

.footer-links a:hover {
  color: var(--red-600);
}

.footer-bottom {
  padding: 18px 0 24px;
  color: var(--gray-500);
  text-align: center;
  border-top: 1px solid var(--red-100);
  font-size: 14px;
}

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

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid,
  .two-column,
  .detail-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    height: 480px;
  }

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

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

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

  .hero-section {
    padding-top: 86px;
  }

  .hero-grid {
    gap: 28px;
    min-height: auto;
    padding: 48px 0;
  }

  .hero-gallery {
    height: 420px;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .ranking-page-list,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .category-overview-card img {
    height: 240px;
  }

  .detail-info-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .player-frame {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 68px;
  }

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

  .brand-icon {
    width: 36px;
    height: 36px;
  }

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

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

  .hero-gallery {
    height: 380px;
  }

  .hero-slide {
    border-width: 6px;
    border-radius: 24px;
  }

  .hero-slide-content {
    padding: 24px;
  }

  .section {
    padding: 52px 0;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .ranking-page-list,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .compact-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .detail-info-card {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: 170px;
  }

  .play-circle {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}
