:root {
  --brand: #f97316;
  --brand-dark: #ea580c;
  --brand-soft: #ffedd5;
  --ink: #1f2937;
  --muted: #6b7280;
  --paper: #ffffff;
  --line: #fed7aa;
  --shadow: 0 24px 60px rgba(234, 88, 12, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 50%, #fff7ed 100%);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(90deg, #b45309, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand em {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

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

.nav-link,
.mobile-link {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand);
  background: #fff7ed;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: #fff7ed;
  color: var(--brand);
  font-size: 24px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #ffedd5;
  padding: 12px 16px 18px;
  background: #fff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fb923c 0%, #f59e0b 45%, #facc15 100%);
  color: #fff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.28), transparent 26%), radial-gradient(circle at 80% 15%, rgba(255,255,255,0.2), transparent 24%), linear-gradient(90deg, rgba(124, 45, 18, 0.2), transparent);
}

.hero-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(10px);
}

.hero-glow-one {
  top: 60px;
  left: 10%;
}

.hero-glow-two {
  right: 10%;
  bottom: 42px;
}

.hero-container {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-carousel {
  width: 100%;
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  align-items: center;
  gap: 56px;
  animation: fadeUp 0.45s ease both;
}

.hero-slide.is-active {
  display: grid;
}

.hero-kicker {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.98;
  font-weight: 900;
  margin: 0 0 22px;
  text-shadow: 0 20px 36px rgba(124, 45, 18, 0.18);
}

.hero-desc {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  color: #fff7ed;
  margin: 0 0 20px;
}

.hero-tags,
.detail-tags,
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero-tags span,
.detail-tags span,
.genre-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.detail-tags span,
.genre-tags span {
  background: #fff7ed;
  color: var(--brand-dark);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-primary,
.hero-secondary,
.orange-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 16px 32px rgba(124, 45, 18, 0.16);
}

.hero-secondary {
  background: rgba(194, 65, 12, 0.55);
  color: #fff;
}

.hero-primary:hover,
.hero-secondary:hover,
.orange-band a:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #fdba74, #fef3c7);
  box-shadow: 0 36px 80px rgba(124, 45, 18, 0.32);
  transform: rotate(2deg);
}

.hero-poster img,
.movie-cover img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-poster span,
.play-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: -56px;
  display: flex;
  gap: 10px;
}

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

.hero-dot.is-active {
  background: #fff;
}

.service-strip,
.white-section {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px 0;
  text-align: center;
}

.service-grid div {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.service-grid span {
  display: block;
  font-size: 36px;
  margin-bottom: 12px;
}

.service-grid h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-link {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(249, 115, 22, 0.24);
}

.movie-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

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

.movie-cover img {
  transition: transform 0.45s ease;
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 10px;
  right: auto;
  background: #dc2626;
}

.play-mark {
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
  transform: scale(1);
}

.movie-info {
  padding: 16px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.movie-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff7ed;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact .movie-info {
  padding: 12px;
}

.compact .movie-info h3 {
  font-size: 15px;
}

.compact .movie-info p {
  display: none;
}

.movie-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d97706;
}

.movie-rating span {
  color: #f59e0b;
}

.orange-band {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.band-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
}

.orange-band h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
}

.orange-band p {
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.8;
}

.orange-band a {
  margin-top: 18px;
  background: #fff;
  color: var(--brand);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.rank-row span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-weight: 900;
}

.rank-row strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  color: #ffedd5;
  font-style: normal;
  font-size: 13px;
}

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

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

.category-tile {
  display: block;
  min-height: 160px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(249, 115, 22, 0.2);
}

.category-tile span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.category-tile h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  font-weight: 900;
}

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

.page-main,
.detail-main {
  min-height: 60vh;
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
}

.compact-hero p {
  margin: 0 0 12px;
  font-weight: 900;
  color: #ffedd5;
}

.compact-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
}

.compact-hero span {
  display: block;
  max-width: 760px;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.1);
}

.filter-panel.wide {
  grid-template-columns: 1fr 220px;
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
  color: var(--ink);
  background: #fff7ed;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.detail-hero {
  padding: 58px 0;
  color: #fff;
  background: radial-gradient(circle at 78% 16%, rgba(255,255,255,0.2), transparent 24%), linear-gradient(135deg, #c2410c, #f97316 52%, #f59e0b);
}

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

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #fdba74, #fef3c7);
  box-shadow: 0 26px 60px rgba(124, 45, 18, 0.3);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffedd5;
  font-size: 14px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
}

.detail-one {
  max-width: 860px;
  margin: 0 0 22px;
  color: #fff7ed;
  font-size: 20px;
  line-height: 1.75;
}

.player-section {
  padding: 34px 0 0;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #050505;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0,0,0,0.58), rgba(0,0,0,0.22));
}

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

.player-cover span {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin: 0 auto;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.2);
}

.player-cover strong {
  font-size: 18px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.text-card,
.info-card,
.faq-list article {
  border-radius: 28px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.12);
}

.text-card h2,
.info-card h2,
.faq-list h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

.text-card p,
.faq-list p {
  margin: 0 0 22px;
  color: #374151;
  line-height: 1.9;
  font-size: 16px;
}

.text-card p:last-child,
.faq-list p:last-child {
  margin-bottom: 0;
}

.info-card {
  position: sticky;
  top: 96px;
}

.info-card dl {
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
}

.info-card dt {
  color: var(--muted);
  font-size: 13px;
}

.info-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.narrow {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.site-footer {
  padding-top: 48px;
  background: #111827;
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.site-footer p {
  max-width: 520px;
  line-height: 1.8;
  color: #9ca3af;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

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

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

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

.footer-bottom {
  margin-top: 42px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-container {
    min-height: auto;
    padding: 52px 0 96px;
  }

  .hero-slide,
  .detail-grid,
  .band-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-dots {
    bottom: -46px;
  }

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

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 14px;
  }

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

  .filter-panel,
  .filter-panel.wide {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 36px 1fr auto;
  }

  .rank-row em {
    display: none;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    height: 66px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand em {
    display: none;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .hero-desc,
  .detail-one {
    font-size: 16px;
  }

  .movie-grid,
  .movie-grid.six-cols {
    gap: 12px;
  }

  .movie-info {
    padding: 11px;
  }

  .movie-meta span {
    font-size: 11px;
  }

  .movie-info h3 {
    font-size: 14px;
  }

  .movie-info p {
    display: none;
  }

  .content-section {
    padding: 48px 0;
  }

  .player-shell {
    border-radius: 16px;
  }
}
