:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fde68a;
  --brand: #f59e0b;
  --brand-dark: #d97706;
  --accent: #fb923c;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.16);
  --shadow-soft: 0 12px 30px rgba(31, 41, 55, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fff7ed 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96), rgba(255, 251, 235, 0.96));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.34);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(5deg);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #d97706, #ea580c);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  color: #6b7280;
  font-size: 12px;
}

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

.nav-link {
  color: #374151;
  font-weight: 700;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  border-radius: 14px;
  background: rgba(254, 243, 199, 0.92);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #92400e;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 12px 22px 20px;
  border-top: 1px solid #fed7aa;
  background: #ffffff;
}

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

.mobile-nav .nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 55%, #fbbf24 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(38px);
  animation: floatPulse 7s ease-in-out infinite;
}

.orb-one {
  width: 260px;
  height: 260px;
  left: 5%;
  top: 40px;
}

.orb-two {
  width: 380px;
  height: 380px;
  right: 4%;
  bottom: -80px;
  animation-delay: 1.6s;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-18px);
    opacity: 0.72;
  }
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 620px;
  margin: 0 auto;
  padding: 76px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 9px 16px;
  color: #fff7ed;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.72;
}

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

.primary-btn,
.ghost-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #b45309;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(120, 53, 15, 0.2);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.text-btn {
  color: #d97706;
  background: #fff7ed;
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-quick a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
}

.hero-slider {
  position: relative;
  min-height: 470px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(120, 53, 15, 0.36);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.82));
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.hero-slide-copy span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  font-size: 13px;
  font-weight: 800;
}

.hero-slide-copy h2 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.hero-slide-copy p {
  max-width: 560px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.hero-slide-copy a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

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

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

.main-wrap,
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 22px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 58px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.section-block {
  margin-top: 70px;
}

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

.section-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-head a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 13px;
  color: #d97706;
  background: #fff7ed;
  font-weight: 800;
}

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

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

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

.movie-card[hidden] {
  display: none;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.46s ease;
}

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

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.72));
}

.card-badge,
.rank-mark {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #f59e0b;
  font-size: 12px;
  font-weight: 900;
}

.rank-mark {
  left: auto;
  right: 13px;
  min-width: 36px;
  text-align: center;
  background: #ef4444;
}

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.9);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0;
  min-height: 2.8em;
  font-size: 18px;
  line-height: 1.4;
}

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

.card-body p {
  min-height: 3.3em;
  margin: 10px 0 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.card-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #b45309;
  background: #fef3c7;
  font-size: 12px;
  font-weight: 800;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9ca3af;
  font-size: 12px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card .feature-image {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 44px;
  display: grid;
  align-content: center;
}

.feature-content h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.feature-content p {
  color: #4b5563;
  line-height: 1.9;
}

.feature-content .card-tags {
  margin: 20px 0 26px;
}

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

.category-box {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffff, #fff7ed);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: grid;
  align-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-box::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  opacity: 0.16;
}

.category-box h2,
.category-box h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-box p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.category-box span {
  color: #d97706;
  font-weight: 900;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mini-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
}

.mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #ef4444;
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.mini-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.mini-info strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.mini-info em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

.filter-scope {
  margin-top: 34px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(150px, 0.6fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 8px;
}

.filter-panel span {
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fffaf0;
  color: #374151;
  outline: none;
  padding: 0 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.filter-status {
  margin: -10px 0 24px;
  color: #6b7280;
  font-size: 14px;
}

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

.breadcrumb a {
  color: #d97706;
  font-weight: 800;
}

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

.player-panel,
.detail-card,
.side-card {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-panel {
  overflow: hidden;
  margin-bottom: 24px;
  background: #111827;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.76));
  cursor: pointer;
}

.player-overlay[hidden] {
  display: none;
}

.player-overlay-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.player-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  font-size: 30px;
  transform: translateX(2px);
}

.player-overlay strong {
  max-width: 600px;
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.2;
}

.player-loading,
.player-error {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  font-weight: 800;
}

.player-loading[hidden],
.player-error[hidden] {
  display: none;
}

.detail-card {
  padding: 32px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.detail-intro {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.85;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.detail-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #374151;
  background: #f9fafb;
  border: 1px solid #fde68a;
  font-weight: 800;
  font-size: 13px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.detail-section {
  border-top: 1px solid #fde68a;
  padding-top: 26px;
  margin-top: 26px;
}

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-section p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
  white-space: pre-line;
}

.detail-side {
  position: sticky;
  top: 96px;
}

.side-card {
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.more-grid {
  margin-top: 42px;
}

.site-footer {
  margin-top: 70px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 22px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h2 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 9px;
  color: #9ca3af;
  line-height: 1.8;
  font-size: 14px;
}

.footer-grid a:hover {
  color: #fbbf24;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero-inner,
  .feature-card,
  .split-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 18px;
    gap: 32px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 360px;
  }

  .hero-slide-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .main-wrap,
  .page-wrap {
    padding: 42px 16px;
  }

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }

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

  .card-grid,
  .card-grid.three,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-content,
  .detail-card {
    padding: 24px;
  }

  .feature-card .feature-image {
    min-height: 260px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
