:root {
  --bg: #080b18;
  --bg-soft: #0f1630;
  --surface: #131d3d;
  --surface-2: #1a2650;
  --text: #e6ebff;
  --muted: #9ca7d5;
  --accent: #7cffe1;
  --accent-2: #a48dff;
  --border: rgba(159, 180, 255, 0.2);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #20295b 0%, var(--bg) 45%), var(--bg);
  line-height: 1.6;
}

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

.top-ticker {
  background: linear-gradient(90deg, #171f42, #222e62);
  color: #d8e1ff;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-link {
  color: var(--accent);
  font-weight: 600;
}

#mainNav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(9, 13, 29, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

#mainNav.scrolled {
  background: rgba(8, 11, 24, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--accent) 40%, #2cd0b2 100%);
  margin-right: 10px;
  box-shadow: 0 0 16px rgba(124, 255, 225, 0.9);
}

.nav-link {
  color: #c9d2fb;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent);
}

.dropdown-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: #101a38;
}

.mobile-menu .list-group-item {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: #d8e1ff;
}

.btn-neon {
  border: none;
  color: #07131d;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), #8db9ff);
  box-shadow: 0 8px 18px rgba(88, 238, 211, 0.35);
}

.btn-neon:hover {
  color: #03111a;
  transform: translateY(-1px);
}

.hero-section {
  padding-top: 3rem;
}

.hero-shell {
  background: linear-gradient(135deg, rgba(26, 36, 77, 0.9), rgba(16, 24, 54, 0.9));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-block;
  color: #052236;
  background: linear-gradient(120deg, var(--accent), #8ec9ff);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
}

.hero-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-text {
  color: var(--muted);
  max-width: 56ch;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-stats .stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-align: center;
  padding: 0.8rem 0.35rem;
}

.stat-box strong {
  font-size: 1.1rem;
  display: block;
}

.stat-box span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e142d;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(6, 14, 35, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  text-align: right;
}

.floating-note span {
  display: block;
  color: #b6c4fb;
  font-size: 0.75rem;
}

.floating-note strong {
  font-size: 1.2rem;
  color: var(--accent);
}

.strip-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
}

.strip-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.strip-body {
  padding: 0.75rem 0.9rem 0.95rem;
}

.strip-body h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.strip-body p {
  color: var(--muted);
  margin: 0;
  font-size: 0.84rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
}

.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.section-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-tint {
  background: linear-gradient(180deg, rgba(17, 26, 56, 0.3), rgba(17, 26, 56, 0.08));
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

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

.card-body {
  padding: 0.85rem;
}

.meta {
  margin: 0 0 0.3rem;
  color: #9fb0e6;
  font-size: 0.8rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.card-text {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

.news-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}

.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-body {
  padding: 0.9rem;
}

.news-body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.news-body p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.quote-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
  color: #d7e0ff;
  height: 100%;
}

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

.friend-grid a {
  display: block;
  text-align: center;
  background: rgba(124, 255, 225, 0.08);
  border: 1px solid rgba(124, 255, 225, 0.35);
  border-radius: 12px;
  padding: 0.8rem 0.65rem;
  color: #d8fff6;
  font-weight: 600;
}

.friend-grid a:hover {
  background: rgba(124, 255, 225, 0.18);
}

.faq .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.faq .accordion-button {
  background: var(--surface);
  color: var(--text);
}

.faq .accordion-button:not(.collapsed) {
  background: var(--surface-2);
  color: var(--accent);
  box-shadow: none;
}

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

.cta-box {
  border-radius: 18px;
  background: linear-gradient(130deg, #1c2a5e, #22377d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #070b17;
  padding: 2.2rem 0 1.4rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

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

.footer-links a,
.footer-meta {
  color: #9da9d6;
  font-size: 0.9rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  color: #97a6dc;
}

.copyright a {
  color: var(--accent);
}

.modal-content {
  background: #111936;
  color: var(--text);
  border: 1px solid var(--border);
}

.preview-stage {
  border-radius: 12px;
  border: 1px dashed rgba(124, 255, 225, 0.4);
  padding: 2.2rem 1rem;
  text-align: center;
  color: #ccdcff;
  background: rgba(124, 255, 225, 0.05);
}

@media (max-width: 991.98px) {
  .hero-shell {
    padding: 1.1rem;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .friend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-ticker {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}