:root {
  --primary: #CE0E2D;
  --secondary: #1F1F1F;
  --accent: #FFD700;
  --text: #333333;
  --light: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background-color: var(--light);
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff 50%, #f5f5f5 50%);
  position: relative;
  overflow: hidden;
}

.nav {
  padding: 2rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  display: flex;
  padding: 0 10%;
  align-items: center;
  height: calc(100vh - 100px);
}

.hero-text {
  flex: 1;
  padding-right: 5rem;
}

.hero-text h1 {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--light);
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: bold;
}

.stat-label {
  color: var(--text);
  font-size: 1rem;
}

.game-features {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  background: rgba(255,255,255,0.9);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

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

.hero-visual {
  flex: 1;
  position: relative;
}

.game-preview {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 300px;
  background: var(--secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-preview:hover img {
  transform: scale(1.05);
}

.game-preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.chinese-pattern {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

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

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .stats {
    justify-content: center;
  }
  
  .game-features {
    flex-direction: column;
  }
} 