@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syncopate:wght@400;700&display=swap');

/* =============================================
   CSS 变量 & 基础重置
   ============================================= */
:root {
  --clr-primary: #ff0000;
  --clr-secondary: #ff1493;
  --clr-bg: #261717;
  --clr-bg2: #1a0f0f;
  --clr-bg3: #2e1a1a;
  --clr-surface: rgba(255,255,255,0.04);
  --clr-surface2: rgba(255,255,255,0.08);
  --clr-border: rgba(255, 20, 147, 0.25);
  --clr-border-bright: rgba(255, 0, 0, 0.5);
  --clr-text: #f5e6e6;
  --clr-text-muted: rgba(245,230,230,0.55);
  --clr-text-dim: rgba(245,230,230,0.35);
  --font-heading: 'Syncopate', 'Arial Black', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: var(--font-mono);
  --radius-card: 28px;
  --radius-pill: 999px;
  --nav-h: 116px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul, ol { list-style: none; }

/* =============================================
   Aurora 动态背景
   ============================================= */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.35;
}

.aurora-1 {
  width: 70vw;
  height: 70vw;
  background: radial-gradient(ellipse at center, #ff0000 0%, transparent 70%);
  top: -20%;
  left: -15%;
  animation: auroraFloat1 10s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse at center, #ff1493 0%, transparent 65%);
  top: 10%;
  right: -20%;
  animation: auroraFloat2 12s ease-in-out infinite alternate;
}

.aurora-3 {
  width: 50vw;
  height: 50vw;
  background: conic-gradient(from 0deg, #ff0000, #ff1493, transparent, #ff0000);
  bottom: 10%;
  left: 30%;
  opacity: 0.18;
  animation: auroraFloat3 9s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(8vw, 6vh) scale(1.12); }
}
@keyframes auroraFloat2 {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(-6vw, 8vh) scale(0.95); }
}
@keyframes auroraFloat3 {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-5vw, -5vh) rotate(30deg); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-layer { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =============================================
   容器
   ============================================= */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* =============================================
   页头（两行）
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(38,23,23,0.97) 60%, rgba(38,23,23,0.88) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--clr-border);
}

.header-brand-row {
  border-bottom: 1px solid rgba(255,20,147,0.1);
}

.brand-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 40px;
}

.brand-logo { height: 40px; width: auto; }

.brand-text-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff0000, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 搜索框 */
.search-form {
  display: flex;
  align-items: center;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color var(--transition);
}

.search-form:focus-within {
  border-color: var(--clr-secondary);
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--clr-text);
  font-size: 14px;
  padding: 10px 16px;
  width: 220px;
  line-height: 1.4;
}

.search-input::placeholder { color: var(--clr-text-dim); }

.search-btn {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  border: none;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 40px;
  transition: opacity var(--transition);
}

.search-btn:hover { opacity: 0.85; }

/* 导航行 */
.header-nav-row { padding-block: 10px; }

.main-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.nav-pills-group {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  white-space: nowrap;
  background: var(--clr-surface);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-pill:hover,
.nav-pill:focus-visible {
  background: linear-gradient(135deg, rgba(255,0,0,0.25), rgba(255,20,147,0.25));
  border-color: var(--clr-secondary);
  color: #fff;
  outline: none;
}

/* =============================================
   Hero 区块
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 120px;
}

/* 左侧视觉媒体 */
.hero-media {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-block {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff0000, #ff1493, #261717, #ff0000);
  animation: orbSpin 8s linear infinite;
  filter: saturate(1.3);
  position: absolute;
}

@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-glow-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(255,20,147,0.4);
  box-shadow: 0 0 40px rgba(255,0,0,0.3), inset 0 0 40px rgba(255,20,147,0.1);
  animation: ringPulse 4s ease-in-out infinite alternate;
}

@keyframes ringPulse {
  from { transform: scale(1); opacity: 0.7; }
  to   { transform: scale(1.06); opacity: 1; }
}

.hero-badge-stack {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 2;
}

.hero-badge {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 20px;
  border-radius: 8px;
}

.badge-primary {
  background: rgba(255,0,0,0.15);
  border: 1.5px solid var(--clr-primary);
  color: #ff4444;
}

.badge-secondary {
  background: rgba(255,20,147,0.15);
  border: 1.5px solid var(--clr-secondary);
  color: var(--clr-secondary);
}

/* 右侧文案 */
.hero-content {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff4444 0%, #ff1493 50%, #ff6060 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-desc {
  font-size: 15px;
  color: var(--clr-text-muted);
  max-width: 440px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 斜切分割色带 */
.hero-slash {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--clr-bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* =============================================
   按钮
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,0,0,0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255,20,147,0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--clr-border-bright);
  color: var(--clr-text);
}

.btn-outline:hover {
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
  background: rgba(255,20,147,0.08);
}

.btn-large {
  height: 56px;
  padding: 0 40px;
  font-size: 14px;
}

/* =============================================
   内容区 — aside + 正文
   ============================================= */
.content-sections {
  padding-block: 80px;
  position: relative;
  z-index: 1;
}

.content-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 侧边栏在左侧 */
.content-aside {
  flex: 0 0 240px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.aside-inner {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-secondary);
}

.aside-inner > hr {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin: 0;
}

.aside-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--clr-text-muted);
  transition: background var(--transition), color var(--transition);
  min-height: 36px;
  display: flex;
  align-items: center;
}

.aside-link:hover {
  background: rgba(255,20,147,0.1);
  color: var(--clr-text);
}

.aside-note {
  background: rgba(255,0,0,0.07);
  border: 1px solid rgba(255,0,0,0.2);
  border-radius: 12px;
  padding: 12px;
}

.aside-note-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 6px;
}

.aside-note p {
  font-size: 12px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* 正文主区 */
.content-main {
  flex: 1;
  min-width: 0;
}

/* =============================================
   page.content 区块样式
   ============================================= */
.content-main section {
  scroll-margin-top: var(--nav-h);
  margin-bottom: 60px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-main section.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-main section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}

.content-main h2 {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 16px;
}

.content-main h2 + hr {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-bottom: 24px;
}

.content-main h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-main h3 + hr {
  border: none;
  border-top: 1px solid rgba(255,20,147,0.2);
  margin-bottom: 18px;
}

.content-main p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
}

.content-main a {
  color: var(--clr-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(255,20,147,0.4);
  transition: color var(--transition);
}

.content-main a:hover { color: #ff6fc8; }

.content-main ul,
.content-main ol {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.content-main ul li,
.content-main ol li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.content-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
}

.content-main table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.content-main th {
  background: rgba(255,20,147,0.1);
  color: var(--clr-secondary);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  text-align: left;
}

.content-main td {
  padding: 10px 16px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
}

.content-main blockquote {
  border-left: 3px solid var(--clr-primary);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--clr-text-muted);
  font-style: italic;
}

.content-main code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(255,20,147,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ff8fcc;
}

/* =============================================
   页脚
   ============================================= */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--clr-border);
  margin-top: 40px;
}

/* CTA 区块 */
.footer-cta-section {
  background: linear-gradient(135deg, rgba(255,0,0,0.1), rgba(255,20,147,0.1));
  border-bottom: 1px solid var(--clr-border);
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
  flex-wrap: wrap;
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-cta-title + hr {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-bottom: 14px;
  width: 80px;
}

.footer-cta-desc {
  font-size: 15px;
  color: var(--clr-text-muted);
}

/* 两栏 */
.footer-main-section {
  padding-block: 56px;
  border-bottom: 1px solid var(--clr-border);
}

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

.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }

.footer-brand-link { display: inline-block; }
.footer-logo { height: 40px; width: auto; }

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.footer-contact { font-size: 13px; color: var(--clr-text-dim); }
.footer-contact-label { color: var(--clr-text-muted); }
.footer-email { color: var(--clr-secondary); }
.footer-email:hover { text-decoration: underline; }

/* 页脚 dl 导航 */
.footer-links-col { display: flex; gap: 40px; }

.footer-dl { width: 100%; }

.footer-dl-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: 18px;
  display: block;
}

.footer-dd { margin: 0; }

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: var(--clr-text-muted);
  transition: color var(--transition);
  padding-block: 4px;
}

.footer-link:hover { color: var(--clr-text); }

/* 版权行 */
.footer-bottom-section { padding-block: 24px; }

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

.footer-copyright,
.footer-disclaimer {
  font-size: 12px;
  color: var(--clr-text-dim);
  line-height: 1.6;
}

/* =============================================
   Scroll Reveal 动效
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
  .hero-media { flex: 0 0 280px; }
  .hero-visual-block { width: 240px; height: 240px; }
  .hero-orb { width: 190px; height: 190px; }
  .hero-glow-ring { width: 220px; height: 220px; }
  .content-aside { flex: 0 0 200px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 140px; }

  .brand-row-inner { flex-wrap: wrap; gap: 12px; }
  .search-input { width: 140px; }

  .nav-pills-group { gap: 6px; }
  .nav-pill { height: 40px; padding: 0 12px; font-size: 10px; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .hero-media { flex: none; width: 100%; }

  .hero-visual-block { width: 200px; height: 200px; margin-inline: auto; }
  .hero-orb { width: 160px; height: 160px; }
  .hero-glow-ring { width: 185px; height: 185px; }

  .content-layout { flex-direction: column; }
  .content-aside {
    position: static;
    flex: none;
    width: 100%;
  }

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

  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .content-main section { padding: 24px 20px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 150px; }

  .hero-badge { font-size: 20px; }
  .hero-cta-group { flex-direction: column; align-items: center; }

  .footer-links-col { flex-direction: column; }
  .search-input { width: 100px; }
}
