:root {
  --emerald: #059669;
  --teal: #0d9488;
  --cyan: #0891b2;
  --rose: #e11d48;
  --ink: #0f172a;
  --muted: #64748b;
  --panel: #ffffff;
  --soft: #f8fafc;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 28%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--emerald), var(--teal), var(--cyan));
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.28);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--emerald);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 20px;
  letter-spacing: 0.03em;
}

.brand__text em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.desktop-nav > a,
.nav-dropdown__label {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.94);
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown__label:hover {
  color: #d1fae5;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  width: 230px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__panel {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-dropdown__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.nav-dropdown__panel a:hover {
  color: var(--emerald);
  background: #ecfdf5;
}

.header-search {
  position: relative;
  width: min(300px, 28vw);
}

.header-search input,
.quick-search__form input,
.list-toolbar input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.header-search input::placeholder,
.quick-search__form input::placeholder,
.list-toolbar input::placeholder {
  color: #94a3b8;
}

.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, 92vw);
  max-height: 430px;
  overflow: auto;
  border-radius: 20px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: none;
}

.search-panel.is-open {
  display: block;
}

.search-panel a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.search-panel a:hover {
  background: #f0fdfa;
}

.search-panel img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.search-panel strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.search-panel span {
  color: var(--muted);
  font-size: 12px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav > a,
.mobile-nav__grid a {
  display: block;
  padding: 10px 0;
  color: #ffffff;
  font-weight: 700;
}

.mobile-nav__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 650px;
  background: #04111f;
  color: #ffffff;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  padding: 90px max(32px, calc((100vw - 1180px) / 2)) 80px;
  background-image: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.38), transparent 32%), linear-gradient(90deg, rgba(4, 17, 31, 0.94), rgba(4, 17, 31, 0.68), rgba(4, 17, 31, 0.36)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 1.4s ease;
}

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

.hero-slide__shade,
.detail-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 31, 0.18), rgba(4, 17, 31, 0.76));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #047857;
  background: rgba(209, 250, 229, 0.95);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-slide p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-tags a,
.movie-card__tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #065f46;
  background: rgba(236, 253, 245, 0.96);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags a {
  padding: 7px 12px;
}

.movie-card__tags span {
  padding: 5px 9px;
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.32);
}

.btn-light {
  color: #064e3b;
  background: rgba(255, 255, 255, 0.92);
}

.hero-poster {
  position: relative;
  z-index: 2;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster img {
  height: 500px;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-controls button {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease;
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 26px;
}

.hero-controls button:hover,
.hero-dots button.is-active {
  background: rgba(16, 185, 129, 0.88);
}

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

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
}

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

.section-block--tight {
  margin-top: 44px;
}

.quick-search__box,
.list-toolbar,
.section-heading,
.detail-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quick-search__box {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.quick-search__box h2,
.section-heading h2,
.list-toolbar h2,
.detail-text h2,
.detail-side h2,
.category-overview-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.quick-search__box p,
.section-heading p,
.list-toolbar p,
.category-overview-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-search__form {
  width: min(420px, 100%);
}

.section-heading {
  margin-bottom: 26px;
}

.section-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--emerald);
  background: #ecfdf5;
  font-weight: 900;
}

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

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

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

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

.movie-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

.movie-card__poster {
  position: relative;
  display: block;
  height: 285px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f766e, #06b6d4);
}

.movie-grid--category .movie-card__poster,
.movie-grid--ranking .movie-card__poster,
.movie-grid--related .movie-card__poster {
  height: 245px;
}

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

.movie-card:hover .movie-card__poster img {
  transform: scale(1.08);
}

.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.66));
}

.movie-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 150, 105, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #e11d48);
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.28);
}

.movie-card__body {
  padding: 18px;
}

.movie-card__title {
  display: block;
  min-height: 46px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card__title:hover {
  color: var(--emerald);
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 9px 0;
  color: #64748b;
  font-size: 12px;
}

.movie-card__meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #cbd5e1;
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 12px;
  color: #64748b;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.65;
  font-size: 14px;
}

.movie-card__category {
  display: inline-flex;
  margin-top: 12px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(4, 17, 31, 0.82));
}

.category-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card span,
.category-card em {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 22px;
  font-weight: 950;
}

.category-card em {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.6;
}

.page-hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto 0;
  padding: 64px;
  border-radius: 36px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.35), transparent 30%), linear-gradient(120deg, #064e3b, #0f766e, #0891b2);
  box-shadow: var(--shadow);
}

.page-hero--category,
.page-hero--ranking {
  background-image: linear-gradient(90deg, rgba(6, 78, 59, 0.92), rgba(15, 118, 110, 0.72)), var(--hero-bg);
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.list-toolbar {
  margin-bottom: 26px;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.list-toolbar input {
  width: min(360px, 100%);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  padding: 18px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-overview-card__media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 22px;
}

.category-overview-card__media img {
  height: 220px;
  object-fit: cover;
}

.category-overview-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(4, 17, 31, 0.94), rgba(4, 17, 31, 0.58)), var(--hero-bg);
  background-size: cover;
  background-position: center;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 40px;
}

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

.detail-poster img {
  height: 460px;
  object-fit: cover;
}

.detail-main h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
}

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

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
}

.detail-one-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.9;
}

.player-section {
  margin-top: -60px;
  position: relative;
  z-index: 4;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.26), rgba(2, 6, 23, 0.62));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #064e3b;
  background: #ffffff;
  font-size: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.play-overlay strong {
  font-size: 20px;
}

.player-shell.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

.detail-content {
  align-items: flex-start;
}

.detail-text {
  flex: 1 1 auto;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-text h2 + p {
  margin-top: 14px;
}

.detail-text p {
  color: #334155;
  font-size: 17px;
  line-height: 2.05;
}

.detail-text p + h2 {
  margin-top: 34px;
}

.detail-side {
  width: 320px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  box-shadow: var(--shadow);
}

.detail-side dl {
  margin: 18px 0 0;
}

.detail-side dt {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.detail-side dd {
  margin: 6px 0 18px;
  color: #0f172a;
  font-weight: 900;
}

.site-footer {
  margin-top: 90px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #111827, #020617);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

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

.site-footer p {
  max-width: 680px;
  margin: 10px 0 0;
  line-height: 1.8;
}

.footer-links {
  margin-top: 20px;
  line-height: 1.9;
}

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

.copyright {
  color: #64748b;
  font-size: 13px;
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    height: 66px;
  }

  .brand__text strong {
    font-size: 17px;
  }

  .hero,
  .hero-slider {
    min-height: 610px;
  }

  .hero-slide {
    padding: 70px 20px 86px;
  }

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

  .quick-search__box,
  .list-toolbar,
  .section-heading,
  .detail-content {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .movie-grid--category,
  .movie-grid--ranking,
  .movie-grid--related,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-card__poster,
  .movie-grid--category .movie-card__poster,
  .movie-grid--ranking .movie-card__poster,
  .movie-grid--related .movie-card__poster {
    height: 220px;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 36px 24px;
    border-radius: 26px;
  }

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

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

  .detail-poster img {
    height: 360px;
  }

  .detail-side {
    width: 100%;
  }

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

@media (max-width: 540px) {
  .site-header__inner,
  .mobile-nav,
  .section-block,
  .detail-hero__inner,
  .page-hero,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .brand__text em {
    display: none;
  }

  .hero,
  .hero-slider {
    min-height: 560px;
  }

  .hero-slide h1,
  .hero-slide h2,
  .detail-main h1 {
    font-size: 38px;
  }

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

  .movie-card__poster,
  .movie-grid--category .movie-card__poster,
  .movie-grid--ranking .movie-card__poster,
  .movie-grid--related .movie-card__poster {
    height: 315px;
  }

  .category-card {
    min-height: 180px;
  }

  .detail-hero__inner {
    padding-top: 26px;
  }

  .detail-text,
  .detail-side {
    padding: 24px;
  }
}
