/* 银河传奇引擎脚本插件 — 静态介绍页样式 */

:root {
  --bg-deep: #070a12;
  --bg-panel: rgba(16, 22, 38, 0.72);
  --border-subtle: rgba(120, 160, 255, 0.12);
  --text: #e8ecf4;
  --text-muted: #9aa7bc;
  --accent: #7c9cff;
  --accent-strong: #a78bfa;
  --gold: #e8c77a;
  --glow: rgba(124, 156, 255, 0.35);
  --radius: 14px;
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__glow {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b4c8ff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 15% -10%, rgba(88, 120, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(167, 139, 250, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(60, 100, 200, 0.12), transparent 45%),
    var(--bg-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .bg-aurora {
    animation: aurora-shift 28s ease-in-out infinite alternate;
  }
}

@keyframes aurora-shift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(12deg);
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.75);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-subtle), 0 8px 24px var(--glow);
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #6b8cff, #8b74f5);
  color: #fff;
  box-shadow: 0 8px 28px rgba(107, 140, 255, 0.35);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(107, 140, 255, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-subtle);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  padding: 4rem 0 3.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    padding: 5.5rem 0 4rem;
  }
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__glow {
    animation: pulse-soft 10s ease-in-out infinite;
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero__meta li {
  margin: 0;
}

.hero__meta strong {
  color: var(--text);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

section {
  margin-bottom: 3.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 42rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(12px);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  margin-bottom: 0.55rem;
}

.trust-strip {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  text-align: left;
}

.trust-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer strong {
  color: var(--text);
}
