@charset "UTF-8";

:root {
  --coral-50: #fff7f4;
  --coral-100: #ffe8e1;
  --coral-200: #ffd2c7;
  --coral-400: #ff7c64;
  --coral-500: #ff5533;
  --coral-600: #e34021;
  --peach-50: #fff4ed;
  --peach-100: #ffe8d9;
  --ink: #191919;
  --muted: #6b7280;
  --line: #f1cfc5;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(238, 93, 62, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--peach-50) 0%, #ffffff 42%, #fffaf7 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, #ff7c64 0%, #ffb36b 45%, #ff5533 100%);
  box-shadow: 0 16px 40px rgba(227, 64, 33, 0.24);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--coral-500);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  font-size: 14px;
}

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

.nav-link,
.mobile-nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link-active {
  color: var(--coral-600);
  background: rgba(255, 255, 255, 0.92);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.mobile-nav-link {
  display: block;
  color: #374151;
  padding: 12px 14px;
}

.mobile-nav-link:hover,
.mobile-nav-link.nav-link-active {
  color: var(--coral-600);
  background: var(--coral-50);
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #191919;
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 45%, rgba(255, 124, 100, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.92) 0%, rgba(18, 18, 18, 0.66) 48%, rgba(18, 18, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 85, 51, 0.18), rgba(0, 0, 0, 0.86));
}

.hero-content {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  align-items: center;
  gap: 48px;
  padding: 96px 0 82px;
}

.hero-copy {
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--coral-500);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ffd2c7;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  color: #fff4ed;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.12;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.movie-tags,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags span,
.movie-tags span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

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

.primary-button,
.ghost-button,
.rank-action,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.rank-action,
.hero-search button {
  color: #ffffff;
  background: linear-gradient(120deg, var(--coral-500), #ff9f67);
  box-shadow: 0 14px 34px rgba(255, 85, 51, 0.32);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.rank-action:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 26px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 32px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.active {
  width: 32px;
  background: #ffffff;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff, var(--coral-50));
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.page-hero h1,
.side-panel h2,
.detail-copy h1,
.detail-text h2 {
  margin: 0;
  color: #171717;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.compact-heading {
  margin-bottom: 18px;
}

.section-more {
  color: var(--coral-600);
  font-weight: 900;
}

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

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

.category-card {
  position: relative;
  min-height: 142px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 124, 100, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 124, 100, 0.18), transparent 38%),
    #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(238, 93, 62, 0.22);
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 950;
}

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

.category-card b {
  display: inline-flex;
  margin-top: 20px;
  color: var(--coral-600);
}

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

.compact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 76px rgba(238, 93, 62, 0.24);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(120deg, var(--coral-100), #ffffff);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.play-dot {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-500);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.poster-badge,
.poster-type {
  position: absolute;
  top: 12px;
  padding: 5px 9px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.poster-badge {
  left: 12px;
}

.poster-type {
  right: 12px;
  background: var(--coral-500);
}

.movie-card-body {
  padding: 18px;
}

.movie-card-body h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

.movie-card-body h2 a:hover {
  color: var(--coral-600);
}

.movie-card-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.movie-meta {
  margin-bottom: 12px;
}

.movie-meta span {
  color: #6b4a43;
  background: var(--coral-50);
}

.movie-tags span {
  color: var(--coral-600);
  background: var(--coral-100);
}

.movie-card-compact .movie-card-body {
  padding: 14px;
}

.movie-card-compact .movie-card-body h2 {
  font-size: 16px;
}

.movie-card-compact .movie-card-body p,
.movie-card-compact .movie-meta,
.movie-card-compact .movie-tags {
  display: none;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.rank-list-page {
  gap: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(238, 93, 62, 0.12);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--coral-500), #ffb36b);
  font-weight: 950;
}

.rank-poster img {
  width: 96px;
  height: 124px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 950;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 124, 100, 0.2), transparent 44%),
    #ffffff;
  box-shadow: var(--shadow);
}

.side-panel h2 {
  font-size: 28px;
  line-height: 1.18;
}

.side-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-search {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.hero-search input,
.search-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 124, 100, 0.25);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
}

.hero-search input,
.search-input {
  padding: 0 18px;
}

.filter-select {
  padding: 0 14px;
}

.page-hero {
  padding: 92px 0 58px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 124, 100, 0.18), transparent 34%),
    linear-gradient(180deg, #fff2eb, #ffffff);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.empty-state {
  display: none;
  padding: 34px;
  margin-bottom: 24px;
  color: var(--muted);
  text-align: center;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.empty-state.visible {
  display: block;
}

.detail-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 85, 51, 0.2), transparent 34%),
    linear-gradient(180deg, #fff2eb, #ffffff);
}

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

.detail-poster {
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--coral-600);
  font-weight: 800;
}

.detail-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 18px;
}

.detail-meta span {
  color: #6b4a43;
  background: #ffffff;
  border: 1px solid var(--line);
}

.detail-tags {
  margin-bottom: 26px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.player-overlay.is-hidden {
  display: none;
}

.player-play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  color: var(--coral-500);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

.detail-text {
  max-width: 920px;
}

.detail-text h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.detail-text p {
  margin: 0 0 28px;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #ffffff, #fff1ea);
  border-top: 1px solid rgba(255, 124, 100, 0.18);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 220px 260px;
  gap: 32px;
}

.footer-logo {
  color: var(--coral-600);
}

.footer-logo .logo-mark {
  color: #ffffff;
  background: var(--coral-500);
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.footer-links a:hover {
  color: var(--coral-600);
}

.footer-copy {
  padding: 18px 0 30px;
  color: var(--muted);
  text-align: center;
}

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

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

  .hero-content,
  .two-column,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-poster {
    max-width: 360px;
  }

  .side-panel {
    position: static;
  }
}

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-carousel,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    gap: 26px;
    align-content: center;
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading,
  .filter-panel,
  .filter-selects,
  .hero-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-grid-large,
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rank-row {
    grid-template-columns: 42px 82px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / -1;
  }

  .rank-poster img {
    width: 82px;
    height: 108px;
  }

  .movie-card-body {
    padding: 14px;
  }

  .movie-card-body p,
  .movie-meta,
  .movie-tags {
    display: none;
  }

  .footer-inner {
    padding: 42px 0;
  }
}

@media (max-width: 460px) {
  .category-grid,
  .category-grid-large,
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}
