:root {
  --red-50: #fff1f2;
  --red-100: #ffe4e6;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 14px 40px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 42%, #fff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 4px solid var(--red-600);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  border: 0;
  color: var(--gray-700);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-600), var(--red-800));
  transition: width 0.24s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 44px;
  left: 0;
  width: 210px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-weight: 600;
}

.dropdown-panel a:hover {
  color: var(--red-600);
  background: linear-gradient(90deg, var(--red-50), var(--red-100));
}

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

.header-search input,
.mobile-panel input,
.filter-bar input,
.filter-bar select,
.search-box input {
  height: 42px;
  border: 2px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.search-box input:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.header-search button,
.mobile-panel button,
.search-box button,
.primary-button,
.secondary-button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.search-box button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.28);
}

.secondary-button {
  color: var(--red-700);
  background: rgba(255, 255, 255, 0.82);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--red-50);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid var(--gray-200);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  padding: 14px 0;
}

.mobile-panel .nav-link {
  display: block;
  height: auto;
  padding: 9px 0;
}

.mobile-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.main-shell,
.content-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24), transparent 26%), linear-gradient(135deg, var(--red-600), var(--red-800));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(0deg, var(--gray-50), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: 48px;
  align-items: center;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 25px);
}

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

.hero-slider {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateX(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-slide-info {
  padding: 22px;
  background: rgba(17, 24, 39, 0.66);
  backdrop-filter: blur(18px);
}

.hero-slide-info strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.hero-slide-info em {
  display: -webkit-box;
  margin: 8px 0 14px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-slide-info span {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-controls button,
.hero-dots button {
  border: 0;
  cursor: pointer;
}

.hero-controls button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--red-700);
  background: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 18px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.active {
  width: 28px;
  background: white;
}

.section {
  padding: 70px 0;
}

.section.tight {
  padding-top: 36px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title span {
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-600), var(--red-800));
}

.section-title h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-title p {
  margin: 10px 0 0;
  color: var(--gray-500);
}

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

.category-tile {
  position: relative;
  min-height: 154px;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(3n + 1) {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.category-tile:nth-child(3n + 2) {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
}

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

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.category-tile em {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.category-tile span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.filter-bar input {
  width: min(420px, 100%);
}

.filter-bar select {
  min-width: 150px;
}

.filter-note {
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.movie-grid.featured .poster-frame {
  aspect-ratio: 16 / 10;
}

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

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent);
}

.card-badge,
.card-rating {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.card-badge {
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  color: white;
  background: var(--red-600);
}

.card-rating {
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  color: #facc15;
  background: rgba(17, 24, 39, 0.76);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-body strong {
  overflow: hidden;
  color: var(--gray-800);
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-body em {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--gray-500);
  font-style: normal;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--gray-500);
  font-size: 12px;
}

.card-meta span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gray-100);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 76px 112px 1fr;
  min-height: 118px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  font-size: 30px;
  font-weight: 900;
}

.rank-row img {
  width: 112px;
  height: 118px;
  object-fit: cover;
}

.rank-info {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 14px;
}

.rank-info strong,
.rank-info em,
.rank-info small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  color: var(--gray-500);
  font-style: normal;
}

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

.cta-band {
  padding: 72px 0;
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
}

.cta-band .content-shell {
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: 58px 0 34px;
  color: white;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.24), transparent 24%), linear-gradient(135deg, var(--red-600), var(--red-800));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

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

.category-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 24px;
}

.category-card p {
  margin: 0 0 16px;
  color: var(--gray-500);
}

.category-card span {
  color: var(--red-600);
  font-weight: 900;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.player-box video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
  box-shadow: 0 20px 44px rgba(220, 38, 38, 0.38);
}

.player-overlay span::before {
  content: "";
  margin-left: 6px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid white;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  pointer-events: none;
}

.player-box.is-playing .player-status {
  display: none;
}

.detail-card,
.side-card {
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

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

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

.detail-card p {
  margin: 0 0 18px;
  color: var(--gray-700);
}

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

.meta-list span {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 14px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 13px;
}

.meta-list strong {
  color: var(--gray-800);
  font-size: 15px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}

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

.side-card {
  padding: 20px;
}

.side-poster {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  background: var(--gray-100);
}

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

.side-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.side-stat span {
  padding: 12px;
  border-radius: 14px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 13px;
}

.side-stat strong {
  display: block;
  color: var(--gray-800);
  font-size: 18px;
}

.related-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.related-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: var(--gray-50);
  transition: background 0.2s ease;
}

.related-item:hover {
  background: var(--red-50);
}

.related-item img {
  width: 76px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
}

.related-item strong,
.related-item em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.related-item em {
  color: var(--gray-500);
  font-style: normal;
  font-size: 13px;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
}

.search-box input {
  height: 48px;
}

.search-box button {
  height: 48px;
  padding: 0 28px;
}

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

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

.site-footer {
  margin-top: 70px;
  color: white;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.6fr;
  gap: 34px;
}

.footer-brand p,
.footer-links a {
  color: rgba(255, 255, 255, 0.64);
}

.footer-links h3 {
  margin: 0 0 12px;
  color: var(--red-500);
}

.footer-links a {
  display: block;
  margin: 7px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.compact .brand-mark {
  width: 34px;
  height: 34px;
}

.compact .brand-text strong {
  color: white;
  background: none;
  -webkit-text-fill-color: initial;
}

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

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 54px 0 96px;
  }

  .hero-slider {
    min-height: 430px;
  }

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

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

  .side-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .category-grid,
  .category-overview,
  .movie-grid.featured,
  .rank-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

  .hero-inner {
    padding: 48px 0 94px;
    gap: 30px;
  }

  .hero-slider {
    min-height: 390px;
  }

  .hero-slide img {
    height: 250px;
  }

  .category-grid,
  .category-overview,
  .movie-grid,
  .movie-grid.featured,
  .rank-grid,
  .footer-inner,
  .footer-category-grid,
  .side-card {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 58px 92px 1fr;
  }

  .rank-row img {
    width: 92px;
  }

  .filter-bar {
    display: grid;
  }

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

  .meta-list,
  .side-stat {
    grid-template-columns: 1fr;
  }
}
