:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --yellow: #f59e0b;
  --green: #10b981;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
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: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.28);
  font-size: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav-link {
  color: #4b5563;
  font-weight: 600;
  padding: 8px 2px;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--pink-dark);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.header-search input, .mobile-search input, .filter-panel input, .filter-panel select {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
}
.header-search input {
  width: 190px;
  padding: 6px 8px 6px 14px;
}
.header-search button, .mobile-search button, .btn-primary, .btn-secondary, .filter-panel button, .play-button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.header-search button, .filter-panel button, .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.23);
}
.header-search button {
  padding: 7px 16px;
}
.header-search button:hover, .filter-panel button:hover, .btn-primary:hover, .play-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.3);
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 24px 20px;
  background: #fff;
}
.mobile-nav.open {
  display: grid;
  gap: 12px;
}
.mobile-link {
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: #4b5563;
}
.mobile-link.active, .mobile-link:hover {
  background: #fce7f3;
  color: var(--pink-dark);
}
.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: #f3f4f6;
  border-radius: 16px;
  padding: 8px;
}
.mobile-search input {
  padding: 8px 10px;
}
.mobile-search button {
  padding: 8px 16px;
  background: var(--text);
  color: #fff;
}
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 48%, #dcfce7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.95) 0 2px, transparent 3px), radial-gradient(circle at 80% 50%, rgba(255,255,255,0.75) 0 2px, transparent 3px);
  background-size: 60px 60px, 90px 90px;
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 600px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 56px;
}
.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.gradient-text {
  background: linear-gradient(90deg, #ca8a04, var(--pink), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #4b5563;
  font-size: 20px;
}
.hero-actions, .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
}
.btn-secondary {
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--soft-shadow);
}
.hero-pills {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-pills a, .tag-row span, .meta-chip, .breadcrumb a, .breadcrumb span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}
.hero-pills a {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.68);
  color: #4b5563;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.7);
}
.hero-showcase {
  position: relative;
}
.hero-slide {
  display: none;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(0);
}
.hero-slide.active {
  display: block;
  animation: fadeSlide 0.55s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}
.hero-poster img, .poster-wrap img, .detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-poster::after, .poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.72));
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}
.hero-caption h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}
.hero-caption p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
}
.hero-caption a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-dark);
  font-weight: 800;
}
.hero-thumbs {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  gap: 10px;
}
.hero-thumb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.hero-thumb.active {
  height: 28px;
  background: #fff;
}
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section.alt {
  max-width: none;
  background: linear-gradient(90deg, #ecfdf5, #fffbeb);
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-heading {
  margin-bottom: 34px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: var(--pink-dark);
  background: #fce7f3;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.section-heading h2, .page-title h1, .detail-content h2 {
  margin: 0 0 12px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}
.section-heading p, .page-title p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.grid.compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(236,72,153,0.24);
}
.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}
.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
}
.play-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: var(--pink);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}
.poster-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 700;
}
.rank-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}
.card-body {
  padding: 18px;
}
.card-kicker {
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-card h3 {
  margin: 0 0 10px;
  min-height: 48px;
  line-height: 1.35;
  font-size: 17px;
}
.movie-card h3 a:hover {
  color: var(--pink-dark);
}
.card-score {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}
.card-score span:first-child {
  color: #b45309;
}
.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tag-row span, .meta-chip {
  padding: 5px 10px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #fff, #fdf2f8);
  border: 1px solid rgba(236,72,153,0.12);
  box-shadow: var(--soft-shadow);
}
.category-tile::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -45px;
  bottom: -55px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(245,158,11,0.25));
}
.category-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 24px;
}
.category-tile p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--muted);
}
.category-tile span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: var(--pink-dark);
  font-weight: 900;
}
.rank-list {
  display: grid;
  gap: 14px;
}
.rank-row {
  display: grid;
  grid-template-columns: 54px 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}
.rank-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 900;
}
.rank-cover {
  width: 72px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #e5e7eb;
}
.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-main h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.rank-main p {
  margin: 0;
  color: var(--muted);
}
.rank-link {
  color: var(--pink-dark);
  font-weight: 900;
}
.page-hero {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8 55%, #ecfdf5);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}
.page-title {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px;
}
.page-title h1 {
  font-size: clamp(36px, 5vw, 58px);
}
.filter-panel {
  max-width: 1280px;
  margin: -28px auto 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 180px 150px auto;
  gap: 12px;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.filter-panel input, .filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid var(--line);
}
.filter-panel button {
  padding: 10px 20px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}
.breadcrumb a, .breadcrumb span {
  padding: 7px 12px;
  background: rgba(255,255,255,0.7);
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}
.detail-hero {
  background: linear-gradient(135deg, #fffbeb, #fdf2f8 55%, #ecfdf5);
}
.detail-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  background: #e5e7eb;
  box-shadow: var(--shadow);
}
.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.detail-copy p {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 18px;
}
.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}
.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0b1020;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1020;
}
.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.52));
  z-index: 3;
  cursor: pointer;
}
.player-overlay.hidden {
  display: none;
}
.play-button {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  font-size: 30px;
}
.detail-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
}
.article-box, .side-box {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.article-box h2, .side-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
}
.article-box p {
  margin: 0 0 18px;
  color: #374151;
  font-size: 17px;
}
.side-list {
  display: grid;
  gap: 14px;
}
.side-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
}
.side-item img {
  width: 70px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: #e5e7eb;
}
.side-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
}
.side-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.empty-state {
  display: none;
  padding: 48px 24px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
}
.site-footer {
  margin-top: 40px;
  background: #111827;
  color: #e5e7eb;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
}
.footer-logo {
  margin-bottom: 12px;
  color: #fff;
}
.footer-inner p {
  max-width: 520px;
  margin: 0;
  color: #9ca3af;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-content: start;
  justify-content: flex-end;
}
.footer-links a:hover {
  color: #f9a8d4;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 30px;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
@media (max-width: 1100px) {
  .header-search { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-content { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .header-inner { padding: 0 16px; gap: 14px; }
  .nav-links { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 46px 16px; gap: 34px; }
  .hero { min-height: auto; }
  .hero-copy p { font-size: 17px; }
  .section, .page-title, .player-section, .detail-content { padding-left: 16px; padding-right: 16px; }
  .grid, .grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .filter-panel { margin: -18px 16px 0; grid-template-columns: 1fr; }
  .detail-inner { grid-template-columns: 1fr; padding: 34px 16px; }
  .detail-poster { max-width: 360px; }
  .rank-row { grid-template-columns: 42px 60px 1fr; }
  .rank-link { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .logo { font-size: 18px; }
  .logo-mark { width: 34px; height: 34px; }
  .hero-caption h2 { font-size: 22px; }
  .hero-caption p { display: none; }
  .grid, .grid.compact, .category-grid { grid-template-columns: 1fr; }
  .movie-card h3 { min-height: auto; }
  .play-button { width: 72px; height: 72px; }
  .article-box, .side-box { padding: 20px; border-radius: 22px; }
}
