:root {
  --site-rose: #f43f5e;
  --site-pink: #ec4899;
  --site-soft: #fff1f2;
  --site-text: #111827;
  --site-muted: #6b7280;
  --site-border: #e5e7eb;
  --site-shadow: 0 18px 45px rgba(244, 63, 94, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #f9fafb 0%, #fff1f2 42%, #fdf2f8 100%);
  color: var(--site-text);
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.78);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-rose), var(--site-pink));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.3);
  font-size: 13px;
}

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

.site-nav-link {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.nav-active {
  color: var(--site-rose);
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search-form input,
.mobile-nav input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 14px;
  background: #ffffff;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search-form input:focus,
.mobile-nav input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--site-rose);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.site-search-form button,
.mobile-nav button,
.search-page-form button,
.filter-panel button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form button:hover,
.mobile-nav button:hover,
.search-page-form button:hover,
.filter-panel button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(244, 63, 94, 0.28);
}

.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #374151;
}

.mobile-nav {
  border-top: 1px solid var(--site-border);
  padding: 16px 24px 20px;
  background: #ffffff;
}

.mobile-nav a,
.mobile-nav form {
  display: block;
  margin: 12px 0;
  font-weight: 650;
  color: #374151;
}

.mobile-nav form {
  display: flex;
  gap: 8px;
}

.mobile-nav input {
  min-width: 0;
  flex: 1;
}

.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  padding: 0 max(28px, calc((100vw - 1280px) / 2 + 24px));
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.72);
  transform: scale(1.06);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 63, 94, 0.92), rgba(236, 72, 153, 0.76), rgba(17, 24, 39, 0.62)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 32%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 {
  margin: 24px 0 18px;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content h1 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 42px);
  color: #ffe4e6;
}

.hero-content p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.8;
}

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

.ghost-button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotate(2deg);
}

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 30px;
  background: #ffffff;
}

.home-search-band {
  margin-top: -42px;
  position: relative;
  z-index: 6;
  padding: 0 24px;
}

.home-search-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--site-shadow);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.home-search-card h2 {
  font-size: 28px;
  font-weight: 850;
  color: #111827;
}

.home-search-card form {
  display: flex;
  gap: 10px;
}

.home-search-card input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 13px 18px;
  outline: none;
}

.home-search-card button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}

.stat-strip {
  display: flex;
  gap: 18px;
  color: var(--site-muted);
  white-space: nowrap;
}

.stat-strip b {
  color: var(--site-rose);
  font-size: 20px;
}

.content-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.content-section {
  margin-bottom: 64px;
}

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

.section-title h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 850;
  color: #111827;
}

.section-title a {
  color: var(--site-rose);
  font-weight: 750;
}

.featured-grid,
.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.movie-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.78);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(244, 63, 94, 0.18);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.movie-poster-wrap {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.movie-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.movie-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-chip {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(244, 63, 94, 0.95);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  font-size: 12px;
  font-weight: 850;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--site-rose);
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 8px;
}

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

.movie-card p {
  color: var(--site-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.movie-tags span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--site-rose);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-compact .movie-card-body {
  padding: 14px;
}

.movie-card-compact h3 {
  font-size: 16px;
}

.movie-card-list .movie-card-link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 100%;
}

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

.movie-card-featured .movie-card-body {
  padding: 22px;
}

.movie-card-featured h3 {
  font-size: 22px;
}

.soft-panel {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
}

.ranking-panel,
.ranking-list-panel,
.search-page-box,
.filter-panel,
.detail-info-card,
.movie-facts,
.side-poster-card,
.category-cloud {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.ranking-panel {
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.ranking-panel h2,
.ranking-list-panel h2 {
  font-size: 24px;
  font-weight: 850;
  margin-bottom: 16px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-index b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-rose), var(--site-pink));
  font-size: 13px;
}

.ranking-row img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-info {
  min-width: 0;
}

.ranking-info strong,
.ranking-info em {
  display: block;
}

.ranking-info strong {
  color: #111827;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-info em {
  color: var(--site-muted);
  font-size: 12px;
  font-style: normal;
  margin-top: 4px;
}

.ranking-play {
  color: var(--site-rose);
  font-size: 13px;
  font-weight: 800;
}

.category-cloud {
  padding: 28px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--site-rose);
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-chip:hover {
  transform: translateY(-2px);
  background: #ffe4e6;
}

.category-chip span {
  color: #9f1239;
  font-size: 12px;
}

.page-hero {
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  color: #ffffff;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.25), transparent 30%), radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.page-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.page-breadcrumb,
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumb {
  color: var(--site-muted);
}

.breadcrumb a:hover,
.page-breadcrumb a:hover {
  color: #ffffff;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
}

.page-hero p {
  max-width: 780px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  padding: 22px;
  margin-bottom: 28px;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 170px auto;
  gap: 14px;
  align-items: end;
}

.filter-grid label span {
  display: block;
  color: #374151;
  font-weight: 750;
  margin-bottom: 8px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  border-radius: 16px;
}

.filter-grid button {
  border-radius: 16px;
  height: 46px;
}

.filter-count {
  margin-top: 12px;
  color: var(--site-muted);
}

.empty-state {
  text-align: center;
  padding: 40px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--site-muted);
  font-weight: 750;
}

.category-large-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.category-card-large {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.category-card-large img,
.category-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card-large img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.category-card-cover {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.78));
}

.category-card-large strong,
.category-card-large em,
.category-card-large p {
  position: relative;
  z-index: 2;
}

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

.category-card-large em {
  margin-top: 6px;
  font-style: normal;
  color: #ffe4e6;
  font-weight: 750;
}

.category-card-large p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.ranking-list-panel {
  padding: 28px;
}

.search-page-box {
  padding: 28px;
  margin-bottom: 28px;
}

.search-page-form {
  display: flex;
  gap: 12px;
}

.search-page-form input {
  flex: 1;
  border-radius: 18px;
  font-size: 16px;
}

.search-page-form button {
  border-radius: 18px;
}

.search-page-box p {
  margin-top: 12px;
  color: var(--site-muted);
}

.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.3), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-rose), var(--site-pink));
  box-shadow: 0 20px 44px rgba(244, 63, 94, 0.35);
  font-size: 30px;
}

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

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.detail-info-card {
  padding: 28px;
}

.detail-info-card h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--site-border);
  color: var(--site-muted);
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f9fafb;
}

.detail-one-line {
  margin: 20px 0;
  font-size: 18px;
  color: #be123c;
  line-height: 1.8;
  font-weight: 700;
}

.detail-block {
  margin-top: 24px;
}

.detail-block h2 {
  font-size: 20px;
  font-weight: 850;
  margin-bottom: 10px;
}

.detail-block p {
  color: #374151;
  line-height: 1.9;
}

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

.detail-tags a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--site-rose);
  font-weight: 750;
}

.detail-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 92px;
}

.side-poster-card {
  padding: 16px;
}

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

.side-poster-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  font-weight: 850;
}

.movie-facts {
  padding: 22px;
}

.movie-facts h2 {
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 16px;
}

.movie-facts p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  color: var(--site-muted);
}

.movie-facts strong {
  color: #111827;
}

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.genre-list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--site-rose);
  font-weight: 750;
}

.related-section {
  margin-top: 44px;
}

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

  .mobile-menu-toggle {
    display: block;
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }

  .home-search-card {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    flex-wrap: wrap;
  }

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

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

  .ranking-panel,
  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-header-inner {
    padding: 12px 16px;
  }

  .hero-slider {
    height: auto;
    min-height: 620px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 64px 20px 80px;
    align-content: center;
  }

  .hero-poster {
    width: 210px;
    margin: 0 auto;
    transform: rotate(0);
  }

  .content-wrap,
  .detail-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured-grid,
  .three-col,
  .four-col,
  .five-col,
  .two-col,
  .category-large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .movie-card-list .movie-card-link {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ranking-row {
    grid-template-columns: 34px 50px minmax(0, 1fr);
  }

  .ranking-play {
    display: none;
  }
}

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

  .hero-content h1 {
    font-size: 36px;
  }

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

  .home-search-band {
    margin-top: -20px;
  }

  .home-search-card {
    padding: 20px;
  }

  .home-search-card form,
  .search-page-form,
  .mobile-nav form {
    flex-direction: column;
  }

  .featured-grid,
  .three-col,
  .four-col,
  .five-col,
  .two-col,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

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

  .movie-card-list .movie-poster {
    aspect-ratio: 3 / 4;
  }

  .soft-panel,
  .category-cloud,
  .ranking-list-panel,
  .filter-panel,
  .detail-info-card {
    padding: 20px;
    border-radius: 22px;
  }
}

.site-footer {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  margin-top: 20px;
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 220px 220px;
  gap: 34px;
}

.footer-brand h2 {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--site-rose), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--site-muted);
  line-height: 1.8;
  max-width: 560px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 850;
  color: #111827;
  margin-bottom: 14px;
}

.footer-column ul {
  display: grid;
  gap: 9px;
}

.footer-column a {
  color: var(--site-muted);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--site-rose);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  color: var(--site-muted);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}
