:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --text: #111827;
  --muted: #64748b;
  --soft: #ecfeff;
  --line: rgba(103, 232, 249, 0.45);
  --shadow: 0 20px 45px rgba(14, 116, 144, 0.15);
  --radius: 24px;
}

* {
  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: linear-gradient(135deg, #f8fafc 0%, rgba(207, 250, 254, 0.45) 45%, #eff6ff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 250, 254, 0.9);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.08);
}

.nav-shell {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  box-shadow: 0 10px 25px rgba(8, 145, 178, 0.28);
  font-size: 15px;
}

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

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--cyan-dark);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #ecfeff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #334155;
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid rgba(207, 250, 254, 0.9);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 124px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(103, 232, 249, 0.45), transparent 32%), radial-gradient(circle at 85% 30%, rgba(96, 165, 250, 0.38), transparent 34%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb-a {
  width: 290px;
  height: 290px;
  top: 110px;
  left: 7%;
  background: rgba(103, 232, 249, 0.42);
}

.hero-orb-b {
  width: 360px;
  height: 360px;
  right: 6%;
  bottom: 40px;
  background: rgba(147, 197, 253, 0.4);
  animation-delay: 1.2s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(236, 254, 255, 0.68));
  box-shadow: var(--shadow);
  border: 1px solid rgba(207, 250, 254, 0.8);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 36px;
  padding: 58px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  color: #0f766e;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(103, 232, 249, 0.5);
  box-shadow: 0 8px 25px rgba(14, 116, 144, 0.1);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--cyan-dark), var(--blue), var(--cyan-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
}

.hero-copy p,
.page-hero p {
  margin: 0;
  max-width: 680px;
  color: #475569;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid rgba(103, 232, 249, 0.5);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.page-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 16px 30px rgba(8, 145, 178, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover {
  transform: translateY(-4px);
}

.ghost-btn {
  color: #075985;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(103, 232, 249, 0.65);
}

.ghost-btn.dark {
  background: rgba(15, 23, 42, 0.08);
}

.hero-poster {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.25);
  background: linear-gradient(135deg, #cffafe, #dbeafe);
}

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

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

.hero-poster span {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 8px 12px;
  color: #fff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: 58px;
  bottom: 30px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-dot {
  width: 32px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.22);
}

.hero-dot.active {
  width: 54px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.hero-search-panel {
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(14, 116, 144, 0.16);
  border: 1px solid rgba(207, 250, 254, 0.9);
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box span {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 22px;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 50px;
  border-radius: 16px;
  border: 2px solid rgba(165, 243, 252, 0.8);
  outline: 0;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(14, 116, 144, 0.08);
}

.search-box input:focus {
  border-color: #22d3ee;
}

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

.hero-quick-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  font-weight: 700;
  font-size: 14px;
}

.page-main {
  padding-top: 112px;
}

.page-hero {
  position: relative;
  padding: 52px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 254, 255, 0.72));
  border: 1px solid rgba(207, 250, 254, 0.9);
  box-shadow: var(--shadow);
}

.small-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

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

.heading-line {
  width: 5px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  flex: 0 0 auto;
}

.section-heading > span {
  margin-left: auto;
  font-size: 28px;
  color: var(--cyan-dark);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 116, 144, 0.1);
  border: 1px solid rgba(207, 250, 254, 0.75);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  box-shadow: 0 24px 54px rgba(14, 116, 144, 0.2);
  border-color: rgba(34, 211, 238, 0.6);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #cffafe, #dbeafe);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .poster-wrap::after {
  opacity: 1;
}

.movie-kind,
.movie-score,
.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.movie-kind {
  left: 12px;
  top: 12px;
  padding: 6px 11px;
  color: #fff;
  background: rgba(6, 182, 212, 0.9);
  font-size: 12px;
}

.movie-score {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  font-size: 13px;
}

.movie-duration {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  font-size: 12px;
}

.movie-info {
  padding: 18px;
}

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

.movie-card:hover h3 {
  color: var(--cyan-dark);
}

.movie-info p {
  margin: 0 0 13px;
  min-height: 46px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  color: #64748b;
  font-size: 13px;
}

.card-more {
  margin-top: 12px;
  color: var(--cyan-dark);
  font-weight: 800;
  font-size: 14px;
}

.feature-panel {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, rgba(236, 254, 255, 0.58));
  box-shadow: var(--shadow);
  border: 1px solid rgba(207, 250, 254, 0.85);
}

.strong-panel {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.strong-panel .section-heading h2,
.strong-panel .section-heading p,
.strong-panel .section-heading > span {
  color: #fff;
}

.strong-panel .heading-line {
  background: #fff;
}

.center-actions {
  justify-content: center;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 254, 255, 0.74));
  border: 1px solid rgba(207, 250, 254, 0.9);
  box-shadow: 0 12px 30px rgba(14, 116, 144, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(14, 116, 144, 0.18);
}

.category-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.26);
  filter: blur(16px);
}

.category-tile h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 21px;
}

.category-tile p {
  position: relative;
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.65;
  font-size: 14px;
}

.category-tile strong {
  position: relative;
  color: var(--cyan-dark);
  font-size: 13px;
  line-height: 1.6;
}

.filter-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin-bottom: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(207, 250, 254, 0.9);
  box-shadow: 0 12px 30px rgba(14, 116, 144, 0.08);
}

.filter-row,
.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(103, 232, 249, 0.65);
  border-radius: 13px;
  color: #334155;
  background: #fff;
  font-weight: 750;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 25px rgba(8, 145, 178, 0.18);
}

.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-weight: 750;
}

.select-wrap select {
  min-height: 42px;
  border: 1px solid rgba(103, 232, 249, 0.65);
  border-radius: 13px;
  color: #334155;
  background: #fff;
  padding: 0 13px;
  outline: 0;
}

.empty-state {
  display: none;
  padding: 46px;
  text-align: center;
  color: #64748b;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(207, 250, 254, 0.9);
}

.empty-state.show {
  display: block;
}

.movie-card.is-hidden {
  display: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #64748b;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--cyan-dark);
  font-weight: 700;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.26);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #020617;
  cursor: pointer;
}

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

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

.player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.08));
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 182, 212, 0.92);
  box-shadow: 0 20px 42px rgba(6, 182, 212, 0.32);
  font-size: 34px;
  padding-left: 5px;
}

.detail-card,
.article-card {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(207, 250, 254, 0.86);
}

.detail-card {
  padding: 28px;
}

.detail-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.detail-topline span,
.detail-topline strong {
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 850;
}

.detail-topline span {
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.detail-topline strong {
  color: #92400e;
  background: #fef3c7;
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.detail-card p {
  color: #475569;
  line-height: 1.78;
  margin: 0 0 22px;
}

.detail-meta {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.detail-meta dt {
  color: #64748b;
}

.detail-meta dd {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}

.article-card {
  padding: 30px;
}

.article-card p {
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 2;
  white-space: pre-wrap;
}

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

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

.compact .movie-info p {
  min-height: 42px;
  font-size: 13px;
}

.site-footer {
  margin-top: 80px;
  padding: 54px 0 24px;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(207, 250, 254, 0.9);
}

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

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: #64748b;
  line-height: 1.8;
}

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

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(207, 250, 254, 0.9);
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .four-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .six-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-slide,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .hero-slider {
    min-height: 820px;
  }
  .hero-slide {
    padding: 34px;
  }
  .hero-poster {
    min-height: 360px;
  }
  .three-col,
  .four-col,
  .six-col,
  .category-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1240px);
  }
  .nav-shell {
    height: 68px;
  }
  .brand {
    font-size: 18px;
  }
  .hero-section {
    padding-top: 96px;
  }
  .hero-slider {
    min-height: 830px;
    border-radius: 24px;
  }
  .hero-slide {
    padding: 24px;
  }
  .hero-poster {
    min-height: 320px;
    border-radius: 22px;
  }
  .hero-dots {
    left: 24px;
    bottom: 20px;
  }
  .page-main {
    padding-top: 92px;
  }
  .page-hero,
  .feature-panel,
  .article-card,
  .detail-card {
    padding: 22px;
    border-radius: 22px;
  }
  .three-col,
  .four-col,
  .six-col,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .filter-row,
  .filter-selects,
  .hero-actions,
  .page-actions,
  .center-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
