/* ============================================
   0045 - 钴蓝结晶风 (Cobalt Blue Crystal)
   External Stylesheet
   ============================================ */

/* --- CSS Variables / Theme --- */
:root {
  --cobalt-deep: #0a1628;
  --cobalt-mid: #0f2440;
  --cobalt: #1a3b6d;
  --electric: #2563eb;
  --sky: #38bdf8;
  --ice: #e0f2fe;
  --white: #ffffff;
  --crystal-glow: rgba(56, 189, 248, 0.4);
  --prism-1: rgba(37, 99, 235, 0.25);
  --prism-2: rgba(56, 189, 248, 0.2);
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--cobalt-deep);
  color: var(--ice);
  overflow-x: hidden;
  line-height: 1.7;
}

/* --- Crystal Prism Background --- */
.crystal-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56,189,248,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(56,189,248,0.15) 0%, transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #0f2440 40%, #1a3b6d 100%);
}

/* Crystal prism geometric overlay */
.crystal-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(30deg, transparent 49.5%, rgba(56,189,248,0.06) 49.5%, rgba(56,189,248,0.06) 50.5%, transparent 50.5%),
    linear-gradient(-30deg, transparent 49.5%, rgba(37,99,235,0.05) 49.5%, rgba(37,99,235,0.05) 50.5%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(56,189,248,0.04) 49.5%, rgba(56,189,248,0.04) 50.5%, transparent 50.5%);
  background-size: 120px 120px, 160px 160px, 200px 200px;
  background-position: 0 0, 40px 20px, 80px 60px;
}

/* Floating crystal shards (polyhedral) */
.crystal-shard {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
}
.shard-1 {
  top: 15%; left: 5%;
  width: 180px; height: 200px;
  background: linear-gradient(135deg, var(--electric), var(--sky));
  clip-path: polygon(50% 0%, 100% 30%, 85% 100%, 15% 100%, 0% 30%);
  animation: floatShard 8s ease-in-out infinite;
}
.shard-2 {
  top: 55%; right: 3%;
  width: 140px; height: 160px;
  background: linear-gradient(225deg, var(--sky), var(--electric));
  clip-path: polygon(30% 0%, 70% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  animation: floatShard 10s ease-in-out infinite reverse;
}
.shard-3 {
  bottom: 10%; left: 30%;
  width: 120px; height: 140px;
  background: linear-gradient(45deg, var(--cobalt), var(--sky));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: floatShard 12s ease-in-out infinite;
}

@keyframes floatShard {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  33% { transform: translateY(-15px) rotate(1deg); opacity: 0.12; }
  66% { transform: translateY(8px) rotate(-1deg); opacity: 0.06; }
}

/* --- Navigation --- */
.nav-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 22, 40, 0.75);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}
.nav-link {
  position: relative;
  color: var(--ice);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--sky));
  transition: width 0.3s;
}
.nav-link:hover { color: var(--sky); }
.nav-link:hover::after { width: 100%; }

/* --- Glass Card --- */
.glass-card {
  background: rgba(15, 36, 64, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(56,189,248,0.1);
  transition: all 0.4s ease;
}
.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 50px rgba(0,0,0,0.4), 0 0 30px rgba(37,99,235,0.15), inset 0 1px 0 rgba(56,189,248,0.2);
  transform: translateY(-4px);
}

/* --- Crystal Button --- */
.btn-crystal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #38bdf8 100%);
  box-shadow: 0 6px 24px rgba(37,99,235,0.4), 0 0 40px rgba(56,189,248,0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.btn-crystal::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-crystal:hover::after { transform: translateX(100%); }
.btn-crystal:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.55), 0 0 60px rgba(56,189,248,0.25);
  transform: translateY(-2px);
}
.btn-crystal-outline {
  background: transparent;
  border: 2px solid rgba(56,189,248,0.5);
  box-shadow: 0 4px 16px rgba(56,189,248,0.1);
}
.btn-crystal-outline:hover {
  background: rgba(37,99,235,0.15);
  border-color: var(--sky);
}

/* --- Section Header --- */
.section-badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.section-subtitle {
  color: rgba(224,242,254,0.7);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Hero --- */
.hero-gradient {
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(37,99,235,0.45) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 80% 50%, rgba(56,189,248,0.2) 0%, transparent 60%);
}

/* --- Feature Icon Box --- */
.icon-crystal {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(56,189,248,0.15));
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 16px;
  font-size: 1.6rem;
  color: var(--sky);
  transition: all 0.3s;
}
.glass-card:hover .icon-crystal {
  background: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(56,189,248,0.25));
  border-color: rgba(56,189,248,0.6);
  box-shadow: 0 0 24px rgba(56,189,248,0.2);
}

/* --- Stat Counter --- */
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Divider Line --- */
.divider-crystal {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--sky), var(--electric));
  border-radius: 2px;
  margin: 24px auto;
}

/* --- Step Number --- */
.step-num {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--electric), var(--sky));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(56,189,248,0.3);
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid rgba(56,189,248,0.12);
  padding: 18px 0;
}
.faq-q {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ice);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--sky); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: rgba(224,242,254,0.7);
}
.faq-a.open { max-height: 200px; padding-top: 12px; }

/* --- Footer --- */
.footer-glass {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}

/* --- Download Badge --- */
.badge-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(15,36,64,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 16px;
  color: var(--ice);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
}
.badge-platform:hover {
  border-color: var(--sky);
  background: rgba(37,99,235,0.2);
  box-shadow: 0 0 30px rgba(56,189,248,0.2);
}

/* --- Animated underline for links --- */
.link-underline {
  position: relative;
  color: var(--sky);
  text-decoration: none;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Pulse ring --- */
.pulse-ring {
  animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,0.5); }
  70% { box-shadow: 0 0 0 20px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .section-title { font-size: 1.8rem; }
  .stat-number { font-size: 2rem; }
  .btn-crystal { padding: 12px 28px; font-size: 0.95rem; }
}

/* --- Mobile Menu --- */
.mobile-menu { display: none; }
.mobile-menu.active { display: flex; flex-direction: column; }

/* --- Page: Download specific --- */
.download-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* --- Page: Club specific --- */
.club-table th {
  background: rgba(37,99,235,0.2);
  color: var(--sky);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
}
.club-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(56,189,248,0.1);
}
.club-table tr:hover td {
  background: rgba(56,189,248,0.05);
}
