:root {
  --strawberry-50: #fff1f5;
  --strawberry-100: #ffe4ec;
  --strawberry-400: #ff6b8e;
  --strawberry-500: #ff3366;
  --strawberry-600: #e11d48;
  --candy-300: #ffa3b5;
  --candy-400: #ff7ab1;
  --gummy-300: #ffd166;
  --gummy-400: #f59e0b;
  --jelly-400: #a78bfa;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(255, 51, 102, 0.12);
  --shadow-gummy: 0 2px 15px -3px rgba(255, 51, 102, 0.30), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
  --shadow-float: 0 20px 60px -15px rgba(255, 51, 102, 0.40);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 48%, #fef2f2 100%);
}

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

img {
  display: block;
  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;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(244, 63, 94, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--strawberry-600);
  font-weight: 800;
  font-size: 24px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
  box-shadow: var(--shadow-gummy);
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 16px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--strawberry-600);
  background: var(--strawberry-50);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: var(--strawberry-50);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--strawberry-600);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--strawberry-600);
  background: var(--strawberry-50);
}

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

.gummy-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-gummy);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gummy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.gummy-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.gummy-button {
  color: #fff;
  background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
  box-shadow: var(--shadow-gummy);
}

.gummy-button:hover,
.light-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.light-button {
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.88);
}

.hero-section {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #ff3366 0%, #ff7ab1 48%, #ffa3b5 100%);
}

.hero-bubbles span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-bubbles span:nth-child(1) {
  top: 44px;
  left: 8%;
  width: 150px;
  height: 150px;
  animation: float 6s ease-in-out infinite;
}

.hero-bubbles span:nth-child(2) {
  top: 210px;
  right: 12%;
  width: 104px;
  height: 104px;
  animation: bounce-slow 3.8s ease-in-out infinite;
}

.hero-bubbles span:nth-child(3) {
  bottom: 70px;
  left: 32%;
  width: 190px;
  height: 190px;
  animation: pulse-slow 4.6s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: center;
  min-height: 540px;
  padding: 54px 0 118px;
}

.hero-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 900;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.85;
}

.hero-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-search,
.search-page-form {
  display: flex;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 8px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-gummy);
}

.hero-search input,
.search-page-form input,
.list-toolbar input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.hero-search input,
.search-page-form input {
  padding: 0 16px;
}

.hero-search button {
  min-width: 92px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #ff3366, #ff7ab1);
}

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

.hero-spotlight {
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.hero-spotlight a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  background: var(--strawberry-100);
}

.hero-spotlight img,
.poster-link img,
.horizontal-cover img,
.rank-cover img,
.category-card img,
.category-overview-card img,
.detail-poster img,
.hero-mini-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-spotlight:hover img,
.movie-card:hover img,
.rank-card:hover img,
.category-card:hover img,
.category-overview-card:hover img,
.hero-mini-card:hover img {
  transform: scale(1.07);
}

.hero-spotlight h2 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 26px;
}

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

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

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

.hero-tags span,
.movie-meta span,
.detail-meta span,
.tag-row span,
.movie-kicker a,
.movie-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: var(--strawberry-50);
  font-size: 12px;
  font-weight: 800;
}

.score-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-weight: 900;
}

.inline-score {
  position: static;
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  background: linear-gradient(135deg, #ff3366, #ff7ab1);
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-gummy);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-mark.large {
  width: 68px;
  height: 68px;
  font-size: 24px;
}

.play-mark.small {
  width: 42px;
  height: 42px;
}

.poster-link:hover .play-mark,
.horizontal-cover:hover .play-mark,
.hero-spotlight a:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-featured-overlap {
  position: relative;
  z-index: 8;
  margin-top: -76px;
  margin-bottom: 70px;
}

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

.hero-mini-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-radius: 28px;
  color: #fff;
  box-shadow: var(--shadow-gummy);
}

.hero-mini-card::after,
.poster-link::after,
.horizontal-cover::after,
.rank-cover::after,
.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(17, 24, 39, 0.74), rgba(17, 24, 39, 0.08));
}

.hero-mini-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  font-weight: 900;
}

.home-section,
.page-section {
  margin-bottom: 76px;
}

.latest-band,
.category-band {
  padding: 64px 0;
  background: linear-gradient(90deg, rgba(255, 241, 245, 0.9), rgba(255, 247, 237, 0.9));
}

.category-band {
  background: rgba(255, 255, 255, 0.82);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.heading-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff3366, #ff7ab1, #ffa3b5);
  box-shadow: var(--shadow-gummy);
  font-size: 22px;
  font-weight: 900;
}

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

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

.section-more {
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--strawberry-600);
  background: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-gummy);
}

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

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

.movie-card,
.rank-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-gummy);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover,
.rank-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.poster-link,
.horizontal-cover,
.rank-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--strawberry-100);
}

.poster-link {
  aspect-ratio: 3 / 4;
}

.movie-info,
.horizontal-body,
.rank-body {
  padding: 16px;
}

.movie-kicker {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.movie-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: var(--strawberry-600);
}

.movie-info p,
.horizontal-body p,
.rank-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 280px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

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

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

.horizontal-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
}

.horizontal-cover {
  aspect-ratio: 4 / 3;
  height: 100%;
}

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

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 30px;
  color: #fff;
  box-shadow: var(--shadow-gummy);
}

.category-card span,
.category-card small {
  position: absolute;
  right: 18px;
  left: 18px;
  z-index: 2;
}

.category-card span {
  bottom: 58px;
  font-size: 22px;
  font-weight: 900;
}

.category-card small {
  bottom: 18px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 112px minmax(0, 1fr);
  align-items: stretch;
}

.rank-number {
  display: grid;
  place-items: center;
  color: var(--strawberry-600);
  font-size: 24px;
  font-weight: 900;
}

.rank-cover {
  aspect-ratio: 3 / 4;
}

.page-hero,
.detail-hero {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(135deg, #ff3366, #ff7ab1, #ffa3b5);
}

.page-hero .hero-label,
.detail-hero .hero-label {
  color: var(--strawberry-600);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

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

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.85fr);
  gap: 30px;
  align-items: center;
}

.category-highlight {
  display: grid;
  gap: 14px;
}

.category-highlight .horizontal-card {
  grid-template-columns: 110px minmax(0, 1fr);
  border-radius: 22px;
}

.category-highlight .horizontal-body {
  padding: 12px;
}

.category-highlight .movie-title {
  font-size: 16px;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 22px;
}

.list-toolbar h2 {
  margin: 0 0 6px;
}

.list-toolbar p {
  margin: 0;
  color: var(--muted);
}

.list-toolbar input {
  max-width: 360px;
  padding: 0 18px;
  border: 2px solid var(--strawberry-100);
  border-radius: 18px;
  background: #fff;
}

.category-overview-card a {
  display: grid;
  height: 100%;
  min-height: 310px;
  grid-template-rows: 190px minmax(0, 1fr);
}

.category-overview-card div {
  padding: 20px;
}

.category-overview-card h2 {
  margin: 0 0 10px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.category-overview-card span {
  display: inline-flex;
  color: var(--strawberry-600);
  font-weight: 900;
}

.search-hero .search-page-form {
  max-width: 760px;
}

.search-page-form button {
  min-width: 110px;
}

.search-status {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
}

.detail-copy p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
}

.detail-meta,
.tag-row {
  margin-top: 18px;
}

.detail-meta span,
.tag-row span {
  background: rgba(255, 255, 255, 0.92);
}

.player-section h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #050505;
  box-shadow: var(--shadow-float);
  aspect-ratio: 16 / 9;
}

.player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050505;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.2));
  cursor: pointer;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: var(--strawberry-600);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-gummy);
  font-size: 28px;
}

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

.player-frame.is-playing .player-overlay {
  display: none;
}

.article-card {
  padding: 28px;
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card h2:not(:first-child) {
  margin-top: 28px;
}

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

.site-footer {
  padding: 58px 0 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88), #fff1f5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--strawberry-600);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

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

.footer-bottom {
  margin-top: 36px;
  padding: 18px;
  border-top: 1px solid rgba(255, 51, 102, 0.12);
  color: var(--muted);
  text-align: center;
}

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

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

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

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(-18px);
  }

  50% {
    transform: translateY(12px);
  }
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.18;
    transform: scale(1);
  }

  50% {
    opacity: 0.34;
    transform: scale(1.08);
  }
}

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

  .rank-list.compact {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .page-hero-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 44px 0 118px;
  }

  .hero-mini-grid,
  .movie-grid,
  .large-grid,
  .category-grid,
  .category-overview-grid,
  .horizontal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .list-toolbar input {
    max-width: none;
  }
}

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

  .brand {
    font-size: 20px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

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

  .hero-grid {
    min-height: auto;
    gap: 28px;
    padding: 34px 0 98px;
  }

  .hero-search,
  .search-page-form {
    flex-direction: column;
    border-radius: 22px;
  }

  .hero-search button,
  .search-page-form button {
    min-height: 44px;
  }

  .hero-mini-grid,
  .movie-grid,
  .large-grid,
  .category-grid,
  .category-overview-grid,
  .horizontal-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card,
  .category-highlight .horizontal-card,
  .rank-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rank-card {
    grid-template-columns: 44px 84px minmax(0, 1fr);
  }

  .movie-info,
  .horizontal-body,
  .rank-body {
    padding: 13px;
  }

  .page-hero,
  .detail-hero {
    padding: 44px 0;
  }

  .player-frame {
    border-radius: 22px;
  }

  .footer-grid {
    gap: 20px;
  }
}
