html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: #1f2937;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.rainbow-bar {
  height: 4px;
  background: linear-gradient(90deg, #f87171, #facc15, #4ade80, #22d3ee, #60a5fa, #a78bfa);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
  text-decoration: none;
  font-weight: 800;
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444, #f97316, #8b5cf6);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.25);
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 14px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.logo-mark::before {
  left: 7px;
}

.logo-mark::after {
  right: 7px;
}

.logo-mark-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #ffffff;
}

.logo-text {
  font-size: 21px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #06b6d4, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  color: #4b5563;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #2563eb;
}

.nav-search-button,
.header-search button,
.mobile-menu-button,
.footer-bottom button,
.filter-panel button,
.line-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-search-button {
  padding: 9px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.header-search {
  display: none;
  gap: 12px;
  padding: 0 0 18px;
}

.header-search.open {
  display: flex;
}

.header-search input,
.mobile-search input,
.filter-search-row input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 12px 16px;
  outline: none;
  background: #ffffff;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search-row input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.header-search button {
  border-radius: 14px;
  padding: 0 22px;
  color: #ffffff;
  background: #2563eb;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f4f6;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 21px;
  height: 2px;
  background: #374151;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
}

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

.home-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #ec4899);
}

.hero-brand {
  position: absolute;
  left: 50%;
  top: 44px;
  z-index: 8;
  width: min(94%, 960px);
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
}

.hero-brand .site-logo {
  justify-content: center;
  color: #ffffff;
}

.hero-brand .logo-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-logo-wrap {
  display: inline-flex;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-brand h1 {
  margin: 24px 0 12px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(236, 72, 153, 0.38), transparent 36%), linear-gradient(180deg, rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.86));
}

.hero-inner {
  position: absolute;
  left: 50%;
  bottom: 74px;
  z-index: 5;
  width: min(92%, 1180px);
  transform: translateX(-50%);
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-inner h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
}

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

.hero-tags,
.detail-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags .tag-pill,
.detail-tags .tag-pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

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

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

.btn-light {
  color: #111827;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 90px;
  z-index: 9;
  display: flex;
  gap: 10px;
}

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

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

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

.page-section-white {
  max-width: none;
  padding-left: max(24px, calc((100% - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100% - 1280px) / 2 + 24px));
  background: #ffffff;
}

.compact-section {
  padding-top: 34px;
}

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

.section-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}

.section-head p {
  margin: 8px 0 0;
  color: #6b7280;
}

.section-link {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.14);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
}

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

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #a855f7);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(239, 68, 68, 0.25);
}

.movie-info {
  padding: 18px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.movie-info h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 850;
}

.movie-info h3 a {
  color: inherit;
  text-decoration: none;
}

.movie-info h3 a:hover {
  color: #2563eb;
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.6;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #ec4899);
  font-weight: 900;
}

.card-bottom a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
}

.movie-card-list {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.movie-card-list .movie-poster {
  aspect-ratio: auto;
  min-height: 100%;
}

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

.category-card,
.category-overview-card,
.filter-panel,
.detail-article,
.detail-side {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.category-card,
.category-overview-main {
  display: block;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.category-card span,
.category-overview-main span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #a855f7);
  font-weight: 900;
}

.category-card h3,
.category-overview-main h2 {
  margin: 18px 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.category-overview-main p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.category-samples {
  display: grid;
  gap: 8px;
  padding: 0 24px 24px;
}

.category-samples a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 650;
}

.ranking-strip {
  border-radius: 32px;
  background: linear-gradient(135deg, #f3e8ff, #dbeafe, #ffe4e6);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 50px 1fr 52px;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 18px;
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.rank-item span {
  color: #ef4444;
  font-weight: 900;
}

.rank-item em {
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 8px;
  background: linear-gradient(90deg, #f97316, #ec4899);
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.page-main {
  min-height: 60vh;
}

.page-title-block {
  position: relative;
  overflow: hidden;
  padding: 84px 24px 68px;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed, #db2777);
  text-align: center;
}

.page-title-block::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.page-title-block > * {
  position: relative;
  z-index: 1;
}

.page-title-block > p:first-child {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.page-title-block h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
}

.page-lead {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
}

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

.breadcrumb.light {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
}

.filter-panel {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 22px;
}

.filter-search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-search-row button,
.filter-group button {
  border-radius: 999px;
  padding: 10px 16px;
  color: #475569;
  background: #f1f5f9;
  font-weight: 750;
}

.filter-search-row button {
  color: #ffffff;
  background: #2563eb;
}

.filter-group {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.filter-group h3 {
  margin: 0;
  color: #334155;
  font-size: 15px;
}

.filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-group button.active {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.empty-state {
  display: none;
  padding: 70px 24px;
  text-align: center;
  color: #6b7280;
  font-size: 20px;
}

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

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.28));
}

.detail-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
  max-width: 1280px;
  min-height: 620px;
  margin: 0 auto;
  padding: 54px 24px;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-size: 28px;
}

.detail-content {
  color: #ffffff;
}

.detail-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  font-weight: 900;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.detail-meta span,
.detail-meta strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.detail-meta strong {
  color: #111827;
  background: #ffffff;
}

.detail-one-line {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

.player-section {
  max-width: 1120px;
  margin: -80px auto 0;
  padding: 0 24px 54px;
  position: relative;
  z-index: 5;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.32);
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 16px 24px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  font-size: 17px;
}

.player-start span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.player-wrap.is-playing .player-start {
  display: none;
}

.line-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.line-button {
  border-radius: 999px;
  padding: 10px 16px;
  color: #475569;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  font-weight: 800;
}

.line-button.active {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.detail-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 28px;
  font-weight: 900;
}

.detail-article p {
  margin: 0 0 26px;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 16px;
  margin: 0 0 24px;
}

.detail-side dt {
  color: #64748b;
}

.detail-side dd {
  margin: 0;
  color: #111827;
  font-weight: 750;
}

.side-link {
  display: block;
  margin-top: 10px;
  border-radius: 16px;
  padding: 12px 14px;
  color: #2563eb;
  background: #eff6ff;
  text-decoration: none;
  font-weight: 800;
}

.related-section {
  padding-top: 34px;
}

.site-footer {
  margin-top: 54px;
  color: #cbd5e1;
  background: #111827;
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px 28px;
}

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

.site-footer .site-logo {
  color: #ffffff;
}

.site-footer .logo-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-desc,
.footer-keywords {
  color: #94a3b8;
  line-height: 1.8;
}

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

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

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

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

.footer-bottom button {
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(90deg, #ef4444, #8b5cf6);
}

[data-card].hidden {
  display: none;
}

@media (max-width: 1180px) {
  .movie-grid,
  .category-card-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .mobile-menu-button {
    display: flex;
  }

  .home-hero {
    min-height: 760px;
  }

  .hero-brand {
    top: 28px;
  }

  .hero-inner {
    bottom: 82px;
  }

  .hero-dots {
    left: 24px;
    right: auto;
    bottom: 42px;
  }

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

  .detail-shell,
  .detail-body-grid {
    grid-template-columns: 1fr;
  }

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

  .player-section {
    margin-top: -38px;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .page-section,
  .filter-panel,
  .detail-shell,
  .detail-body-grid,
  .player-section,
  .footer-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-text {
    font-size: 18px;
  }

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

  .hero-logo-wrap {
    padding: 12px 14px;
  }

  .hero-brand h1 {
    font-size: 34px;
  }

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

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

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

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

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

  .filter-search-row {
    flex-direction: column;
  }

  .detail-content h1 {
    font-size: 38px;
  }

  .detail-one-line {
    font-size: 17px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
