/* 首页样式 */

:root {
  --primary-color: #4A90E2;
  --success-color: #2ECC71;
  --danger-color: #E74C3C;
  --bg-dark: #1a1a2e;
  --bg-card: #16213e;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logo {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

/* 入口卡片 */
.entry-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}

.card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.card-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 2rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translateX(5px);
}

.tv-card {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(74, 144, 226, 0.1));
}

.mobile-card {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(46, 204, 113, 0.1));
}

/* 特性区域 */
.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

/* 页脚 */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  color: var(--text-muted);
}

.footer p {
  margin: 0.5rem 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  
  .logo {
    font-size: 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .entry-cards {
    flex-direction: column;
  }
  
  .card {
    max-width: 100%;
  }
  
  .features {
    padding: 3rem 1.5rem;
  }
  
  .features h2 {
    font-size: 2rem;
  }
}
