/* heval_web/css/pages.css */

/* ========== 首页Hero区 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.hero-cta {
  margin-top: var(--spacing-lg);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* ========== 特色功能区 ========== */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-sm);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========== 游戏展示区 ========== */
.games {
  background: var(--bg-light);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

@media (max-width: 1023px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.game-card {
  cursor: pointer;
}

.game-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
}

/* ========== 下载引导区 ========== */
.download {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
}

.download-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.download-description {
  font-size: 16px;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
}

.download-requirement {
  margin-top: var(--spacing-md);
  font-size: 14px;
  opacity: 0.7;
}

/* ========== 游戏详情页 ========== */
.game-header {
  padding: var(--spacing-xl) 0;
  margin-top: 70px;
  background: var(--bg-white);
}

.game-header-content {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.game-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
}

.game-info h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.game-info p {
  color: var(--text-muted);
  font-size: 18px;
}

.game-screenshots {
  padding: var(--spacing-lg) 0;
  background: var(--bg-light);
}

.game-details {
  padding: var(--spacing-lg) 0;
  background: var(--bg-white);
}

.detail-section {
  margin-bottom: var(--spacing-lg);
}

.detail-section h2 {
  font-size: 24px;
  margin-bottom: var(--spacing-sm);
}

.detail-section p {
  line-height: 1.8;
  color: var(--text-muted);
}

.game-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.feature-badge {
  background: var(--bg-light);
  padding: var(--spacing-sm);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

/* ========== 法律页面 ========== */
.legal-header {
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  margin-top: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.legal-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.legal-date {
  font-size: 16px;
  opacity: 0.9;
}

.legal-content {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.legal-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.legal-highlight {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius);
}

.legal-highlight p {
  margin: 0;
  color: #856404;
}

.legal-section {
  margin-bottom: var(--spacing-xl);
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--bg-light);
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-section p {
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: var(--spacing-sm);
}

.legal-section ul {
  margin: var(--spacing-sm) 0 var(--spacing-md) var(--spacing-lg);
  list-style: disc;
}

.legal-section li {
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 8px;
}

.legal-footer {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--bg-light);
  text-align: center;
}

.legal-footer p {
  margin-bottom: var(--spacing-sm);
}

.legal-footer a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ========== 联系页面 ========== */
.contact-header {
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  margin-top: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.contact-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.contact-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

.contact-content {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2,
.contact-form-section h2,
.contact-cta h2,
.contact-faq h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.contact-method {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.feedback-types {
  display: grid;
  gap: var(--spacing-md);
}

.feedback-card {
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feedback-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-icon {
  font-size: 32px;
  margin-bottom: var(--spacing-sm);
}

.feedback-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feedback-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-cta {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-xl);
}

.contact-cta p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.contact-faq {
  margin-top: var(--spacing-xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.faq-item {
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
