:root {
  color-scheme: light;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --blue-500: #3b82f6;
  --purple-500: #8b5cf6;
  --rose-500: #f43f5e;
  --amber-500: #f59e0b;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky-50), #ffffff 520px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 70px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--sky-500), var(--cyan-500));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
  font-size: 15px;
}

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

.desktop-nav a,
.mobile-panel a {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  color: var(--sky-500);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.header-search input,
.mobile-panel input,
.quick-search input,
.filter-search input,
.search-page-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.header-search input {
  padding: 11px 92px 11px 18px;
}

.header-search button,
.mobile-panel button,
.quick-search button,
.filter-search button,
.search-page-box button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  position: absolute;
  right: 4px;
  padding: 8px 16px;
  border-radius: 999px;
}

.header-search button:hover,
.quick-search button:hover,
.filter-search button:hover,
.search-page-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  padding: 14px 0;
}

.mobile-panel form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.mobile-panel input {
  padding: 11px 14px;
}

.mobile-panel button {
  padding: 0 18px;
}

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, var(--sky-400), var(--cyan-400), var(--blue-500));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: -30px;
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(1.16);
  transform: scale(1.08);
  opacity: 0.52;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(14, 165, 233, 0.94), rgba(6, 182, 212, 0.77) 47%, rgba(59, 130, 246, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  align-items: center;
  gap: 62px;
  height: 100%;
}

.hero-kicker,
.section-heading span,
.ranking-copy span,
.page-hero span,
.detail-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  padding: 8px 16px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.16;
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

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

.hero-tags span,
.detail-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.19);
  backdrop-filter: blur(8px);
}

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

.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.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn.primary {
  color: var(--sky-600);
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.13);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.19);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.btn.plain {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.14);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.25);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--sky-600);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-size: 28px;
  backdrop-filter: blur(10px);
}

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

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

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

.quick-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  margin-top: -38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search {
  display: flex;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.quick-search input {
  padding: 0 22px;
  font-size: 17px;
}

.quick-search button {
  padding: 0 28px;
  font-weight: 900;
}

.quick-links a,
.movie-tags span {
  border-radius: 999px;
  font-weight: 750;
}

.quick-links a {
  padding: 9px 14px;
  color: var(--sky-600);
  background: var(--sky-50);
}

.section-block {
  padding: 72px 0;
}

.section-heading,
.category-box-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading span,
.page-hero span,
.ranking-copy span {
  color: var(--sky-600);
  background: var(--sky-100);
  padding: 6px 12px;
}

.section-heading h2,
.page-hero h1,
.ranking-copy h2,
.detail-article h2,
.detail-side h2,
.category-box h2 {
  margin: 10px 0 8px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.section-heading p,
.category-box p,
.page-hero p,
.ranking-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.section-heading > a,
.category-box-head > a {
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--sky-600);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.82);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(14, 165, 233, 0.17);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-50));
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.78));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.movie-card:hover .movie-cover::after {
  opacity: 1;
}

.movie-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.05);
}

.movie-score {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--amber-500);
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.28);
}

.movie-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: var(--sky-600);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.movie-meta-line,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta-line span,
.detail-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft);
}

.movie-card h3 {
  min-height: 58px;
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-table a:hover,
.top-rank-card a:hover {
  color: var(--sky-600);
}

.movie-card p {
  min-height: 52px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.movie-tags span {
  padding: 4px 8px;
  color: var(--sky-600);
  background: var(--sky-50);
  font-size: 12px;
}

.ranking-band {
  padding: 72px 0;
  background: linear-gradient(135deg, #fff7ed, #fff1f2 52%, #eff6ff);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.ranking-copy {
  position: sticky;
  top: 100px;
}

.ranking-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.ranking-list,
.side-list {
  display: grid;
  gap: 12px;
}

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 10px;
  border: 1px solid rgba(229, 231, 235, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.mini-card:hover {
  border-color: rgba(14, 165, 233, 0.36);
}

.mini-card img {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
}

.mini-card strong {
  display: block;
  margin-bottom: 5px;
  line-height: 1.36;
}

.mini-card span:not(.rank-badge) {
  color: var(--muted);
  font-size: 13px;
}

.rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--amber-500);
  font-weight: 900;
}

.category-preview {
  padding: 32px;
  margin-bottom: 28px;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.compact-heading {
  margin-bottom: 20px;
}

.page-main {
  background: linear-gradient(180deg, var(--sky-50), #ffffff 420px);
}

.page-hero {
  padding: 76px 0 66px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.23), transparent 28%),
    linear-gradient(120deg, var(--sky-500), var(--cyan-500));
}

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

.page-hero h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.category-box {
  padding: 30px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-box-head span {
  color: var(--purple-500);
  font-weight: 900;
}

.filter-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  margin-top: -32px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.filter-search,
.search-page-box {
  display: flex;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.filter-search input,
.search-page-box input {
  padding: 0 20px;
}

.filter-search button,
.search-page-box button {
  padding: 0 22px;
  font-weight: 900;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-row strong {
  margin-right: 4px;
}

.filter-row button {
  border: 0;
  padding: 8px 13px;
  border-radius: 999px;
  color: #374151;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 700;
}

.filter-row button.is-active {
  color: #ffffff;
  background: var(--sky-500);
}

.empty-state {
  padding: 44px;
  border-radius: 24px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow);
}

.top-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.top-rank-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.top-rank-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.top-rank-card span {
  display: inline-flex;
  margin: 18px 18px 0;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--amber-500);
  font-weight: 900;
}

.top-rank-card h2,
.top-rank-card p {
  margin-right: 18px;
  margin-left: 18px;
}

.top-rank-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.rank-table-wrap {
  overflow: auto;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.rank-table th,
.rank-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.rank-table th {
  color: #475569;
  background: var(--sky-50);
}

.detail-main {
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  color: #ffffff;
  background: linear-gradient(120deg, #075985, #0891b2);
}

.detail-bg {
  position: absolute;
  inset: -35px;
  background-position: center;
  background-size: cover;
  filter: blur(20px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.46;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 89, 133, 0.95), rgba(6, 182, 212, 0.72));
}

.detail-head {
  position: relative;
  z-index: 2;
  padding: 42px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
}

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

.detail-head-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  width: 280px;
  aspect-ratio: 3 / 4;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.detail-label {
  padding: 7px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.detail-head h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.detail-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
}

.detail-tags {
  margin: 18px 0 26px;
}

.player-section {
  padding-top: 54px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.52));
  cursor: pointer;
}

.play-overlay span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 999px;
  color: var(--sky-600);
  background: rgba(255, 255, 255, 0.92);
  font-size: 35px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.28);
}

.play-overlay.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  padding: 54px 0 20px;
}

.detail-article,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.detail-article {
  padding: 34px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.detail-side {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.search-hero .search-page-box {
  max-width: 740px;
  margin-top: 24px;
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 36px;
}

.site-footer p {
  max-width: 460px;
  color: var(--muted);
}

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

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 7px 0;
  color: #475569;
}

.site-footer a:hover {
  color: var(--sky-600);
}

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

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 680px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 80px 0 110px;
  }

  .hero-poster {
    max-width: 280px;
    transform: none;
  }

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

  .ranking-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-copy,
  .detail-side {
    position: static;
  }
}

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

  .header-inner {
    height: 62px;
  }

  .site-logo {
    font-size: 21px;
  }

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

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

  .hero h2 {
    font-size: 27px;
  }

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

  .hero-content {
    gap: 30px;
    padding-top: 58px;
  }

  .hero-controls {
    left: 16px;
    right: auto;
  }

  .quick-panel,
  .category-preview,
  .category-box,
  .filter-panel,
  .detail-article,
  .detail-side {
    padding: 20px;
  }

  .quick-search,
  .filter-search,
  .search-page-box {
    border-radius: 20px;
    flex-direction: column;
  }

  .quick-search input,
  .filter-search input,
  .search-page-box input {
    min-height: 52px;
  }

  .quick-search button,
  .filter-search button,
  .search-page-box button {
    min-height: 48px;
  }

  .section-heading,
  .category-box-head {
    display: grid;
    align-items: start;
  }

  .movie-grid,
  .small-grid,
  .mini-grid,
  .top-rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .movie-card h3 {
    min-height: auto;
    font-size: 16px;
  }

  .movie-card p {
    min-height: auto;
    font-size: 13px;
  }

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

  .detail-poster {
    width: min(240px, 72vw);
  }

  .detail-hero {
    min-height: auto;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .small-grid,
  .mini-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
