:root {
  --primary: #2962ff;
  --primary-dark: #0039cb;
  --secondary: #00c853;
  --dark: #121826;
  --darker: #0d1117;
  --light: #f5f7ff;
  --gray: #8c98a4;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a{text-decoration: none}
body {
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;

}
.navbar .container{
  display: flex;
  justify-content: space-between;
  align-items: center;

}

/* 导航栏样式 - 手机优化 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.logo i {
  margin-right: 8px;
  color: var(--secondary);
  font-size: 18px;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 75%;
}

.nav-links li {
  margin: 0 12px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(41, 98, 255, 0.1);
  color: var(--primary);
}

.nav-buttons {
  display: flex;
  align-items: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  display: inline-block;
  border: none;
  font-size: 14px;
}

.btn-login {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--gray);
  margin-right: 10px;
  padding: 8px 15px;
}

.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 10px rgba(41, 98, 255, 0.3);
  padding: 8px 16px;
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(41, 98, 255, 0.4);
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* 主横幅区域 - 手机优化 */
.hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--darker), #0f172a);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 98, 255, 0.15) 0%, transparent 70%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
  width: 50%;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0);
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
  background: linear-gradient(to right, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 25px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-download {
  background: linear-gradient(135deg, var(--secondary), #009624);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 200, 83, 0.4);
}

/* 加密货币价格行情 - 手机优化 */
.crypto-prices {
  padding: 60px 0;
  background: var(--dark);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.section-title span {
  color: var(--primary);
}

.prices-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.crypto-card {
  background: rgba(30, 35, 50, 0.7);
  border-radius: 12px;
  padding: 25px;
  width: 250px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(41, 98, 255, 0.2);
  backdrop-filter: blur(10px);
}

.crypto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  border-color: rgba(41, 98, 255, 0.4);
}

.crypto-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
}

.crypto-logo.btc {
  background: rgba(247, 147, 26, 0.1);
  color: #f7931a;
}

.crypto-logo.eth {
  background: rgba(115, 130, 250, 0.1);
  color: #7382fa;
}

.crypto-logo.doge {
  background: rgba(195, 156, 61, 0.1);
  color: #c39c3d;
}

.crypto-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.crypto-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-change {
  font-size: 0.95rem;
  font-weight: 500;
}

.price-change.green {
  color: var(--secondary);
}

.price-change.red {
  color: #ff5252;
}

/* 平台优势部分 - 扩展到6个点 */
.features {
  padding: 80px 0;
  background: var(--darker);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(30, 35, 50, 0.7);
  border-radius: 12px;
  padding: 30px 25px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--gray);
  font-size: 1rem;
}

/* 先进交易系统板块 */
.trading-system {
  padding: 80px 0;
  background: var(--dark);
}

.system-container {
  background: rgba(30, 35, 50, 0.7);
  border-radius: 15px;
  padding: 50px;
  border: 1px solid rgba(41, 98, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.system-title {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 25px;
  text-align: center;
}

.system-content {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
}

.system-content p {
  margin-bottom: 20px;
}

.system-content p:last-child {
  margin-bottom: 0;
}

/* 全天候客户支持板块 */
.customer-support {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark), #0f172a);
}

.support-container {
  background: rgba(30, 35, 50, 0.7);
  border-radius: 15px;
  padding: 50px;
  border: 1px solid rgba(41, 98, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.support-title {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 25px;
  text-align: center;
}

.support-content {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
}

.support-content p {
  margin-bottom: 20px;
}

.support-content p:last-child {
  margin-bottom: 0;
}

/* APP下载部分 - 手机优化 */
.app-download {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark), #0f172a);
  position: relative;
}

.app-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-image img {
  max-width: 100%;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.app-image img:hover {
  transform: scale(1.03);
}

.app-content {
  flex: 1;
}

.app-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.app-content p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 35px;
  max-width: 600px;
}

.app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.app-btn i {
  font-size: 1.8rem;
  margin-right: 12px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text span:first-child {
  font-size: 0.85rem;
  color: var(--gray);
}

.btn-text span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
}

/* 注册表单部分 - 手机优化 */
.register-section {
  padding: 80px 0;
  background: var(--darker);
}

.register-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(30, 35, 50, 0.7);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(41, 98, 255, 0.2);
}

.register-image {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}

.register-image img {
  max-width: 100%;
}

.register-form {
  flex: 1;
  padding: 40px;
}

.register-form h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.register-form p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 25, 0.5);
  color: var(--light);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.3);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(41, 98, 255, 0.4);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--gray);
  font-size: 0.95rem;
}
.form-footer p:first-child{font-size: 14px}
.form-footer a {
  color: var(--primary);
  text-decoration: none;
}

/* 页脚部分 - 手机优化 */
.footer {
  background: rgba(10, 15, 25, 0.8);
  padding: 60px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-about p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  transition: var(--transition);
  font-size: 16px;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
  font-size: 0.9rem;
}

/* 响应式设计 - 手机优先 */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 40px;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .app-container {
    flex-direction: column;
  }

  .app-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }

  .app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--darker);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .register-container {
    flex-direction: column;
  }

  .register-image {
    padding: 25px;
  }

  .register-form {
    padding: 30px;
  }

  .system-container, .support-container {
    padding: 30px;
  }
  .footer-links-group{display: none}
}
.friend-link a:hover{color: var(--primary) !important;}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px;
  }

  .features-container {
    grid-template-columns: 1fr;
  }

  .app-btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
  }

  .crypto-card {
    width: 100%;
    max-width: 300px;
  }

  .crypto-name {
    font-size: 1.2rem;
  }

  .crypto-price {
    font-size: 1.4rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .system-title, .support-title {
    font-size: 1.7rem;
  }

  .system-content, .support-content {
    font-size: 1rem;
  }
}
.footer-logo .fas{margin-right: 8px;}
@media (max-width: 380px) {
  .nav-buttons {
    display: none;
  }

  .logo {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .crypto-name {
    font-size: 1.1rem;
  }

  .crypto-price {
    font-size: 1.3rem;
  }

  .feature-title {
    font-size: 1.3rem;
  }

  .feature-text {
    font-size: 0.95rem;
  }
}