.site-shell {
  min-height: 100vh;
  background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 52%, #fff7ed 100%);
  color: #1f2937;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(251, 207, 232, 0.7);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.site-logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.25);
  flex: 0 0 auto;
}

.site-logo-text {
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #db2777, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-logo-subtitle {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #6b7280;
}

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

.nav-link:hover {
  color: #ec4899;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 13rem;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.14);
  padding: 0.5rem;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: #374151;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.nav-dropdown-panel a:hover {
  color: #ec4899;
  background: #fdf2f8;
}

.search-pill {
  width: 14rem;
  border: 1px solid #fbcfe8;
  border-radius: 9999px;
  background: rgba(253, 242, 248, 0.82);
  padding: 0.58rem 1rem 0.58rem 2.45rem;
  color: #374151;
  outline: none;
  transition: all 0.2s ease;
}

.search-pill:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.65);
  background: #ffffff;
}

.search-icon {
  position: absolute;
  left: 0.82rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.mobile-panel {
  display: none;
  border-top: 1px solid #fbcfe8;
  padding: 1rem 0;
}

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

.mobile-panel a {
  display: block;
  padding: 0.7rem 0.25rem;
  color: #374151;
  font-weight: 600;
}

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

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.8rem);
  line-height: 1.05;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.hero-desc {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.55rem;
  border-radius: 9999px;
  color: #ffffff;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(236, 72, 153, 0.28);
  transition: all 0.22s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 38px rgba(236, 72, 153, 0.36);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: 9999px;
  color: #db2777;
  background: #ffffff;
  border: 1px solid #fbcfe8;
  font-weight: 800;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #fdf2f8;
  transform: translateY(-1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1f2937;
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow.prev {
  left: 1rem;
}

.hero-arrow.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 12;
}

.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.52);
  transition: all 0.25s ease;
}

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

.section-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #1f2937;
  font-size: 1.55rem;
  line-height: 2rem;
  font-weight: 900;
}

.section-title-mark {
  width: 0.38rem;
  height: 1.65rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ec4899, #f43f5e);
}

.section-more {
  color: #ec4899;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: all 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.14);
}

.movie-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #ffe4e6);
}

.movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-thumb img {
  transform: scale(1.1);
}

.movie-thumb-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.54));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-thumb-layer {
  opacity: 1;
}

.play-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 9999px;
  color: #ec4899;
  background: rgba(255, 255, 255, 0.92);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.movie-card:hover .play-bubble {
  transform: scale(1.08);
}

.movie-tag {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  color: #ffffff;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  font-size: 0.76rem;
  font-weight: 800;
}

.movie-body {
  padding: 1rem;
}

.movie-title {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.45rem;
  font-weight: 800;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.movie-card:hover .movie-title {
  color: #ec4899;
}

.movie-desc {
  margin-top: 0.45rem;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.45rem;
  min-height: 2.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.movie-meta span {
  padding: 0.22rem 0.48rem;
  border-radius: 9999px;
  background: #fdf2f8;
  color: #9d174d;
}

.list-card {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: all 0.25s ease;
}

.list-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.list-card .movie-thumb {
  height: 8rem;
  aspect-ratio: auto;
}

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

.category-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 14rem;
  border-radius: 1.25rem;
  padding: 1.4rem;
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(236, 72, 153, 0.22);
  transition: all 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 42px rgba(236, 72, 153, 0.3);
}

.category-tile::after {
  content: '';
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile h3 {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.category-tile p {
  position: relative;
  z-index: 1;
  max-width: 23rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.rank-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: all 0.24s ease;
}

.rank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  font-weight: 900;
  flex: 0 0 auto;
}

.rank-thumb {
  width: 7.5rem;
  height: 4.6rem;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #fce7f3;
  flex: 0 0 auto;
}

.page-hero {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem 0;
}

.page-hero-card {
  border-radius: 1.5rem;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(244, 63, 94, 0.92), rgba(251, 146, 60, 0.88));
  color: #ffffff;
  box-shadow: 0 22px 45px rgba(236, 72, 153, 0.28);
  overflow: hidden;
}

.page-hero-card h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.page-hero-card p {
  max-width: 47rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  margin-bottom: 2rem;
}

.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid #fbcfe8;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  color: #374151;
  outline: none;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #f9a8d4;
  box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.4);
}

.no-result {
  display: none;
  padding: 3rem 1rem;
  text-align: center;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #000000;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  z-index: 3;
}

.player-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72));
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  color: #ec4899;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.22s ease;
}

.player-cover:hover .player-button {
  transform: scale(1.08);
  background: #ffffff;
}

.detail-card {
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
}

.detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 900;
  color: #1f2937;
  letter-spacing: -0.035em;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: #db2777;
  font-weight: 700;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tag-cloud span,
.tag-cloud a {
  display: inline-flex;
  padding: 0.34rem 0.72rem;
  border-radius: 9999px;
  color: #9d174d;
  background: #fce7f3;
  font-size: 0.84rem;
  font-weight: 700;
}

.article-content h2 {
  color: #1f2937;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  color: #374151;
  line-height: 1.85;
  margin-top: 0.75rem;
}

.side-poster {
  width: 100%;
  border-radius: 1.1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fce7f3;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
}

.footer {
  margin-top: 3rem;
  border-top: 1px solid #fbcfe8;
  background: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #db2777;
  font-weight: 700;
}

@media (min-width: 640px) {
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) {
  .filter-panel {
    grid-template-columns: 1fr 15rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
  }
}

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

  .search-pill {
    width: 100%;
  }

  .hero-section {
    height: 430px;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-copy {
    padding: 0 1.25rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .list-card .movie-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rank-thumb {
    width: 6rem;
    height: 3.75rem;
  }
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
