:root {
  --blue: #2563eb;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --yellow: #fde047;
  --slate: #0f172a;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(3deg);
}

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

.brand-text strong {
  font-size: 20px;
  color: #1f2937;
}

.brand-text small {
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
}

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

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

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

.nav-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.34);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #334155;
  background: #f1f5f9;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid #e2e8f0;
}

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

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4, #14b8a6);
}

.hero::after,
.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 25%), radial-gradient(circle at 80% 10%, rgba(253, 224, 71, 0.22), transparent 24%), radial-gradient(circle at 60% 90%, rgba(255, 255, 255, 0.13), transparent 26%);
}

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

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

.hero-backdrop,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 54px;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero h2 {
  margin: 0 0 16px;
  color: #fef3c7;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 900;
}

.hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.36);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: translateY(-6px) rotate(0deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

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

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

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

.light-section {
  background: linear-gradient(180deg, #f8fafc, #eef7ff);
}

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

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.page-hero h1,
.player-layout h2,
.content-panel h2,
.side-recommend h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-head p,
.page-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-more {
  color: var(--blue);
  font-weight: 900;
}

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

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

.category-card a {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.18);
}

.category-card h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 950;
}

.category-card p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.category-samples {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.category-samples a {
  min-height: auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.category-glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.tone-red a,
.page-hero.tone-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.tone-blue a,
.page-hero.tone-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-cyan a,
.page-hero.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #14b8a6);
}

.tone-green a,
.page-hero.tone-green {
  background: linear-gradient(135deg, #16a34a, #10b981);
}

.tone-pink a,
.page-hero.tone-pink {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.tone-purple a,
.page-hero.tone-purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.tone-amber a,
.page-hero.tone-amber {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tone-indigo a,
.page-hero.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.tone-teal a,
.page-hero.tone-teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.tone-orange a,
.page-hero.tone-orange {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
}

.movie-year,
.movie-type {
  position: absolute;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}

.movie-year {
  left: 10px;
}

.movie-type {
  right: 10px;
}

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

.movie-card h3 {
  min-height: 48px;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
}

.movie-card h3 a:hover,
.rank-card h2 a:hover {
  color: var(--blue);
}

.movie-card p {
  min-height: 62px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.movie-meta {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

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

.wide-panel,
.rank-panel,
.content-panel,
.side-recommend {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.wide-panel {
  padding: 24px;
}

.rank-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.rank-panel-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rank-panel-head h2 {
  margin: 2px 0 18px;
  font-size: 30px;
  line-height: 1.15;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rank-num {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-title {
  overflow: hidden;
  color: #0f172a;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.full-btn {
  width: 100%;
  margin-top: 20px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4, #14b8a6);
}

.compact-hero {
  min-height: 320px;
}

.rank-hero {
  min-height: 360px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8, #06b6d4);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 78px 0;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
}

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

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

.quick-links a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.13);
}

.quick-links a.current {
  background: rgba(255, 255, 255, 0.28);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-bar.expanded {
  grid-template-columns: minmax(0, 1fr) 180px 180px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  outline: none;
  color: #0f172a;
  background: #f8fafc;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.empty-state {
  display: none;
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 18px;
  color: #475569;
  text-align: center;
  background: #f8fafc;
}

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

.rank-list-page {
  display: grid;
  gap: 18px;
}

.rank-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rank-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.rank-poster span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-card h2 {
  margin: 4px 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.rank-card p {
  margin: 0 0 12px;
  color: #64748b;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 60px 0;
}

.detail-poster {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.36);
}

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

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-info p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.player-layout h2,
.side-recommend h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.player-stage {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #020617;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.78));
  cursor: pointer;
}

.player-stage.is-playing .player-cover {
  display: none;
}

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.4);
}

.player-cover strong {
  max-width: 78%;
  font-size: 24px;
  line-height: 1.3;
}

.player-intro {
  margin: 16px 0 0;
  color: #475569;
  font-size: 16px;
}

.side-recommend {
  padding: 22px;
}

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

.side-links a {
  padding: 12px 14px;
  border-radius: 14px;
  color: #0f172a;
  font-weight: 850;
  background: #f8fafc;
  transition: color 0.2s ease, background 0.2s ease;
}

.side-links a:hover {
  color: var(--blue);
  background: #eff6ff;
}

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

.content-panel {
  padding: 28px;
}

.content-panel h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.content-panel p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 58px 0 36px;
}

.footer-logo {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

@media (max-width: 1100px) {
  .category-grid,
  .movie-grid,
  .page-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-content,
  .split-layout,
  .player-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .rank-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

  .hero-content {
    padding: 80px 0 90px;
  }

  .category-grid,
  .large-category-grid,
  .movie-grid,
  .page-grid,
  .home-grid,
  .related-grid,
  .detail-content-grid,
  .footer-grid,
  .detail-hero-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero-inner {
    gap: 26px;
  }

  .filter-bar,
  .filter-bar.expanded {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }
}

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

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

  .brand-text small {
    display: none;
  }

  .section-pad {
    padding: 52px 0;
  }

  .category-grid,
  .large-category-grid,
  .movie-grid,
  .page-grid,
  .home-grid,
  .related-grid,
  .detail-content-grid,
  .footer-grid,
  .detail-hero-inner,
  .rank-card {
    grid-template-columns: 1fr;
  }

  .movie-grid {
    gap: 16px;
  }

  .movie-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .movie-card h3 {
    min-height: auto;
  }

  .movie-card p {
    min-height: auto;
  }

  .poster-link {
    height: 100%;
    min-height: 178px;
  }

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

  .player-cover strong {
    font-size: 18px;
  }

  .play-circle {
    width: 70px;
    height: 70px;
  }
}
