* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.bg-gradient-candy {
  background: linear-gradient(135deg, #ff6b8e 0%, #ff33aa 50%, #ffa3dd 100%);
}

.bg-gradient-strawberry {
  background: linear-gradient(135deg, #ff3366 0%, #ff6b8e 55%, #ffa3b5 100%);
}

.gummy-card {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px -3px rgba(255, 51, 102, 0.3), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gummy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(255, 51, 102, 0.4);
}

.gummy-button,
.hero-button,
.card-link,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ff3366 0%, #ff6b8e 55%, #ffa3b5 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.78rem 1.35rem;
  box-shadow: 0 2px 15px -3px rgba(255, 51, 102, 0.3), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gummy-button:hover,
.hero-button:hover,
.card-link:hover,
.rank-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(255, 51, 102, 0.4);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  color: #ed1659;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ff3366 0%, #ff6b8e 55%, #ffa3b5 100%);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.5);
}

.brand-name {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link,
.mobile-nav-link {
  border-radius: 1rem;
  color: #4b5563;
  font-weight: 700;
  padding: 0.72rem 1rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover {
  color: #ed1659;
  background: #fff1f3;
}

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 1rem;
  background: #fff1f3;
  padding: 0.7rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 99px;
  background: #ed1659;
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
}

.mobile-nav.open {
  display: grid;
  gap: 0.35rem;
}

.home-hero,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.home-hero {
  min-height: 580px;
  padding: 70px 0 110px;
}

.float-layer {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.float-layer span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #ffffff;
}

.float-layer span:nth-child(1) {
  top: 10%;
  left: 8%;
  width: 8rem;
  height: 8rem;
  animation: float 6s ease-in-out infinite;
}

.float-layer span:nth-child(2) {
  top: 28%;
  right: 13%;
  width: 6rem;
  height: 6rem;
  animation: bounce-slow 3.5s ease-in-out infinite;
}

.float-layer span:nth-child(3) {
  left: 28%;
  bottom: 12%;
  width: 10rem;
  height: 10rem;
  animation: pulse-slow 4s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 2rem;
}

.hero-intro {
  color: #ffffff;
}

.hero-intro h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-intro p,
.page-hero p,
.detail-one-line {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.5rem 0.85rem;
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-category-links a,
.hero-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  padding: 0.72rem 1rem;
}

.hero-carousel {
  position: relative;
  min-height: 430px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  opacity: 0;
  padding: 1.5rem;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

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

.hero-slide h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.hero-slide p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
}

.hero-poster {
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.6rem;
  box-shadow: 0 28px 60px rgba(120, 0, 70, 0.26);
}

.hero-poster img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-tags,
.tag-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.card-meta span {
  display: inline-flex;
  border-radius: 999px;
  background: #fff1f3;
  color: #ed1659;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.36rem 0.65rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-button.light {
  background: #ffffff;
  color: #ed1659;
}

.hero-dots {
  position: absolute;
  right: 1.8rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

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

.hero-dot.active {
  width: 2rem;
  background: #ffffff;
}

.overlap-row {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: -72px;
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #ff3366 0%, #ff6b8e 55%, #ffa3b5 100%);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.5);
}

.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.section-heading p {
  margin: 0.2rem 0 0;
  color: #6b7280;
}

.movie-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.poster-link {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f3, #fef1f9);
}

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

.movie-card:hover .poster-link img,
.rank-item:hover .rank-cover img {
  transform: scale(1.08);
}

.play-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #ed1659;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(120, 0, 70, 0.18);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.movie-card h3,
.rank-item h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.15rem;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-item h3 a:hover {
  color: #ed1659;
}

.movie-card p,
.rank-item p,
.category-tile p,
.category-overview p,
.detail-main p,
.detail-side dd,
.site-footer p {
  color: #5f6877;
  line-height: 1.7;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.35rem;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-link {
  margin-top: auto;
  width: max-content;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.feature-card {
  flex-direction: row;
  align-items: stretch;
}

.feature-card .poster-link {
  width: 42%;
  flex: 0 0 42%;
}

.feature-card .poster-link img {
  height: 100%;
  min-height: 210px;
  aspect-ratio: auto;
}

.horizontal-card,
.rank-item {
  flex-direction: row;
}

.horizontal-card .poster-link {
  width: 36%;
  flex: 0 0 36%;
}

.horizontal-card .poster-link img {
  height: 100%;
  aspect-ratio: auto;
}

.soft-band {
  background: linear-gradient(90deg, #fef1f9 0%, #fff1f3 100%);
  padding: 64px 0;
}

.scroll-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.scroll-card {
  width: 320px;
  flex: 0 0 320px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  scrollbar-width: none;
}

.rank-list {
  display: grid;
  gap: 1rem;
}

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

.rank-item {
  position: relative;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
}

.rank-cover {
  overflow: hidden;
  width: 112px;
  height: 94px;
  flex: 0 0 112px;
  border-radius: 1.2rem;
  background: #fff1f3;
}

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

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 1rem;
  background: #fff1f3;
  color: #ed1659;
  font-weight: 900;
}

.rank-content {
  flex: 1;
}

.rank-content p {
  margin: 0.35rem 0 0.55rem;
}

.rank-action {
  padding: 0.65rem 0.95rem;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-tile {
  padding: 1.1rem;
}

.category-posters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-posters img,
.mini-poster-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  object-fit: cover;
  background: #fff1f3;
}

.category-tile h3,
.category-overview h2,
.detail-main h2,
.detail-side h2 {
  margin: 0 0 0.55rem;
  color: #1f2937;
}

.category-overview {
  padding: 1.2rem;
}

.mini-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.mini-poster-grid a {
  display: grid;
  gap: 0.45rem;
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 700;
}

.mini-poster-grid span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.cta-band {
  margin-top: 72px;
  padding: 72px 0;
  color: #ffffff;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-inner p {
  margin: 0 auto 1.5rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.page-hero {
  padding: 88px 0 72px;
  color: #ffffff;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.page-crumb a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.filter-panel {
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(160px, 0.6fr));
  gap: 0.85rem;
}

.filter-grid label {
  display: grid;
  gap: 0.4rem;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-field {
  width: 100%;
  border: 1px solid #ffd3df;
  border-radius: 1rem;
  background: #ffffff;
  color: #1f2937;
  outline: 0;
  padding: 0.78rem 0.9rem;
}

.filter-field:focus {
  border-color: #ff6b8e;
  box-shadow: 0 0 0 4px rgba(255, 107, 142, 0.15);
}

.detail-hero {
  padding: 74px 0 86px;
  color: #ffffff;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.detail-poster {
  border: 10px solid rgba(255, 255, 255, 0.22);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #fff1f3;
}

.detail-copy .detail-meta span,
.detail-copy .tag-row span {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.detail-meta,
.tag-row.large {
  margin: 1rem 0;
}

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

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(17, 24, 39, 0.38);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: #ed1659;
  font-size: 2.4rem;
  line-height: 1;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.player-wrap.is-playing .play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 1.25rem;
}

.detail-main,
.detail-side {
  padding: 1.5rem;
}

.detail-main p {
  font-size: 1.05rem;
}

.detail-side dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.detail-side dt {
  color: #ed1659;
  font-size: 0.84rem;
  font-weight: 900;
}

.detail-side dd {
  margin: -0.5rem 0 0;
}

.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  color: #ed1659;
}

.site-footer a:not(.brand) {
  display: block;
  width: max-content;
  margin: 0.45rem 0;
  color: #5f6877;
}

.site-footer a:hover {
  color: #ed1659;
}

.footer-bottom {
  border-top: 1px solid #ffe1e8;
  color: #6b7280;
  padding: 1.1rem;
  text-align: center;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.55;
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 460px;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .home-hero {
    padding: 46px 0 95px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  .hero-poster img {
    height: 230px;
  }

  .overlap-row,
  .cols-3,
  .cols-4,
  .rank-list.compact,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .horizontal-card,
  .rank-item {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-card .poster-link,
  .horizontal-card .poster-link,
  .rank-cover {
    width: 100%;
    height: auto;
    flex: none;
  }

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

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

  .site-shell {
    width: min(100% - 24px, 1180px);
  }
}
