﻿/* 基础样式设置 */
:root {
  --primary: #ff6b6b;
  --primary-dark: #ee5253;
  --secondary: #48dbfb;
  --secondary-dark: #0abde3;
  --tertiary: #feca57;
  --dark: #2c3e50;
  --darker: #1e272e;
  --light: #f5f6fa;
  --gray: #a4b0be;
  --success: #1dd1a1;
  --warning: #ff9f43;
  --text-white: #ffffff;
  --text-dark: #2f3542;
  --border-radius: 10px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.btn-login {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-login:hover {
  background-color: var(--secondary);
  color: var(--text-white);
}

.btn-register {
  background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(72, 219, 251, 0.3);
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(72, 219, 251, 0.4);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}

.btn-xl {
  padding: 16px 36px;
  font-size: 18px;
}

/* 头部导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.sticky {
  background-color: rgba(245, 246, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.site-header.hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* 移动端导航菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--light);
  z-index: 1001;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-container {
  padding: 80px 30px 30px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-list a {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  color: var(--primary);
}

.mobile-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-actions .btn {
  width: 100%;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* 英雄区域 */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background-color: var(--light);
  overflow: hidden;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-section .hero-decoration {
  position: absolute;
  top: 80px;
  right: 0;
  width: 45%;
  height: calc(100% - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-section .hero-decoration .hero-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-section .hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
  white-space: nowrap;
  overflow: visible;
  width: 100%;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* 特色区域 */
.features-section {
  padding: 80px 0;
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--text-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  margin-top: -50px;
  margin-bottom: 20px;
}

.feature-icon .emoji-icon {
  font-size: 48px;
}

.feature-icon img {
  width: 48px;
  height: 48px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-text {
  color: var(--gray);
}

/* 部分标题 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
  color: var(--text-white);
}

/* 促销活动区域 */
.promotions-section {
  padding: 100px 0;
  background-color: var(--text-white);
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.promotion-card {
  background-color: var(--text-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.promotion-card:hover {
  transform: translateY(-10px);
}

.promotion-image {
  position: relative;
  height: 200px;
  background-color: var(--primary-light);
  overflow: hidden;
}

.promotion-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.promotion-icon {
  font-size: 80px;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.promotion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.promotion-content {
  padding: 25px;
}

.promotion-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.promotion-text {
  color: var(--gray);
  margin-bottom: 20px;
}

/* VIP区域 */
.vip-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark), var(--darker));
  color: var(--text-white);
}

.vip-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.vip-info {
  flex: 1;
  min-width: 300px;
}

.vip-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.vip-info-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.vip-benefits-list {
  margin-bottom: 40px;
}

.vip-benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.benefit-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.benefit-text {
  font-size: 1.1rem;
}

.vip-levels {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.vip-level-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.vip-level-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.level-header {
  padding: 20px;
  text-align: center;
}

.level-header.bronze {
  background: linear-gradient(45deg, #cd7f32, #e6b17f);
}

.level-header.silver {
  background: linear-gradient(45deg, #c0c0c0, #e6e6e6);
}

.level-header.gold {
  background: linear-gradient(45deg, #ffd700, #ffecb3);
}

.level-header.diamond {
  background: linear-gradient(45deg, #b9f2ff, #a5f3eb);
}

.level-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.level-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.level-benefits {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
}

.level-benefits p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* 现金返还区域 */
.cashback-section {
  padding: 100px 0;
  background-color: var(--light);
}

.cashback-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.cashback-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cashback-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--success) 0%, var(--primary) 100%);
  height: 300px;
}

.cashback-icon {
  font-size: 120px;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cashback-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.cashback-info {
  flex: 1;
  min-width: 300px;
}

.cashback-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--dark);
}

.cashback-steps {
  margin-bottom: 30px;
}

.step {
  display: flex;
  margin-bottom: 25px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

.cashback-note {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
}

/* 邀请好友区域 */
.referral-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--text-white);
}

.referral-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.referral-info {
  flex: 1;
  min-width: 300px;
}

.referral-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.referral-info-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--text-white);
}

.referral-steps {
  margin-bottom: 30px;
}

.referral-steps .step-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.referral-steps .step-emoji {
  font-size: 20px;
}

.referral-steps .step-content h4 {
  color: var(--text-white);
}

.referral-steps .step-content p {
  color: rgba(255, 255, 255, 0.8);
}

.referral-bonus {
  margin-bottom: 30px;
}

.bonus-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
}

.bonus-amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--tertiary);
}

.bonus-text {
  font-size: 1.1rem;
}

.referral-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.referral-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  height: 300px;
}

.referral-icon {
  font-size: 120px;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.referral-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 行动召唤区域 */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  text-align: center;
  color: var(--text-white);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚 */
.site-footer {
  background-color: var(--darker);
  color: var(--text-white);
  padding-top: 80px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-nav-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
}

.copyright {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* 移动端底部按钮 */
.mobile-actions-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 8px;
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 6px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 2px solid transparent;
}

.login-btn {
  background-color: var(--light);
  color: var(--dark);
  margin-right: 5px;
  border-color: var(--secondary);
}

.register-btn {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  margin-left: 5px;
  border-color: var(--primary-dark);
}

.btn-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .hero-section .hero-decoration {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    margin-top: 40px;
    opacity: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .hero-section .hero-decoration .hero-image {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
  }
  
  .hero-section .hero-content {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.8rem;
    width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .vip-content,
  .cashback-content,
  .referral-content {
    flex-direction: column;
  }
  
  .referral-content {
    flex-direction: column-reverse;
  }
  
  .vip-info-title,
  .cashback-info-title,
  .referral-info-title {
    font-size: 1.8rem;
  }
  
  .vip-info-title::after,
  .referral-info-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .vip-info,
  .cashback-info,
  .referral-info {
    text-align: center;
  }
  
  .vip-benefits-list li,
  .step {
    justify-content: center;
  }
  
  .mobile-actions-bar {
    display: flex;
  }
  
  .site-footer {
    padding-bottom: 80px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon img {
    width: 32px;
    height: 32px;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .promotion-title {
    font-size: 1.3rem;
  }
  
  .vip-levels {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-nav-title {
    text-align: center;
  }
  
  .footer-nav-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-nav-list {
    text-align: center;
  }
} 