:root {
  --brand-blue: #0096dc;
  --brand-blue-dark: #0572ab;
  --brand-blue-light: #4db8e8;
  --brand-yellow: #ffd700;
  --brand-yellow-dark: #ffc700;
  --brand-red: #e63946;
  --brand-cream: #fff9e6;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --card: #ffffff;
  --surface: #f9fafb;
  --shadow: 0 18px 45px rgba(0, 80, 125, 0.12);
  --soft-shadow: 0 10px 30px rgba(0, 80, 125, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(77, 184, 232, 0.18), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 52%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  width: 100%;
  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;
  color: #ffffff;
  background: rgba(0, 150, 220, 0.96);
  box-shadow: 0 8px 25px rgba(0, 93, 140, 0.2);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--brand-blue);
  font-weight: 900;
  background: var(--brand-yellow);
  border-radius: 999px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand-yellow);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--brand-yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(260px, 28vw);
  padding: 8px 10px 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.header-search input {
  width: 100%;
  min-width: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.header-search button {
  color: var(--brand-blue);
  font-weight: 900;
  cursor: pointer;
  background: var(--brand-yellow);
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
}

.nav-toggle {
  display: none;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
}

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

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

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 800;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 215, 0, 0.28), transparent 20rem),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 62%, #ffffff 160%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  opacity: 0.45;
  animation: floatBubble 5s ease-in-out infinite;
}

.hero::before {
  top: 76px;
  left: 8%;
  width: 96px;
  height: 96px;
  background: var(--brand-yellow);
}

.hero::after {
  right: 7%;
  bottom: 86px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.22);
  animation-delay: 1.2s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  min-height: 620px;
  gap: 42px;
  padding: 64px 0;
}

.hero-copy {
  animation: fadeIn 0.55s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

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

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

.btn-primary {
  color: var(--brand-blue);
  background: var(--brand-yellow);
  box-shadow: 0 10px 24px rgba(255, 199, 0, 0.35);
}

.btn-primary:hover {
  background: var(--brand-yellow-dark);
  transform: translateY(-2px);
}

.btn-glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
}

.hero-stage {
  position: relative;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  overflow: hidden;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(0, 75, 120, 0.32);
  backdrop-filter: blur(14px);
}

.hero-slide.is-active {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  animation: slideUp 0.45s ease-out both;
}

.hero-poster {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

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

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.68));
}

.hero-rank {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 6px 12px;
  color: var(--brand-blue);
  font-weight: 900;
  background: var(--brand-yellow);
  border-radius: 999px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.hero-info h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.hero-info p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  color: var(--brand-blue);
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 999px;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--brand-yellow);
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: var(--brand-cream);
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-desc {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 162px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 150, 220, 0.12);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  content: "";
  background: var(--brand-yellow);
  border-radius: 999px;
  opacity: 0.55;
}

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

.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--brand-blue);
  font-size: 1.24rem;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.movie-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(0, 150, 220, 0.1);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.movie-card:hover {
  border-color: rgba(0, 150, 220, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
}

.movie-poster img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  color: var(--brand-blue);
  font-weight: 900;
  background: var(--brand-yellow);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 1.14rem;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--brand-blue);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(0, 150, 220, 0.08);
  border-radius: 999px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 62px 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 150, 220, 0.1);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.rank-num {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--brand-blue);
  font-weight: 900;
  background: var(--brand-yellow);
  border-radius: 999px;
}

.rank-thumb {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

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

.rank-title {
  margin: 0;
  font-size: 1.1rem;
}

.rank-title a:hover {
  color: var(--brand-blue);
}

.rank-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.rank-score {
  color: var(--brand-red);
  font-size: 1.2rem;
  font-weight: 900;
}

.page-hero {
  padding: 54px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 215, 0, 0.28), transparent 16rem),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a:hover {
  color: var(--brand-yellow);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 12px;
  padding: 16px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 150, 220, 0.14);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 150, 220, 0.12);
}

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

.filter-empty.is-visible {
  display: block;
}

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

.player-card,
.detail-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 150, 220, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.player-shell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62)),
    rgba(0, 0, 0, 0.12);
  border: 0;
}

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

.play-inner {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 24px;
  color: var(--brand-blue);
  font-size: 1.05rem;
  font-weight: 900;
  background: var(--brand-yellow);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.play-overlay:hover .play-inner {
  background: var(--brand-yellow-dark);
  transform: scale(1.04);
}

.play-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: var(--brand-blue);
  border-radius: 999px;
}

.player-body {
  padding: 24px;
}

.player-body h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1.15;
}

.player-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-card {
  padding: 22px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 3 / 4;
}

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

.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 18px;
}

.info-tile {
  padding: 12px;
  background: rgba(0, 150, 220, 0.07);
  border-radius: 16px;
}

.info-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.info-value {
  display: block;
  margin-top: 2px;
  font-weight: 900;
}

.article-block {
  padding: 28px;
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 150, 220, 0.1);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.article-block h2 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.5rem;
}

.article-block p {
  margin: 0;
  color: #374151;
}

.site-footer {
  padding: 38px 0;
  color: #ffffff;
  background: #0b4565;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--brand-yellow);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 1024px) {
  .header-search {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-card {
    max-width: 420px;
  }

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

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

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

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    padding: 42px 0;
    gap: 28px;
  }

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

  .hero-poster {
    min-height: 260px;
  }

  .hero-info {
    padding: 24px;
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    display: block;
  }

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

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

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

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

  .rank-score {
    grid-column: 3;
  }

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

  .detail-info {
    grid-template-columns: 1fr;
  }

  .player-body,
  .article-block {
    padding: 20px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 12px;
  }
}

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

  .hero-actions,
  .section-actions {
    display: grid;
  }
}
