﻿:root {
  --primary: #7c3aed;
  --secondary: #22d3ee;
  --accent: #f472b6;
  --bg-dark: #020617;
  --bg-light: rgba(124, 58, 237, 0.12);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

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

#main-header.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav {
  background: rgba(2, 6, 23, 0.98);
  border-left: 1px solid rgba(124, 58, 237, 0.3);
}

.mobile-nav.translate-x-full {
  visibility: hidden;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.mobile-nav nav a:hover,
.mobile-nav nav a.active {
  background: rgba(124, 58, 237, 0.2);
  color: var(--secondary);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #5b21b6);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  border: 1px solid rgba(34, 211, 238, 0.4);
}

.btn-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.8), 0 0 60px rgba(34, 211, 238, 0.3);
}

.btn-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  animation: pulse-glow 2.5s infinite;
}

.btn-pulse:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, 0.35);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.btn-glass:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--secondary);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.25);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-label::before {
  content: "◆";
  color: var(--accent);
  font-size: 0.7rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18) 0%, var(--bg-dark) 65%);
  padding-top: 7rem;
}

.starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.starfield span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: star-drift linear infinite;
}

.starfield span:nth-child(1) { top: 10%; left: 20%; animation-duration: 25s; }
.starfield span:nth-child(2) { top: 25%; left: 70%; animation-duration: 35s; width: 3px; height: 3px; }
.starfield span:nth-child(3) { top: 45%; left: 40%; animation-duration: 30s; }
.starfield span:nth-child(4) { top: 65%; left: 85%; animation-duration: 40s; width: 3px; height: 3px; }
.starfield span:nth-child(5) { top: 80%; left: 10%; animation-duration: 28s; }

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  z-index: 0;
  animation: glow-breathe 6s ease-in-out infinite;
}

.hero-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--secondary), transparent);
  opacity: 0.25;
  filter: blur(2px);
  animation: beam-scan 4s ease-in-out infinite;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: center;
  padding-top: 1rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--secondary);
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(124, 58, 237, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

.hero-logo {
  width: clamp(200px, 45vw, 360px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.6));
  animation: logo-float 5s ease-in-out infinite;
}

.energy-ring {
  position: absolute;
  width: clamp(260px, 55vw, 440px);
  height: clamp(260px, 55vw, 440px);
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.35);
  animation: ring-spin 12s linear infinite;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15), inset 0 0 40px rgba(124, 58, 237, 0.1);
}

.energy-ring::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(244, 114, 182, 0.4);
  animation: ring-spin-reverse 18s linear infinite;
}

.energy-ring-second {
  position: absolute;
  width: clamp(320px, 70vw, 540px);
  height: clamp(320px, 70vw, 540px);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.25);
  animation: ring-spin-reverse 20s linear infinite;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--secondary);
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 10;
}

.section-intro {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(124, 58, 237, 0.06) 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-text {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  margin-bottom: 1.5rem;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--bg-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.stats-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
}

.stat-cell {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.stat-number {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.section-features {
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.1) 0%, var(--bg-dark) 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-holo {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  transition: all 0.4s;
}

.feature-holo:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25), 0 0 30px rgba(34, 211, 238, 0.1);
}

.feature-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, transparent 50%, rgba(244, 114, 182, 0.06) 100%);
  pointer-events: none;
  z-index: 1;
}

.feature-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.feature-holo:hover .feature-img img {
  transform: scale(1.08);
}

.feature-body {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #5b21b6);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.feature-holo h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.feature-holo p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-download {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(34, 211, 238, 0.05) 50%, var(--bg-dark) 100%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.download-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  order: 2;
}

.download-visual img {
  width: clamp(220px, 50vw, 380px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 50px rgba(124, 58, 237, 0.5));
  animation: logo-float 6s ease-in-out infinite;
}

.download-glow {
  position: absolute;
  width: clamp(280px, 60vw, 450px);
  height: clamp(280px, 60vw, 450px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 65%);
  animation: glow-breathe 4s ease-in-out infinite;
}

.download-orbit {
  position: absolute;
  width: clamp(340px, 75vw, 520px);
  height: clamp(340px, 75vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.2);
  animation: ring-spin 16s linear infinite;
}

.download-content {
  order: 1;
  text-align: center;
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #fff;
  transition: all 0.3s;
}

.platform-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

.platform-btn i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.platform-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.platform-btn b {
  font-size: 1rem;
}

.platform-btn small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-contact {
  background: radial-gradient(ellipse at bottom, rgba(124, 58, 237, 0.1) 0%, var(--bg-dark) 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.crystal-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  text-align: center;
  overflow: hidden;
  transition: all 0.4s;
}

.crystal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 114, 182, 0.5);
  box-shadow: 0 15px 50px rgba(124, 58, 237, 0.2), 0 0 30px rgba(244, 114, 182, 0.1);
}

.crystal-border {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(244, 114, 182, 0.4), rgba(124, 58, 237, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(34, 211, 238, 0.3);
}

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

.crystal-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.crystal-card p {
  color: var(--secondary);
  font-weight: 500;
}

.section-friends {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(124, 58, 237, 0.06) 100%);
  padding: 4rem 0 3rem;
}

.friends-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.friends-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.friends-title::before {
  content: "◆";
  color: var(--accent);
  font-size: 0.7rem;
}

.friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.friends-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  max-width: 100%;
  word-break: break-word;
}

.friends-list a:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--secondary);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(34, 211, 238, 0.15);
}

.page-footer {
  position: relative;
  padding: 5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #000 100%);
  overflow: hidden;
}

.footer-beams {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(34, 211, 238, 0.18) 0%, transparent 40%);
}

.footer-beams::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(124, 58, 237, 0.15), transparent);
  animation: beam-rise 4s ease-in-out infinite;
}

.footer-inner {
  position: relative;
  z-index: 10;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand span {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .energy-ring-second,
  .download-orbit {
    width: clamp(200px, 55vw, 260px);
    height: clamp(200px, 55vw, 260px);
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-badge-row,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-desc {
    margin: 0 0 2rem;
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-holo.wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .feature-holo.wide .feature-img {
    height: 100%;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-visual {
    order: 1;
  }

  .download-content {
    order: 2;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .friends-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .features-matrix {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-holo.wide {
    grid-column: span 2;
  }
}

@keyframes star-drift {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0.4; }
}

@keyframes glow-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
}

@keyframes beam-scan {
  0%, 100% { opacity: 0.15; transform: translateX(-50%) rotate(-5deg); }
  50% { opacity: 0.35; transform: translateX(-50%) rotate(5deg); }
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ring-spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 25px rgba(124, 58, 237, 0.5), 0 0 50px rgba(244, 114, 182, 0.25); }
  50% { box-shadow: 0 0 45px rgba(124, 58, 237, 0.8), 0 0 80px rgba(244, 114, 182, 0.45); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes beam-rise {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.1); }
}


