:root {
  --color-red: #dc2626;
  --color-red-dark: #b91c1c;
  --color-orange: #ea580c;
  --color-yellow: #f59e0b;
  --color-ink: #111827;
  --color-muted: #6b7280;
  --color-soft: #f8fafc;
  --color-border: #e5e7eb;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #ffffff;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.nav-shell {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
}

.brand-name {
  font-size: 23px;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.main-nav a {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-red);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.header-search input {
  width: 210px;
  border: 0;
  outline: none;
  padding: 10px 14px 10px 18px;
}

.header-search button {
  border: 0;
  color: #ffffff;
  background: var(--color-red);
  padding: 10px 18px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  padding: 10px 15px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 14px 24px 20px;
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.mobile-nav a {
  padding: 12px 0;
  font-weight: 700;
  color: #374151;
}

.mobile-nav form {
  display: flex;
  gap: 8px;
}

.mobile-nav input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
}

.mobile-nav button {
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-red);
  padding: 12px 16px;
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px) brightness(0.32);
  transform: scale(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 38%, rgba(234, 88, 12, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.66) 45%, rgba(17, 24, 39, 0.24));
}

.hero-inner {
  position: absolute;
  inset: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0 0 22px;
  max-width: 660px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.7;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 13px;
  font-weight: 700;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  font-size: 13px;
}

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

.btn-primary,
.btn-ghost,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: var(--color-red);
  padding: 15px 26px;
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.28);
}

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

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

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

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

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

.hero-dots button.is-active {
  width: 36px;
  background: #ffffff;
}

.section-block {
  padding: 76px 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-white {
  background: #ffffff;
}

.section-soft,
.page-main {
  background: linear-gradient(180deg, #f9fafb, #ffffff);
}

.section-red {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
}

.section-dark {
  color: #ffffff;
  background: #111827;
}

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

.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading a {
  color: var(--color-red);
  font-weight: 800;
}

.inline-heading {
  display: block;
}

.light-heading h2,
.light-heading a {
  color: var(--color-ink);
}

.dark-heading h2,
.dark-heading a {
  color: #ffffff;
}

.quick-search-section {
  position: relative;
  margin-top: -42px;
  z-index: 6;
  padding: 0 0 36px;
}

.quick-search-box {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px 26px;
  align-items: center;
}

.quick-search-box h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.big-search {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 18px 20px;
  font-size: 16px;
}

.big-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  padding: 0 28px;
  font-weight: 800;
  cursor: pointer;
}

.category-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pills a {
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  padding: 10px 15px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-pills a:hover {
  color: #ffffff;
  background: var(--color-red);
}

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

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

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

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

.poster-link,
.poster-wrap {
  display: block;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
  box-shadow: var(--shadow-soft);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.score-badge,
.type-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

.score-badge {
  top: 12px;
  right: 12px;
  background: var(--color-yellow);
  padding: 7px 9px;
}

.type-badge {
  left: 12px;
  bottom: 12px;
  background: rgba(17, 24, 39, 0.72);
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}

.movie-card-body {
  padding: 14px 4px 0;
}

.movie-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a {
  transition: color 0.2s ease;
}

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

.meta-line {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.card-desc {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
  font-size: 14px;
}

.featured-card {
  position: relative;
}

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

.ranking-panel {
  position: sticky;
  top: 92px;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(180deg, #111827, #1f2937);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.ranking-head span {
  color: var(--color-orange);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ranking-head h2 {
  margin: 6px 0 20px;
  font-size: 30px;
}

.ranking-panel ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-panel li a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: #facc15;
  text-align: right;
  font-weight: 900;
}

.panel-link {
  width: 100%;
  margin-top: 20px;
  color: #ffffff;
  background: var(--color-red);
  padding: 13px 18px;
}

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

.category-showcase a {
  border: 1px solid rgba(220, 38, 38, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.category-showcase span {
  color: #6b7280;
  line-height: 1.6;
}

.wide-card .poster-wrap img {
  aspect-ratio: 16 / 10;
}

.section-dark .movie-card h3,
.section-dark .movie-card h3 a {
  color: #ffffff;
}

.section-dark .meta-line,
.section-dark .card-desc {
  color: #cbd5e1;
}

.page-main {
  min-height: 60vh;
  padding: 34px 0 72px;
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto 36px;
  padding: 50px 24px 30px;
}

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

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

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

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

.category-card a {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.category-covers img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.category-card-body {
  padding: 22px;
}

.category-card-body h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card-body p {
  min-height: 56px;
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.7;
}

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

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

.ranking-card a {
  display: grid;
  grid-template-columns: 54px 76px minmax(0, 1fr) 70px;
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  background: #ffffff;
  padding: 14px 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ranking-index {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  font-weight: 900;
}

.ranking-card img {
  width: 76px;
  height: 104px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ranking-info strong {
  font-size: 20px;
}

.ranking-info em,
.ranking-info small {
  color: #6b7280;
  font-style: normal;
  line-height: 1.5;
}

.ranking-rate {
  color: var(--color-yellow);
  font-size: 24px;
  font-weight: 900;
  text-align: right;
}

.search-panel {
  margin-bottom: 28px;
}

.filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 160px 100px;
  gap: 12px;
  border-radius: 24px;
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.filter-form input,
.filter-form select,
.filter-form button {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  padding: 13px 14px;
  outline: none;
}

.filter-form button {
  color: #ffffff;
  border-color: var(--color-red);
  background: var(--color-red);
  font-weight: 800;
  cursor: pointer;
}

.search-empty {
  display: none;
  border-radius: 18px;
  background: #fff7ed;
  color: #9a3412;
  padding: 18px;
  margin-bottom: 22px;
  font-weight: 800;
}

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

.watch-layout {
  max-width: 1280px;
  margin: 26px auto 34px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.player-card,
.movie-info-panel,
.detail-section {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-large {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.35);
}

.movie-info-panel {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.movie-info-panel > img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.movie-info-panel h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.75;
}

.movie-info-panel .detail-meta span {
  color: #374151;
  background: #f3f4f6;
}

.movie-info-panel .detail-tags span {
  color: var(--color-red-dark);
  border-color: #fecaca;
  background: #fef2f2;
}

.detail-section {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 30px;
}

.detail-section h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.detail-section p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  background: #f9fafb;
  padding: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-2px);
  background: #fef2f2;
}

.compact-card img {
  width: 74px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.compact-card strong {
  line-height: 1.35;
}

.compact-card em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
  padding: 44px 0;
}

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

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
}

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

.footer-links a {
  color: #ffffff;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fb923c;
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .latest-grid,
  .category-movie-grid,
  .search-grid,
  .category-showcase,
  .compact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-layout,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .nav-shell {
    height: 64px;
    padding: 0 16px;
  }

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

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

  .hero-slider {
    height: 680px;
  }

  .hero-inner {
    padding: 48px 18px 72px;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 24px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .quick-search-box {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 20px;
  }

  .big-search {
    display: grid;
  }

  .big-search button {
    padding: 14px 18px;
  }

  .section-block {
    padding: 54px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 10px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .latest-grid,
  .category-movie-grid,
  .search-grid,
  .category-showcase,
  .category-grid,
  .compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-card h3 {
    font-size: 16px;
  }

  .card-desc {
    display: none;
  }

  .ranking-card a {
    grid-template-columns: 42px 58px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-card img {
    width: 58px;
    height: 78px;
  }

  .ranking-rate {
    grid-column: 3;
    text-align: left;
    font-size: 18px;
  }

  .ranking-info small {
    display: none;
  }

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

  .watch-layout,
  .section-inner,
  .page-hero,
  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-info-panel {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .movie-info-panel h1 {
    font-size: 24px;
  }

  .detail-section {
    margin-left: 16px;
    margin-right: 16px;
    padding: 22px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .latest-grid,
  .category-movie-grid,
  .search-grid,
  .category-showcase,
  .category-grid,
  .compact-list {
    grid-template-columns: 1fr;
  }

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

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

  .compact-card img {
    width: 66px;
    height: 90px;
  }
}
