* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 42%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 48%, #ec4899 100%);
  box-shadow: 0 14px 30px rgba(88, 28, 135, 0.22);
}

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

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

.logo {
  font-size: 22px;
  white-space: nowrap;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #ffffff 0 18%, #d8b4fe 19% 42%, #9333ea 43% 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72), 0 8px 20px rgba(76, 29, 149, 0.24);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.desktop-nav a,
.nav-dropdown > button {
  color: rgba(255, 255, 255, 0.94);
  border: 0;
  background: transparent;
  padding: 8px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown > button:hover {
  color: #f5d0fe;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  min-width: 180px;
  padding: 10px;
  background: #ffffff;
  color: #4b5563;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(88, 28, 135, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.98);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

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

.dropdown-panel a:hover {
  color: #9333ea;
  background: #faf5ff;
}

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

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.nav-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 11px 14px 11px 18px;
  color: #374151;
  background: transparent;
}

.nav-search button,
.large-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  padding: 10px 17px;
  border-radius: 999px;
  margin-right: 4px;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
}

.mobile-panel {
  padding: 0 16px 18px;
  background: rgba(107, 33, 168, 0.96);
}

.mobile-panel form {
  display: flex;
  gap: 8px;
  padding: 12px 0;
}

.mobile-panel input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
}

.mobile-panel button {
  border: 0;
  border-radius: 999px;
  color: #7c3aed;
  background: #ffffff;
  padding: 0 16px;
}

.mobile-panel a {
  display: block;
  padding: 10px 0;
  color: #ffffff;
}

.mobile-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
  padding-top: 6px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(115deg, #6d28d9 0%, #9333ea 46%, #ec4899 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% -8%;
  height: 220px;
  background: linear-gradient(180deg, rgba(250, 245, 255, 0), #faf5ff 72%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(34px);
}

.glow-one {
  width: 160px;
  height: 160px;
  top: 88px;
  left: 8%;
}

.glow-two {
  width: 210px;
  height: 210px;
  right: 12%;
  bottom: 86px;
}

.glow-three {
  width: 120px;
  height: 120px;
  top: 46%;
  left: 42%;
}

.hero-container {
  position: relative;
  z-index: 2;
  min-height: 620px;
  padding: 64px 0 42px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.56fr);
  align-items: center;
  gap: 44px;
  min-height: 430px;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.45s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-lead,
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.7;
}

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

.hero-tags span,
.detail-tags span,
.genre-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.primary-btn {
  color: #7e22ce;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(76, 29, 149, 0.26);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 70px rgba(76, 29, 149, 0.34);
}

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

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

.hero-poster div {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(16px);
}

.hero-poster strong,
.hero-poster span {
  display: block;
}

.hero-poster strong {
  font-size: 22px;
  line-height: 1.2;
}

.hero-poster span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 16px;
}

.hero-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-category-chips a {
  padding: 11px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-category-chips a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #7c3aed;
  background: #ffffff;
  font-size: 30px;
  line-height: 1;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

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

.page-stack {
  display: grid;
  gap: 54px;
  padding: 52px 0 78px;
}

.content-section {
  position: relative;
}

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

.section-title h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 900;
}

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

.section-link {
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  box-shadow: 0 12px 25px rgba(147, 51, 234, 0.2);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(76, 29, 149, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

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

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

.genre-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(124, 58, 237, 0.9);
  backdrop-filter: blur(8px);
}

.genre-badge {
  left: 12px;
}

.rank-badge {
  right: 12px;
  background: rgba(236, 72, 153, 0.92);
}

.play-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 34px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.72));
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  transform: scale(1);
}

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
}

.movie-card h3 a:hover {
  color: #9333ea;
}

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

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

.movie-meta span {
  padding: 5px 8px;
  border-radius: 10px;
  background: #faf5ff;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: 0 20px 42px rgba(76, 29, 149, 0.14);
}

.rank-row > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  font-weight: 900;
}

.rank-row img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-row strong,
.rank-row em {
  grid-column: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row strong {
  color: #1f2937;
  font-style: normal;
}

.rank-row em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

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

.category-card {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  right: -18px;
  top: -18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 52px rgba(124, 58, 237, 0.28);
}

.category-card strong,
.category-card span {
  position: relative;
  display: block;
}

.category-card strong {
  font-size: 22px;
  font-weight: 900;
}

.category-card span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.inner-page {
  min-height: 70vh;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(110deg, #6d28d9, #9333ea 50%, #ec4899);
  padding: 72px 0 82px;
  box-shadow: inset 0 -50px 85px rgba(76, 29, 149, 0.14);
}

.page-hero .breadcrumb {
  margin-bottom: 18px;
}

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

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.28fr) minmax(160px, 0.28fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.08);
}

.filter-panel input,
.filter-panel select,
.large-search input {
  width: 100%;
  border: 1px solid #eadcff;
  border-radius: 999px;
  outline: 0;
  padding: 13px 16px;
  color: #374151;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.large-search input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.large-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 26px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.large-search input {
  border: 0;
}

.detail-page {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 42%);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding: 38px 0 46px;
}

.detail-main .breadcrumb {
  margin-bottom: 18px;
  color: #6b7280;
}

.detail-main .breadcrumb a:hover {
  color: #9333ea;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.26);
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: #000000;
}

.player-cover[hidden] {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.22), rgba(17, 24, 39, 0.58));
}

.player-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  padding-left: 5px;
  color: #7c3aed;
  background: #ffffff;
  font-size: 34px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

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

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.74);
}

.movie-detail-card,
.side-card {
  margin-top: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(76, 29, 149, 0.1);
}

.movie-detail-card {
  padding: 30px;
}

.movie-detail-card h1 {
  margin: 0 0 16px;
  color: #111827;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 12px;
  color: #6b21a8;
  background: #faf5ff;
  font-weight: 700;
}

.detail-tags span {
  color: #7e22ce;
  background: #faf5ff;
}

.genre-links a {
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.movie-detail-card section {
  border-top: 1px solid #f0e8ff;
  margin-top: 24px;
  padding-top: 24px;
}

.movie-detail-card h2,
.side-card h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 22px;
  font-weight: 900;
}

.movie-detail-card p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.side-card {
  margin-top: 0;
  padding: 18px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.poster-card strong,
.poster-card span {
  display: block;
}

.poster-card strong {
  margin-top: 14px;
  font-size: 22px;
}

.poster-card span {
  margin-top: 6px;
  color: #7c3aed;
  font-weight: 700;
}

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

.side-related .rank-row {
  grid-template-columns: 34px 54px minmax(0, 1fr);
  gap: 10px;
  padding: 8px;
  box-shadow: none;
  background: #faf5ff;
}

.side-related .rank-row > span {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.side-related .rank-row img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

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

.site-footer {
  color: #ffffff;
  background: linear-gradient(180deg, #581c87, #2e1065);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

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

.footer-links {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 14px;
  }

  .nav-search {
    width: 240px;
  }

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

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

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

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

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

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

  .hero,
  .hero-container {
    min-height: auto;
  }

  .hero-container {
    padding: 46px 0 36px;
  }

  .hero-slide,
  .hero-slide.is-active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-poster {
    max-width: 360px;
  }

  .hero-footer,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

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

  .logo {
    font-size: 19px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

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

  .hero-category-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-category-chips a {
    text-align: center;
  }

  .rank-row {
    grid-template-columns: 38px 62px minmax(0, 1fr);
  }

  .rank-row img {
    width: 62px;
    height: 62px;
  }

  .large-search {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .large-search button {
    width: 100%;
    margin: 0;
  }

  .movie-detail-card {
    padding: 22px;
  }

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