﻿/* 火币HTX交易所 - 极简金融空间站主题 */

:root {
  /* 核心色彩系统 */
  --deep-space-blue: #00172D;
  --nebula-purple: #2E0D5D;
  --neon-blue: #00F5FF;
  --pulse-gold: #FFD700;
  --quantum-green: #00FF87;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --data-flow: #D7B1FF;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  background-color: var(--deep-space-blue);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 350;
}

/* 标题样式 - 航天科技字型 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.title-glow {
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
  position: relative;
  display: inline-block;
}

.title-glow::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

/* 主容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 宇宙背景 */
.space-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('../../static/image/hero-bg.svg');
  background-size: cover;
  background-position: center;
  animation: breathe 60s infinite;
}

/* 导航 */
.nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  background: rgba(0, 23, 45, 0.7);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--neon-blue), var(--quantum-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 英雄区 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  transform: skewX(-5deg);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 引力注册中心 */
.gravity-center {
  position: relative;
  width: 400px;
  height: 450px;
  perspective: 1000px;
  margin-left: 50px;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 23, 45, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.cube-face-front {
  transform: translateZ(200px);
}

.cube-face-back {
  transform: rotateY(180deg) translateZ(200px);
}

.cube-face-right {
  transform: rotateY(90deg) translateZ(200px);
}

.cube-face-left {
  transform: rotateY(-90deg) translateZ(200px);
}

.cube-face-top {
  transform: rotateX(90deg) translateZ(200px);
}

.cube-face-bottom {
  transform: rotateX(-90deg) translateZ(200px);
}

/* 注册表单 */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--neon-blue);
}

.input-group {
  position: relative;
}

.quantum-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--neon-blue);
  border-radius: 5px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quantum-input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.quantum-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: var(--deep-space-blue);
  padding: 0 5px;
  font-size: 0.8rem;
  color: var(--neon-blue);
}

.password-strength {
  height: 5px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}

.strength-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon-blue), var(--quantum-green));
  transition: width 0.3s ease;
}

.register-btn {
  background: linear-gradient(90deg, var(--pulse-gold), var(--neon-blue));
  color: var(--deep-space-blue);
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.register-btn:hover::before {
  left: 100%;
}

.terms {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.terms a {
  color: var(--neon-blue);
  text-decoration: none;
}

/* 价值环带 */
.value-ring {
  position: relative;
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-satellites {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.satellite {
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  width: 260px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.satellite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.satellite:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, var(--pulse-gold), transparent);
}

.satellite:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, var(--data-flow), transparent);
}

.satellite:nth-child(4)::before {
  background: linear-gradient(90deg, transparent, var(--quantum-green), transparent);
}

.satellite:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.satellite-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.satellite-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.satellite-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.data-counter {
  font-family: 'Rajdhani', monospace;
  font-size: 1.8rem;
  color: var(--neon-blue);
  margin-top: 15px;
}

/* HTX历史与发展 */
.htx-history {
  padding: 100px 0;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--neon-blue), var(--data-flow), transparent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin: 40px 0;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--neon-blue);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-date {
  font-family: 'Rajdhani', monospace;
  font-size: 1.5rem;
  color: var(--pulse-gold);
  margin-bottom: 10px;
}

.timeline-content {
  padding: 20px;
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--neon-blue);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 扭蛋跃迁门 */
.gacha-portal {
  position: relative;
  padding: 80px 0;
  text-align: center;
}

.gacha-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.gacha-machine {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;
}

.prize-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pulse-gold);
  margin: 20px 0;
}

.gacha-btn {
  background: linear-gradient(90deg, var(--pulse-gold), var(--neon-blue));
  color: var(--deep-space-blue);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.gacha-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.gacha-btn:hover::before {
  left: 100%;
}

.reward-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.reward-step {
  width: 220px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
}

.step-number {
  font-family: 'Rajdhani', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pulse-gold);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-space-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pulse-gold);
}

.step-content h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--neon-blue);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 信任体系 */
.trust-system {
  padding: 80px 0;
  position: relative;
}

.node-matrix {
  position: relative;
  height: 400px;
  margin: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-map {
  max-width: 100%;
  height: auto;
}

.security-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px 0;
}

.stat-item {
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--quantum-green);
  margin-bottom: 10px;
  font-family: 'Rajdhani', monospace;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.security-bar {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0;
}

.security-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--quantum-green), var(--neon-blue));
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.badge {
  padding: 10px 15px;
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* 多端引力入口 */
.multi-platform {
  padding: 80px 0;
  position: relative;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.platform-card {
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.platform-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.platform-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.platform-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--neon-blue), var(--quantum-green));
  color: var(--deep-space-blue);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.05);
}

.qr-code-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.qr-item {
  text-align: center;
}

.qr-code {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.qr-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.platform-support {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.download-advantages {
  margin-top: 80px;
}

.download-advantages h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--neon-blue);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.advantage-img {
  width: 100%;
  height: 100%;
}

.advantage-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--pulse-gold);
}

.advantage-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 关于火币HTX */
.about-htx {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.about-card {
  background: rgba(0, 23, 45, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
}

.about-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--neon-blue);
}

.about-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.htx-advantage {
  margin-top: 80px;
}

.advantage-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
}

.advantage-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.advantage-feature {
  margin-bottom: 30px;
}

.advantage-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--pulse-gold);
  position: relative;
  display: inline-block;
}

.advantage-feature h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--pulse-gold), transparent);
}

.advantage-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 底部导航 */
.footer {
  padding: 50px 0;
  background: rgba(0, 13, 25, 0.8);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* 友情链接 */
.friendly-links {
  margin-top: 30px;
}

.friendly-links-title {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.friendly-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.friendly-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.friendly-links-list a:hover {
  color: var(--neon-blue);
}

/* 动画 */
@keyframes breathe {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes cube-rotate {
  0% {
    transform: rotateX(0) rotateY(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

@keyframes data-flow {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px);
    opacity: 0;
  }
}

/* 兼容性优化 */
@supports not (backdrop-filter: blur(10px)) {
  .nav,
  .cube-face,
  .satellite,
  .timeline-content,
  .reward-step,
  .platform-card,
  .about-card,
  .badge,
  .footer {
    background: rgba(0, 23, 45, 0.9);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .gravity-center {
    width: 350px;
    height: 400px;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 23px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 50px;
  }
  
  .gravity-center {
    margin-left: 0;
  }
  
  .value-satellites {
    flex-direction: column;
    align-items: center;
  }
  
  .satellite {
    width: 100%;
    max-width: 300px;
  }
  
  .advantage-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gravity-center {
    width: 300px;
    height: 350px;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .reward-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .reward-step {
    width: 100%;
    max-width: 280px;
  }
} 