:root {
  --color-sakura-50: #fef6f9;
  --color-sakura-100: #fdedf3;
  --color-sakura-200: #fcd9e7;
  --color-sakura-400: #f78bb8;
  --color-sakura-500: #f06292;
  --color-sakura-600: #e91e63;
  --color-sakura-700: #c2185b;
  --color-cream-50: #fffcf5;
  --color-cream-400: #ffd978;
  --color-cream-500: #ffc857;
  --color-cream-600: #f5b942;
  --color-spring-500: #22c55e;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-line: #f1d6e1;
  --shadow-soft: 0 10px 25px rgba(194, 24, 91, 0.12);
  --shadow-strong: 0 25px 50px rgba(17, 24, 39, 0.20);
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 98, 146, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 200, 87, 0.18), transparent 34%),
    linear-gradient(135deg, var(--color-sakura-50), var(--color-cream-50) 52%, #f0fdf4);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.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;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(194, 24, 91, 0.08);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-sakura-400), var(--color-sakura-600));
  box-shadow: 0 12px 24px rgba(233, 30, 99, 0.24);
  transition: transform 0.24s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-5deg);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(90deg, var(--color-sakura-700), var(--color-sakura-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small,
.footer-brand small {
  color: var(--color-muted);
  font-size: 12px;
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 430px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--color-sakura-200);
  padding: 0 52px 0 18px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.84);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  border-color: var(--color-sakura-400);
  box-shadow: 0 0 0 4px rgba(240, 98, 146, 0.14);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-sakura-500);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover {
  background: var(--color-sakura-600);
  transform: translateY(-50%) scale(1.05);
}

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

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-sakura-700);
  background: var(--color-sakura-100);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-sakura-100);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-sakura-700);
}

.hero-carousel {
  position: relative;
  width: min(100% - 32px, var(--container));
  min-height: 520px;
  margin: 32px auto 56px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  background: #111827;
}

.hero-glow {
  position: absolute;
  inset: -18% 12% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 98, 146, 0.45), transparent 68%);
  animation: float 7s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease, transform 1s ease;
  transform: scale(1.02);
  pointer-events: none;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.46) 50%, rgba(17, 24, 39, 0.14)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 58%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 70px);
  right: clamp(24px, 20vw, 460px);
  bottom: clamp(32px, 8vw, 76px);
  color: #ffffff;
  z-index: 3;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--color-sakura-100);
  background: rgba(240, 98, 146, 0.84);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hero-content h1,
.page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.hero-content p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.hero-tags,
.card-meta,
.detail-meta,
.tag-cloud {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.tag-cloud span,
.eyebrow-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

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

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

.button-primary,
.footer-button {
  color: #ffffff;
  background: var(--color-sakura-500);
  box-shadow: 0 12px 22px rgba(240, 98, 146, 0.28);
}

.button-primary:hover,
.footer-button:hover {
  background: var(--color-sakura-600);
  transform: translateY(-2px) scale(1.02);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.filter-bar .button-secondary {
  color: var(--color-sakura-700);
  border-color: var(--color-sakura-200);
  background: #ffffff;
}

.hero-controls {
  position: absolute;
  left: clamp(18px, 5vw, 70px);
  right: clamp(18px, 5vw, 70px);
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.72;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  opacity: 1;
  background: var(--color-sakura-400);
}

.section-block {
  margin-bottom: 62px;
}

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

.section-heading h2 {
  margin: 8px 0 4px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.section-more {
  color: var(--color-sakura-700);
  font-weight: 800;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card a {
  display: grid;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card a:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(194, 24, 91, 0.18);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--color-sakura-200), var(--color-cream-400));
}

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

.movie-card a:hover .poster-frame img {
  transform: scale(1.08);
}

.duration-badge,
.rank-badge,
.play-badge {
  position: absolute;
  z-index: 3;
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.72);
}

.rank-badge {
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-sakura-600), var(--color-cream-600));
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.play-badge {
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 30px;
  background: rgba(17, 24, 39, 0);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.movie-card a:hover .play-badge {
  opacity: 1;
  background: rgba(17, 24, 39, 0.34);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card a:hover h3 {
  color: var(--color-sakura-700);
}

.card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eyebrow-row span {
  color: var(--color-sakura-700);
  background: var(--color-sakura-100);
}

.card-meta {
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
}

.card-meta span {
  line-height: 1.3;
}

.movie-card-horizontal a {
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
}

.movie-card-horizontal .poster-frame {
  aspect-ratio: auto;
  min-height: 150px;
}

.movie-card-horizontal .card-body {
  align-content: center;
}

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

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 16px;
}

.ranking-panel,
.sakura-panel,
.filter-panel,
.content-card,
.aside-card,
.player-card,
.poster-card {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.ranking-panel {
  padding: 22px;
}

.sakura-panel {
  padding: clamp(22px, 4vw, 36px);
  background: linear-gradient(135deg, var(--color-sakura-200), #fff0cf);
}

.category-grid,
.category-card-grid {
  display: grid;
  gap: 18px;
}

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

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

.category-tile,
.category-card,
.pill-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.category-tile:hover,
.category-card:hover,
.pill-link:hover {
  color: var(--color-sakura-700);
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(194, 24, 91, 0.16);
}

.category-tile {
  text-align: center;
}

.category-tile span,
.category-card-icon {
  font-size: 32px;
}

.category-tile small,
.category-card small,
.pill-link span {
  color: var(--color-muted);
}

.page-hero {
  margin: 28px 0 48px;
  padding: clamp(44px, 8vw, 84px) 0;
}

.soft-hero {
  color: var(--color-text);
  background:
    radial-gradient(circle at 80% 0%, rgba(240, 98, 146, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(252, 217, 231, 0.72), rgba(255, 240, 207, 0.70));
  border-bottom: 1px solid rgba(252, 217, 231, 0.9);
}

.soft-hero .hero-kicker {
  color: #ffffff;
}

.soft-hero h1 {
  color: var(--color-text);
  text-shadow: none;
}

.soft-hero p {
  color: #4b5563;
}

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

.filter-panel {
  padding: 24px;
}

.filter-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

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

.pill-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
}

.search-shell {
  margin-top: -28px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 42px;
  border: 2px solid var(--color-sakura-200);
  border-radius: 14px;
  padding: 0 12px;
  background: #ffffff;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--color-sakura-400);
}

.result-line {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-weight: 700;
}

.result-line span {
  color: var(--color-sakura-700);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 24px;
}

.pagination:last-child {
  margin: 28px 0 0;
}

.pagination a,
.pagination span,
.pagination strong {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.pagination a {
  color: var(--color-sakura-700);
  font-weight: 800;
}

.pagination span {
  color: #9ca3af;
}

.rank-list {
  display: grid;
  gap: 14px;
}

.rank-row a {
  display: grid;
  grid-template-columns: 58px 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(194, 24, 91, 0.15);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-sakura-600), var(--color-cream-600));
}

.rank-row img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-row h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-row p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--color-muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-shell {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-sakura-700);
  font-weight: 800;
}

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

.detail-main {
  min-width: 0;
}

.player-card {
  padding: 12px;
  margin-bottom: 24px;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 52px;
  background: radial-gradient(circle, rgba(240, 98, 146, 0.28), rgba(0, 0, 0, 0.28));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 98, 146, 0.88);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
}

.player-shell.is-playing .player-start {
  opacity: 0;
  visibility: hidden;
}

.content-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-title-row h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.detail-meta {
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.detail-meta span,
.tag-cloud span {
  color: var(--color-sakura-700);
  background: var(--color-sakura-100);
}

.lead-text {
  margin: 22px 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.8;
}

.article-copy h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.article-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.95;
  white-space: pre-line;
}

.detail-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.poster-card {
  overflow: hidden;
}

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

.poster-card div {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.poster-card strong {
  font-size: 20px;
}

.poster-card span {
  color: var(--color-muted);
}

.aside-card {
  padding: 20px;
}

.aside-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
}

.info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list span {
  color: var(--color-muted);
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--color-sakura-200);
  background: linear-gradient(135deg, var(--color-sakura-50), var(--color-cream-50));
}

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

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

.site-footer p {
  margin: 12px 0 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--color-sakura-700);
}

.footer-button {
  margin-top: 16px;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 1080px) {
  .movie-grid-3,
  .movie-grid-4,
  .category-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .two-column-layout,
  .detail-grid,
  .footer-grid,
  .split-panels {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

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

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .header-search {
    order: 3;
    flex: 0 0 100%;
    max-width: none;
  }

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

  .site-nav {
    display: none;
    order: 4;
    width: 100%;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-link {
    text-align: center;
  }

  .hero-carousel {
    min-height: 500px;
    border-radius: 24px;
  }

  .hero-content {
    right: 24px;
  }

  .hero-controls {
    justify-content: center;
  }

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

  .rank-row a {
    grid-template-columns: 46px 82px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-number {
    width: 40px;
    height: 40px;
  }

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

@media (max-width: 560px) {
  .container,
  .hero-carousel {
    width: min(100% - 20px, var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .hero-carousel {
    min-height: 540px;
    margin-top: 18px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-tags span {
    padding: 6px 9px;
  }

  .section-heading,
  .detail-title-row {
    display: grid;
  }

  .movie-grid-3,
  .movie-grid-4,
  .compact-grid,
  .category-grid,
  .category-card-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .movie-card-horizontal .poster-frame {
    aspect-ratio: 16 / 9;
  }

  .rank-row a {
    grid-template-columns: 1fr;
  }

  .rank-number {
    position: absolute;
    margin: 10px;
    z-index: 4;
  }

  .rank-row {
    position: relative;
  }

  .rank-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
