:root {
  --honey-50: #fff8eb;
  --honey-100: #ffedc2;
  --honey-200: #ffd987;
  --honey-300: #ffc44d;
  --honey-400: #f59e0b;
  --honey-500: #d97706;
  --honey-700: #92400e;
  --ink-900: #1f2937;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --paper: #ffffff;
  --line: rgba(146, 64, 14, 0.16);
  --shadow-soft: 0 20px 60px rgba(146, 64, 14, 0.14);
  --shadow-card: 0 14px 36px rgba(146, 64, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 77, 0.22), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 42%, #fff8eb 100%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #f97316, #b45309);
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.28);
}

.honey-text {
  color: transparent;
  background: linear-gradient(135deg, #d97706, #f59e0b, #92400e);
  -webkit-background-clip: text;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--honey-400), #f97316);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form input {
  width: 230px;
  min-height: 42px;
  padding: 0 46px 0 18px;
  border: 2px solid var(--honey-100);
  border-radius: 999px;
  font: inherit;
  outline: none;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus {
  border-color: var(--honey-300);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.search-form button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
  color: var(--ink-700);
}

.mobile-panel a:hover {
  background: var(--honey-50);
  color: var(--honey-700);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff7ed, #fffbeb 46%, #fef3c7);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.76;
}

.hero::before {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 70px;
  background: rgba(251, 191, 36, 0.35);
}

.hero::after {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -130px;
  background: rgba(249, 115, 22, 0.24);
}

.hero-slider {
  position: relative;
  z-index: 1;
}

.hero-slide {
  display: none;
  min-height: 620px;
  align-items: center;
  gap: 54px;
  padding: 70px 0;
}

.hero-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  animation: fadeLift 0.6s ease both;
}

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

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 999px;
  color: var(--honey-700);
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 900;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  color: var(--ink-700);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--honey-700);
  background: rgba(255, 237, 194, 0.72);
  font-size: 14px;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  box-shadow: 0 16px 28px rgba(217, 119, 6, 0.24);
}

.btn-soft {
  color: var(--honey-700);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.hero-poster {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.hero-poster img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

.hero-float {
  position: absolute;
  left: -24px;
  bottom: 40px;
  max-width: 260px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.92), rgba(245, 158, 11, 0.88));
  box-shadow: 0 22px 44px rgba(146, 64, 14, 0.25);
}

.hero-float strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.28);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--honey-400), #ea580c);
}

.section {
  padding: 64px 0;
}

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

.section-kicker {
  margin: 0 0 8px;
  color: var(--honey-700);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-desc {
  margin: 10px 0 0;
  color: var(--ink-500);
  line-height: 1.8;
}

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

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

.movie-card,
.honey-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.card-hover {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card-hover:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 26px 58px rgba(146, 64, 14, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

.movie-card.portrait .poster-link {
  aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.72));
  opacity: 0.82;
}

.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.region-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 41, 55, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--honey-700);
}

.card-line {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-500);
  font-size: 13px;
}

.card-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--honey-50);
}

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

.category-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.24), transparent 46%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.category-card span {
  display: block;
  color: var(--ink-500);
  line-height: 1.7;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  font-size: 22px;
  font-weight: 900;
}

.rank-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

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

.rank-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-content p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-500);
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  padding: 72px 0 42px;
  background:
    radial-gradient(circle at 20% 10%, rgba(251, 191, 36, 0.22), transparent 38%),
    linear-gradient(135deg, #fff7ed, #fffbeb);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--honey-700);
  font-size: 14px;
  font-weight: 800;
}

.detail-hero {
  padding: 46px 0;
}

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

.detail-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: var(--shadow-soft);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-copy .lead {
  margin: 0 0 22px;
  color: var(--ink-700);
  font-size: 20px;
  line-height: 1.75;
}

.meta-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.meta-cell {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.meta-cell span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 700;
}

.meta-cell strong {
  font-size: 16px;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.player-section {
  padding: 0 0 64px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(146, 64, 14, 0.22);
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.18), rgba(15, 23, 42, 0.74));
  cursor: pointer;
  z-index: 2;
}

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

.play-ring {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--honey-400), #ea580c);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
  font-size: 34px;
}

.player-cover span:last-child {
  font-size: 20px;
  font-weight: 900;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid var(--honey-100);
  border-radius: 999px;
  font: inherit;
  outline: none;
}

.search-results-empty {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--ink-500);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #78350f, #92400e 48%, #c2410c);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 48px 0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .header-actions,
  .main-nav {
    display: none;
  }

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

  .hero-slide.is-active,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 520px;
  }

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

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

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

  .hero,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide {
    padding: 44px 0 78px;
  }

  .hero-poster img {
    height: 360px;
  }

  .hero-float {
    left: 16px;
    right: 16px;
    bottom: 24px;
    max-width: none;
  }

  .section {
    padding: 44px 0;
  }

  .section-header {
    display: block;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-ribbon,
  .rank-list,
  .footer-grid,
  .meta-table {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 48px 96px minmax(0, 1fr);
  }

  .rank-number {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 18px;
  }

  .detail-cover {
    max-width: 360px;
  }

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