body {
  min-height: 100vh;
  background: linear-gradient(to bottom, #fff7ed, #fffbeb);
  color: #1f2937;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to right, #fffbeb, #fff7ed);
  border-bottom: 1px solid #fed7aa;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  font-weight: 800;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.brand-name {
  font-size: 1.25rem;
  white-space: nowrap;
}

.header-search {
  display: none;
  flex: 1;
  max-width: 25rem;
}

.header-search input,
.mobile-search input,
.banner-search input,
.search-large input {
  width: 100%;
  border: 1px solid #fed7aa;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #1f2937;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.banner-search input:focus,
.search-large input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.22);
}

.header-search {
  position: relative;
}

.header-search input {
  padding: 0.65rem 5rem 0.65rem 1rem;
}

.header-search button,
.mobile-search button,
.banner-search button,
.search-large button {
  border: 0;
  border-radius: 0.75rem;
  color: #ffffff;
  background: #f97316;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  bottom: 0.3rem;
  padding: 0 1rem;
}

.header-search button:hover,
.mobile-search button:hover,
.banner-search button:hover,
.search-large button:hover,
.primary-button:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  color: #4b5563;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover,
.nav-link.active {
  color: #ea580c;
  background: #ffedd5;
}

.mobile-menu-button {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  border: 0;
  border-radius: 0.75rem;
  background: #ffedd5;
}

.mobile-menu-button span {
  width: 1.25rem;
  height: 2px;
  background: #9a3412;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid #fed7aa;
}

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

.mobile-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-search input {
  padding: 0.7rem 0.85rem;
}

.mobile-search button {
  padding: 0 0.85rem;
}

.site-main {
  min-height: 70vh;
}

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

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

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease;
}

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

.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
}

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

.hero-copy {
  max-width: 38rem;
  color: #ffffff;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #ffedd5;
  background: rgba(249, 115, 22, 0.86);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-copy h1,
.page-banner-card h1,
.search-hero-card h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  margin: 1.25rem 0 0;
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0 1.35rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: #f97316;
  box-shadow: 0 16px 26px rgba(249, 115, 22, 0.32);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.18);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  font-size: 2rem;
  cursor: pointer;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

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

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

.hero-dot.is-active {
  width: 1.8rem;
  background: #f97316;
}

.quick-entry {
  margin-top: -2rem;
  position: relative;
  z-index: 4;
}

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

.quick-entry-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem;
  border: 1px solid #fed7aa;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-entry-grid a:hover,
.movie-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 24px 38px rgba(15, 23, 42, 0.16);
}

.quick-entry-grid strong {
  color: #1f2937;
  font-size: 1.08rem;
}

.quick-entry-grid span {
  color: #ea580c;
  font-size: 0.92rem;
  font-weight: 700;
}

.content-section,
.listing-section {
  padding: 3rem 0 0;
}

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

.section-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: #6b7280;
}

.section-more {
  display: inline-flex;
  color: #ea580c;
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-type,
.rank-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
}

.rank-badge {
  left: auto;
  right: 0.65rem;
  background: rgba(17, 24, 39, 0.8);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
  padding: 0.85rem;
}

.movie-card-body h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.movie-card-body h3 a:hover {
  color: #ea580c;
}

.movie-card-body p {
  min-height: 2.7em;
  margin: 0.45rem 0 0;
  color: #6b7280;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.86rem;
  line-height: 1.45;
}

.movie-meta {
  margin-top: 0.55rem;
  color: #ea580c;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-banner,
.search-page,
.detail-hero {
  padding: 2.5rem 0 0;
}

.page-banner-card,
.search-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.24);
}

.page-banner-card p,
.search-hero-card p {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  color: #fff7ed;
  line-height: 1.8;
}

.page-banner-card .page-kicker,
.search-hero-card .page-kicker,
.detail-copy .page-kicker {
  color: #9a3412;
  background: #ffedd5;
}

.banner-search {
  width: min(100%, 26rem);
  display: flex;
  gap: 0.5rem;
}

.banner-search input,
.search-large input {
  padding: 0.85rem 1rem;
}

.banner-search button,
.search-large button {
  padding: 0 1.1rem;
  white-space: nowrap;
  background: #111827;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  min-width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.75rem;
  background: #ffffff;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-weight: 800;
}

.pagination .is-current {
  color: #ffffff;
  background: #f97316;
  border-color: #f97316;
}

.rank-panel {
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.rank-row {
  display: grid;
  grid-template-columns: 3rem 4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ffedd5;
  transition: background 0.2s ease;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row:hover {
  background: #fff7ed;
}

.rank-num {
  color: #f97316;
  font-size: 1.2rem;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 4rem;
  height: 5.8rem;
  object-fit: cover;
  border-radius: 0.65rem;
}

.rank-info {
  display: grid;
  gap: 0.25rem;
}

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

.rank-info em {
  color: #6b7280;
  font-style: normal;
  font-size: 0.88rem;
}

.rank-action {
  color: #ffffff;
  background: #f97316;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
}

.search-hero-card {
  display: block;
  text-align: center;
}

.search-large {
  width: min(100%, 42rem);
  display: flex;
  gap: 0.65rem;
  margin: 1.5rem auto 0;
}

.search-results-section[hidden] {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.55fr);
  gap: 1.5rem;
  align-items: stretch;
}

.player-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 1.35rem;
  background: #000000;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.2);
}

.movie-video {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  object-fit: contain;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.24), rgba(0, 0, 0, 0.5));
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
}

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

.player-icon {
  width: 4.6rem;
  height: 4.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.35);
  font-size: 2rem;
  text-indent: 0.2rem;
}

.detail-info {
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.detail-poster {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.detail-copy {
  padding: 1.25rem;
}

.detail-copy h1 {
  color: #1f2937;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-shadow: none;
}

.detail-copy p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0.9rem 0 0;
}

.detail-tags span {
  color: #9a3412;
  background: #ffedd5;
}

.detail-content {
  padding: 2rem 0 0;
}

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

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

.meta-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

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

.meta-panel span {
  display: block;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
}

.meta-panel strong {
  display: block;
  margin-top: 0.25rem;
  color: #1f2937;
  font-size: 0.95rem;
}

.detail-article h2,
.side-card h2 {
  margin: 1.25rem 0 0.75rem;
  color: #1f2937;
  font-size: 1.35rem;
  font-weight: 900;
}

.detail-article h2:first-of-type,
.side-card h2:first-child {
  margin-top: 0;
}

.detail-article p {
  color: #4b5563;
  line-height: 1.9;
}

.prev-next {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.prev-next a,
.side-card a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  color: #9a3412;
  background: #fff7ed;
  font-weight: 800;
}

.prev-next a:hover,
.side-card a:hover {
  color: #ffffff;
  background: #f97316;
}

.side-card {
  align-self: start;
}

.side-card a + a {
  margin-top: 0.65rem;
}

.related-section {
  padding-top: 2rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  color: #ffffff;
}

.footer-text {
  max-width: 34rem;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-title {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #d1d5db;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  text-align: center;
  font-size: 0.9rem;
}

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

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-button {
    display: none;
  }
}

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

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

@media (max-width: 860px) {
  .hero-slider {
    height: 430px;
  }

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

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

  .page-banner-card,
  .banner-search,
  .search-large {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .hero-slider {
    height: 420px;
  }

  .hero-control {
    display: none;
  }

  .quick-entry-grid,
  .movie-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-section,
  .listing-section {
    padding-top: 2rem;
  }

  .page-banner,
  .search-page,
  .detail-hero {
    padding-top: 1.5rem;
  }

  .player-card,
  .movie-video {
    min-height: 240px;
  }

  .rank-row {
    grid-template-columns: 2.25rem 3.2rem 1fr;
  }

  .rank-action {
    display: none;
  }

  .rank-row img {
    width: 3.2rem;
    height: 4.6rem;
  }
}
