:root {
  --bg: #f3f5ff;
  --surface: #ffffff;
  --ink: #1b2144;
  --muted: #7880a8;
  --primary: #6b5cff;
  --primary-dark: #5143df;
  --accent: #ffb347;
  --header: rgba(13, 16, 45, 0.76);
  --footer: #0d1230;
  --line: #e5e8f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

a {
  text-decoration: none;
}

.site-header .navbar {
  background: var(--header);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-height: 72px;
}

.site-header.scrolled .navbar {
  background: #0b1030;
  box-shadow: 0 8px 24px rgba(6, 8, 26, 0.35);
}

.brand {
  color: #fff;
  font-weight: 700;
}

.brand-text {
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), #ff7ad9 60%, #7f73ff);
  display: inline-block;
  position: relative;
  box-shadow: 0 8px 18px rgba(255, 122, 217, 0.35);
}

.brand-mark::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.nav-ghost {
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-section {
  min-height: 92vh;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 14, 43, 0.88) 25%, rgba(16, 23, 66, 0.55) 56%, rgba(25, 31, 75, 0.3) 100%);
}

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

.hero-kicker {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.section-block {
  padding: 4.5rem 0;
}

.intro-section {
  background: var(--surface);
}

.section-header h2,
.section-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  font-weight: 750;
}

.section-header p,
.section-subtitle {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff, #f8f9ff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 10px 25px rgba(38, 53, 125, 0.08);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  background: linear-gradient(145deg, #7c6cff, #4d8fff);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.feature-card p {
  color: #6f76a1;
  margin-bottom: 0;
}

.content-section {
  background: var(--bg);
}

.section-alt {
  background: #ffffff;
}

.section-title-wrap {
  margin-bottom: 1.35rem;
}

.section-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.movie-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(33, 44, 102, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(33, 44, 102, 0.16);
}

.movie-cover-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.movie-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.score-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 16, 48, 0.78);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
}

.movie-body {
  padding: 0.8rem 0.75rem 0.9rem;
}

.movie-title {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.movie-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.movie-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.update-date {
  font-size: 0.74rem;
  color: #8a91b8;
}

.movie-link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 650;
}

.rank-section {
  background: linear-gradient(180deg, #eef2ff, #f8f9ff);
}

.rank-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}

.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecebff;
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-item h3 {
  font-size: 0.95rem;
  margin: 0;
}

.rank-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.download-panel {
  background: linear-gradient(120deg, #20154d, #4d2e9f 58%, #6330b8);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(46, 22, 100, 0.35);
}

.download-panel h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.download-panel p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1rem;
}

.phone-mock {
  height: 132px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.friend-section {
  background: #fff;
}

.friend-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.friend-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #dfe3f8;
  border-radius: 12px;
  min-height: 46px;
  color: #4c5587;
  font-weight: 600;
  background: #f8f9ff;
  transition: all 0.25s ease;
}

.friend-link:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.faq-accordion .accordion-item {
  border: 1px solid #e8ebfa;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: #2a3261;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: #f5f6ff;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.84);
}

.footer-brand {
  color: #fff;
  font-weight: 700;
}

.footer-text {
  color: rgba(255, 255, 255, 0.65);
  max-width: 460px;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a,
.footer-links li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #fff;
}

.modal-content {
  border: 1px solid #e8ebf8;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .friend-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 78vh;
  }

  .section-block {
    padding: 3.6rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    width: 100%;
  }

  .download-panel {
    padding: 1.4rem;
  }
}