:root {
  --page-bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffbeb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #fff7ed;
  --line: #fed7aa;
  --amber: #d97706;
  --orange: #ea580c;
  --deep: #431407;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 60px rgba(120, 53, 15, 0.12);
  --shadow-card: 0 14px 36px rgba(120, 53, 15, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fff7ed 100%);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(254, 215, 170, 0.8);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
  font-size: 16px;
}

.brand-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #b45309, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.desktop-nav > a,
.nav-dropdown > a {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown > a.active {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -22px;
  width: 190px;
  display: grid;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.dropdown-panel a {
  padding: 9px 12px;
  color: #4b5563;
  border-radius: 12px;
}

.dropdown-panel a:hover {
  color: var(--orange);
  background: #fff7ed;
}

.header-search {
  position: relative;
  width: 260px;
  flex: 0 0 auto;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 46px 0 18px;
  color: #374151;
  background: #ffffff;
  border: 1px solid #fdba74;
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--orange);
  background: #fff7ed;
  border-radius: 999px;
  transform: translateY(-50%);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  color: #78350f;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

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

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

.mobile-nav a:hover {
  color: var(--orange);
  background: #fff7ed;
}

.hero-section {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.42), transparent 34%),
    radial-gradient(circle at bottom right, rgba(234, 88, 12, 0.34), transparent 36%),
    linear-gradient(135deg, #fff7ed, #ffedd5 52%, #ffffff);
  border: 1px solid rgba(253, 186, 116, 0.8);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.hero-bg-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-one {
  top: -120px;
  right: 16%;
  background: rgba(251, 146, 60, 0.32);
}

.orb-two {
  right: -110px;
  bottom: -110px;
  background: rgba(245, 158, 11, 0.28);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 34px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  max-width: 760px;
  color: #111827;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #4b5563;
  font-size: 19px;
}

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover,
.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.34);
}

.btn-ghost {
  color: #9a3412;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #fdba74;
}

.btn-ghost:hover {
  color: #ffffff;
  background: #ea580c;
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316, #78350f);
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(124, 45, 18, 0.28);
}

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

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.hero-controls button {
  width: 42px;
  height: 42px;
  color: #9a3412;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fdba74;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #fdba74;
  border: 0;
  border-radius: 999px;
}

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

.hero-search-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fed7aa;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.10);
}

.hero-search-panel form,
.inline-filter {
  display: flex;
  gap: 12px;
}

.hero-search-panel input,
.inline-filter input,
.inline-filter select {
  min-height: 50px;
  color: #374151;
  background: #ffffff;
  border: 1px solid #fdba74;
  border-radius: 999px;
  outline: none;
}

.hero-search-panel input,
.inline-filter input {
  flex: 1;
  padding: 0 20px;
}

.inline-filter select {
  padding: 0 20px;
}

.hero-search-panel button {
  min-height: 50px;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-category-links a {
  padding: 8px 14px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-category-links a:hover {
  color: #ffffff;
  background: #ea580c;
}

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

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

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading.light h2,
.section-heading.light .section-kicker {
  color: #fff7ed;
}

.section-link {
  min-height: 40px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fdba74;
}

.section-link.light {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 237, 213, 0.36);
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(120, 53, 15, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #fb923c;
  box-shadow: var(--shadow-card);
}

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

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

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

.play-chip,
.rank-badge {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.play-chip {
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: rgba(127, 29, 29, 0.86);
  border-radius: 12px;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.28;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-chip-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: 13px;
}

.tag-row span,
.detail-chip-row span,
.tag-cloud span {
  padding: 5px 9px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rank-section {
  width: min(1180px, calc(100% - 32px));
  margin: 78px auto 0;
  padding: 36px;
  background:
    radial-gradient(circle at 8% 10%, rgba(251, 191, 36, 0.2), transparent 26%),
    linear-gradient(135deg, #7c2d12, #431407 70%);
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(67, 20, 7, 0.24);
}

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

.rank-grid .movie-card {
  background: rgba(255, 255, 255, 0.96);
}

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

.category-feature-card,
.category-overview-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

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

.category-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-feature-head h3,
.category-overview-card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.category-feature-head a {
  color: var(--orange);
  font-weight: 900;
}

.category-feature-card p,
.category-overview-card p {
  color: #6b7280;
}

.mini-list,
.category-preview-strip {
  display: grid;
  gap: 10px;
}

.mini-list {
  margin-top: 18px;
}

.mini-link,
.category-preview-strip a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #374151;
  font-weight: 800;
}

.mini-link img,
.category-preview-strip img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  background: #fed7aa;
  border-radius: 12px;
}

.sub-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 58px 44px;
  background:
    radial-gradient(circle at 12% 20%, rgba(251, 191, 36, 0.34), transparent 34%),
    linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.sub-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.sub-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #5b4b3d;
  font-size: 18px;
}

.category-overview-card {
  overflow: hidden;
}

.category-card-content {
  padding: 24px;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 999px;
}

.btn-small {
  min-height: 40px;
  margin-top: 10px;
  color: #ffffff;
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.category-preview-strip {
  padding: 18px 24px 24px;
  background: #fff7ed;
  border-top: 1px solid #fed7aa;
}

.category-sub-hero .inline-filter,
.search-sub-hero .inline-filter {
  max-width: 760px;
  margin-top: 24px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #431407;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.26;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(67, 20, 7, 0.95), rgba(67, 20, 7, 0.72), rgba(67, 20, 7, 0.94));
}

.detail-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  background: #fed7aa;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

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

.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: #ffedd5;
  font-size: 20px;
}

.detail-chip-row {
  margin-top: 22px;
}

.detail-chip-row span {
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(254, 215, 170, 0.32);
}

.detail-main {
  margin-top: 48px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  background: #111827;
  border-radius: 30px;
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.22);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.76));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-button {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.42);
  font-size: 34px;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.08);
}

.player-overlay h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 42px);
}

.player-overlay p {
  max-width: 760px;
  margin: 8px auto 0;
  color: #ffedd5;
}

.detail-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.detail-text-card,
.info-table,
.tag-cloud {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.detail-text-card {
  padding: 26px;
}

.detail-text-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.detail-text-card p {
  margin: 0;
  color: #4b5563;
}

.info-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  background: #fed7aa;
}

.info-table div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #ffffff;
}

.info-table strong {
  color: #9a3412;
  font-size: 13px;
}

.info-table span {
  color: #374151;
  font-weight: 800;
}

.tag-cloud {
  margin-top: 24px;
  padding: 20px;
}

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

.site-footer {
  margin-top: 82px;
  color: #ffedd5;
  background: linear-gradient(180deg, #78350f, #431407);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff7ed;
  font-size: 22px;
}

.site-footer p,
.site-footer a {
  color: #fed7aa;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: #fdba74;
  border-top: 1px solid rgba(254, 215, 170, 0.18);
  text-align: center;
  font-size: 14px;
}

.movie-card.is-hidden {
  display: none;
}

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

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

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

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

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

  .header-inner {
    min-height: 68px;
  }

  .hero-section,
  .rank-section,
  .sub-hero {
    padding: 24px;
    border-radius: 26px;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 360px;
  }

  .movie-grid,
  .home-grid,
  .rank-grid,
  .category-feature-grid,
  .category-overview-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-poster {
    width: min(260px, 100%);
  }

  .detail-text-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand-text {
    font-size: 21px;
  }

  .hero-section,
  .rank-section,
  .sub-hero {
    width: min(100% - 20px, 1180px);
    padding: 18px;
  }

  .section-block {
    width: min(100% - 20px, 1180px);
    margin-top: 48px;
  }

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

  .hero-search-panel form,
  .inline-filter {
    flex-direction: column;
  }

  .movie-grid,
  .home-grid,
  .rank-grid,
  .category-feature-grid,
  .category-overview-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .play-button {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
