body {
  background: #fff7ed;
  color: #1f2937;
}

.site-header {
  backdrop-filter: blur(16px);
}

.site-logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #d97706, #f97316, #fb7185);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.28);
}

.footer-mark {
  width: 2rem;
  height: 2rem;
}

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

.nav-link:hover,
.nav-link.is-active {
  color: #d97706;
}

.mobile-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.7rem;
}

.mobile-toggle span {
  height: 2px;
  background: #92400e;
  border-radius: 99px;
}

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

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

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  color: #374151;
  font-weight: 600;
}

.mobile-link.is-active,
.mobile-link:hover {
  color: #d97706;
}

.hero-slider {
  min-height: 720px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.65s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-backdrop {
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.35;
}

.hero-inner {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-media {
  display: block;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 28px 70px rgba(120, 53, 15, 0.38);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.hero-media:hover {
  transform: rotate(0deg) scale(1.02);
}

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

.hero-media span {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  color: #c2410c;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tag-row span {
  background: #fff7ed;
  color: #b45309;
}

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

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.section-icon.green {
  color: #16a34a;
}

.section-icon.rose {
  color: #e11d48;
}

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

.movie-card img {
  background: transparent;
}

.category-card,
.category-summary,
.category-hero-link {
  position: relative;
}

.category-card {
  display: block;
  min-height: 240px;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 45px rgba(120, 53, 15, 0.16);
}

.category-card img,
.category-hero-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card:hover img,
.category-hero-link:hover img {
  transform: scale(1.08);
}

.category-card::after,
.category-hero-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08));
}

.category-card span,
.category-card em {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
}

.category-card span {
  bottom: 4.2rem;
  font-size: 1.45rem;
  font-weight: 900;
}

.category-card em {
  bottom: 1.5rem;
  font-style: normal;
  color: #ffedd5;
  line-height: 1.5;
}

.category-hero-link {
  display: block;
  height: 220px;
  overflow: hidden;
}

.category-hero-link span {
  position: absolute;
  z-index: 3;
  left: 1.5rem;
  bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sample-links a {
  color: #b45309;
  background: #fff7ed;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.page-hero {
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
}

.category-page-hero,
.detail-hero {
  background-size: cover;
  background-position: center;
}

.detail-hero {
  padding: 4rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #ffedd5;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 700;
}

.detail-cover-card {
  justify-self: center;
  width: min(100%, 430px);
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  transform: rotate(2deg);
}

.detail-cover-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.filter-panel {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 45px rgba(120, 53, 15, 0.1);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #92400e;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.home-search input {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: #374151;
  background: #fffaf5;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus,
.home-search input:focus {
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.28);
}

.home-search {
  display: flex;
  gap: 0.5rem;
  width: min(100%, 460px);
}

.home-search input {
  flex: 1;
}

.home-search button {
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  color: #ffffff;
  background: #d97706;
  font-weight: 800;
}

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

.rank-row {
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(120, 53, 15, 0.08);
  overflow: hidden;
}

.rank-link {
  display: grid;
  grid-template-columns: auto 4.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
}

.rank-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #ffffff;
  font-weight: 900;
}

.rank-link img {
  width: 4.5rem;
  height: 5.75rem;
  border-radius: 0.85rem;
  object-fit: cover;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: #1f2937;
  font-size: 1.05rem;
}

.rank-info em {
  color: #6b7280;
  font-size: 0.9rem;
  font-style: normal;
  margin-top: 0.25rem;
}

.rank-score {
  color: #d97706;
  font-weight: 900;
}

.player-shell {
  position: relative;
  background: #000000;
  min-height: 420px;
  aspect-ratio: 16 / 9;
}

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

.player-shade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shade.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-button {
  width: 5.5rem;
  height: 5.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #c2410c;
  background: rgba(255, 255, 255, 0.92);
  font-size: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  padding-left: 0.25rem;
}

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

.detail-meta div {
  border-radius: 1rem;
  background: #fff7ed;
  padding: 1rem;
}

.detail-meta dt {
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.detail-meta dd {
  color: #374151;
  font-weight: 700;
}

.footer-links a {
  display: block;
  color: #fde68a;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.movie-card.is-hidden {
  display: none;
}

@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .hero-media {
    min-height: 420px;
    transform: none;
  }

  .hero-media img {
    height: 420px;
  }

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

@media (max-width: 767px) {
  .hero-slider,
  .hero-inner {
    min-height: 760px;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-media img {
    height: 320px;
  }

  .home-search {
    width: 100%;
  }

  .rank-link {
    grid-template-columns: auto 3.75rem minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .rank-link img {
    width: 3.75rem;
    height: 5rem;
  }

  .detail-cover-card img {
    height: 420px;
  }

  .player-shell {
    min-height: 260px;
  }
}
