:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --rose: #f43f5e;
  --pink: #ec4899;
  --green: #10b981;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
  --radius: 24px;
}

* {
  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: linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.brand-text {
  font-size: 20px;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--blue);
  background: #eff6ff;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  padding: 6px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input,
.mobile-search input {
  padding: 8px 10px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.btn-primary,
.btn-secondary {
  border: 0;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.header-search button,
.mobile-search button {
  padding: 8px 15px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.btn-primary:hover,
.header-search button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(14px);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #eff6ff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: #020617;
}

.hero-backdrops,
.hero-gradient,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 5s ease;
}

.hero-bg.is-active {
  opacity: 0.52;
  transform: scale(1.1);
}

.hero-gradient {
  background:
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, 0.38), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.76) 48%, rgba(15, 23, 42, 0.34) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.94), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 720px;
  margin: 0 auto;
  padding: 96px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow span {
  width: 32px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--rose));
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-slide-wrap {
  position: relative;
  min-height: 285px;
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: 760px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: 0.45s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-kicker {
  margin: 0 0 10px;
  color: #93c5fd;
  font-weight: 800;
}

.hero-slide h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 720px;
  margin: 0 0 18px;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.7;
}

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

.hero-meta span,
.detail-meta span {
  padding: 7px 11px;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  padding: 6px 10px;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(147, 197, 253, 0.22);
}

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

.hero-search {
  max-width: 620px;
  margin-top: 34px;
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-search input {
  padding: 12px 16px;
  color: #ffffff;
}

.hero-search input::placeholder {
  color: #cbd5e1;
}

.hero-search button {
  padding: 0 24px;
}

.hero-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.hero-panel-title {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.hero-thumbs {
  display: grid;
  gap: 12px;
}

.hero-thumb {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-align: left;
  transition: 0.25s ease;
}

.hero-thumb img {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(147, 197, 253, 0.46);
  transform: translateX(-4px);
}

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

.alt-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

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

.section-heading span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading a {
  padding: 10px 16px;
  color: var(--blue);
  background: #eff6ff;
  border-radius: 999px;
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
  transition: 0.28s ease;
}

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

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e5e7eb;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, 0.76) 100%);
}

.play-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transform: translateY(10px);
  opacity: 0;
  transition: 0.25s ease;
}

.movie-card:hover .play-pill {
  transform: translateY(0);
  opacity: 1;
}

.rank-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), #f59e0b);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.28);
}

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

.movie-meta-line {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.movie-card-compact .poster-wrap {
  height: 100%;
  aspect-ratio: auto;
}

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

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

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

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

.category-chip {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 18px;
  border-radius: 24px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: var(--soft-shadow);
}

.category-chip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: 0.35s ease;
}

.category-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.92) 100%);
}

.category-chip span {
  position: relative;
  z-index: 1;
}

.category-chip strong {
  display: block;
  font-size: 21px;
  margin-bottom: 7px;
}

.category-chip em {
  display: block;
  color: #d1d5db;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.category-chip:hover img {
  transform: scale(1.08);
  opacity: 0.64;
}

.large-card {
  min-height: 230px;
}

.large-card strong {
  font-size: 28px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(59, 130, 246, 0.32), transparent 30%), linear-gradient(135deg, #020617, #172554 52%, #312e81);
  color: #ffffff;
}

.page-hero {
  padding: 96px 24px 90px;
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

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

.page-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.75;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-bar input,
.filter-bar select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.empty-state {
  display: none;
  margin-top: 30px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

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

.detail-hero {
  min-height: 620px;
}

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

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(2px);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.38)), linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 55%);
}

.detail-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb strong {
  color: #ffffff;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 780px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.75;
}

.detail-tags {
  margin-bottom: 28px;
}

.detail-content {
  margin-top: -80px;
  position: relative;
  z-index: 2;
}

.player-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.3);
}

.video-player,
.player-cover,
.player-cover img,
.player-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  z-index: 1;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #020617;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.82;
}

.player-cover-shade {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), rgba(2, 6, 23, 0.72));
}

.big-play {
  position: relative;
  z-index: 3;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  padding-left: 7px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--blue));
  border-radius: 999px;
  font-size: 36px;
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.36);
}

.player-panel.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  margin-top: 28px;
}

.article-card,
.side-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.article-card h2:not(:first-child) {
  margin-top: 30px;
}

.article-card p {
  margin: 0 0 16px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

.related-grid {
  display: grid;
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 13px;
  padding: 8px;
  border-radius: 17px;
  transition: 0.22s ease;
}

.related-card:hover {
  background: #eff6ff;
}

.related-card img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 13px;
}

.related-card strong,
.related-card em {
  display: block;
}

.related-card strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.related-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.site-footer {
  margin-top: 40px;
  color: #d1d5db;
  background: #020617;
}

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

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.footer-inner p {
  max-width: 520px;
  margin: 12px 0 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 520px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-panel {
    max-width: 720px;
  }

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

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

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

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    height: 66px;
    padding: 0 16px;
  }

  .mobile-search {
    min-width: 0;
    width: 100%;
  }

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

  .hero-inner {
    padding: 72px 18px 52px;
  }

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

  .hero-slide-wrap {
    min-height: 360px;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .hero-search button {
    min-height: 48px;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .detail-inner {
    padding: 34px 18px 86px;
  }

  .detail-content {
    margin-top: -58px;
  }
}

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

  .content-section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .ranking-list,
  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

  .player-panel {
    border-radius: 20px;
  }

  .article-card,
  .side-card {
    padding: 22px;
    border-radius: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
