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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

body {
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

/* 主容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 头部样式 */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-languages {
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .primary-languages {
    gap: 4px;
  }
  
  .primary-languages .language-btn {
    padding: 4px 6px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .primary-languages {
    display: none;
  }
}

.language-btn {
  padding: 6px 12px;
  border: 1px solid #e1e5e9;
  border-radius: 20px;
  background: white;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.language-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.language-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* 下拉菜单样式 */
.more-languages {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.dropdown-toggle:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-item.active {
  background-color: #667eea;
  color: white;
}

@media (max-width: 480px) {
  .dropdown-toggle {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .dropdown-menu {
    right: -50px;
    min-width: 120px;
  }
  
  .dropdown-item {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* 游戏网格布局 */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 16px 0;
  }
}

/* 游戏卡片样式 */
.game-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.game-image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
}

@media (max-width: 768px) {
  .game-image-container {
    height: 120px;
  }
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.game-card:active {
  transform: translateY(-4px) scale(1.01);
}

.game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .game-image {
    height: 120px;
  }
}

.game-card:hover .game-image {
  transform: scale(1.05);
}

.game-info {
  padding: 16px;
}

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

.game-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .game-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

.game-category {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

.game-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .game-description {
    font-size: 12px;
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
  }
}

.play-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .play-button {
    padding: 8px;
    font-size: 14px;
  }
}

.play-button:hover {
  background: linear-gradient(45deg, #5a67d8, #6b46c1);
  transform: translateY(-2px);
}

.play-button:active {
  transform: translateY(0);
}

/* 加载动画 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 18px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 游戏详情页样式 */
.game-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* 新的布局样式 */
.game-detail-image-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.game-detail-image-centered {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
}

.game-detail-title-section {
  text-align: center;
  margin-bottom: 1.5rem;
}

.game-detail-title-centered {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.game-detail-category-centered {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.game-detail-play-full {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.game-detail-play-button-full {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.game-detail-play-button-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.game-detail-ad-section {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.ad-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ddd;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  color: #999;
  font-size: 1rem;
}

.game-detail-description-section {
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.game-detail-description-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* 保留原有样式用于兼容 */
.game-detail-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.game-detail-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.game-detail-info {
  flex: 1;
}

.game-detail-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}

@media (max-width: 768px) {
  .game-detail-title {
    font-size: 24px;
  }
}

.game-detail-category {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.game-detail-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.game-detail-play {
  margin-top: 20px;
}

.game-detail-play-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.game-detail-play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  text-decoration: none;
  color: white;
}

/* 游戏信息部分样式 */
.game-info-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-info-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.game-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.feature-item h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.feature-item p {
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* 紧凑版游戏信息样式 */
.game-info-section-compact {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.game-info-section-compact h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.game-features-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-item-compact {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-item-compact h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}

.feature-item-compact p {
  color: #666;
  line-height: 1.4;
  font-size: 0.9rem;
}

/* 如何游戏部分样式 */
.how-to-play-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.how-to-play-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.play-instructions {
  display: grid;
  gap: 20px;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.instruction-step p {
  margin: 0;
  color: #666;
  line-height: 1.5;
  font-size: 1rem;
}

/* 紧凑版如何游戏样式 */
.how-to-play-section-compact {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.how-to-play-section-compact h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.play-instructions-compact {
  display: grid;
  gap: 1rem;
}

.instruction-step-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: white;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-number-compact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.instruction-step-compact p {
  color: #666;
  line-height: 1.4;
  margin: 0;
  font-size: 0.9rem;
}

/* 推荐游戏部分样式 */
.recommended-games-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recommended-games-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

/* 简化游戏卡片网格 */
.simple-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .game-card {
    padding: 15px;
  }

  .game-card-title {
    font-size: 1.1rem;
  }

  .game-card-description {
    font-size: 0.85rem;
  }

  .game-card-play {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* 游戏详情页移动端样式 */
  .game-detail {
    padding: 0.5rem;
  }

  .game-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .game-detail-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }

  .game-detail-title {
    font-size: 2rem;
  }

  .game-detail-title-centered {
    font-size: 1.5rem;
  }

  .game-detail-image-centered {
    width: 100px;
    height: 100px;
  }

  .game-detail-play-full {
    padding: 0 0.5rem;
  }

  .game-detail-ad-section {
    padding: 0 0.5rem;
  }

  .game-detail-description-section {
    padding: 0 0.5rem;
  }

  .game-info-section,
  .how-to-play-section,
  .recommended-games-section {
    margin: 30px 0;
    padding: 20px;
  }

  .game-info-section h2,
  .how-to-play-section h2,
  .recommended-games-section h2 {
    font-size: 1.5rem;
  }

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

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

  .play-instructions-compact {
    gap: 0.8rem;
  }

  .instruction-step-compact {
    padding: 0.8rem;
  }

  .simple-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
  }

  .instruction-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .header {
    padding: 8px 0;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .language-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
  background: rgba(102, 126, 234, 0.3);
}

::-moz-selection {
  background: rgba(102, 126, 234, 0.3);
}

/* Footer 样式 */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  margin-top: 60px;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ecf0f1;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #667eea;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Footer Languages Grid */
.footer-languages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 5px;
}

.footer-language-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-language-link:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
  text-decoration: none;
}

.footer-language-link.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Footer Support Links Grid */
.footer-support-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 5px;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.footer-support-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.footer-support-link:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
  text-decoration: none;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  color: #95a5a6;
  font-size: 14px;
  margin: 0;
}

/* Static Pages Styles */
.static-page {
  min-height: 100vh;
  background-color: #f9fafb;
}

.static-page-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.static-page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 2rem;
  text-align: center;
}

.static-page-content {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.static-page-section {
  margin-bottom: 2rem;
}

.static-page-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.static-page-section h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.static-page-section p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.static-page-section ul {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.static-page-section li {
  margin-bottom: 0.25rem;
}

/* Contact Page Styles */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid #667eea;
}

.contact-item h3 {
  color: #667eea;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #667eea;
  text-decoration: underline;
  font-weight: 500;
}

.contact-item a:hover {
  color: #5a67d8;
}

/* FAQ Styles */
.faq-item {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid #10b981;
}

.faq-item h3 {
  color: #10b981;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #4b5563;
  line-height: 1.6;
}

/* Support Page Styles */
.support-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.support-link-item {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid #8b5cf6;
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.support-link-item h3 {
  margin-bottom: 0.75rem;
}

.support-link-item h3 a {
  color: #8b5cf6;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.support-link-item h3 a:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.support-link-item p {
  color: #4b5563;
  line-height: 1.6;
}

/* Contact Form Styles */
.contact-form {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form button {
  width: 100%;
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form button:hover {
  background-color: #2563eb;
}

/* Footer 移动端优化 */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 15px;
    margin-top: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .footer-logo {
    font-size: 22px;
  }
  
  .footer-description {
    font-size: 13px;
  }
  
  .footer-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .footer-link {
    font-size: 13px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-social-link {
    width: 36px;
    height: 36px;
  }
  
  .footer-copyright {
    font-size: 13px;
  }
  
  /* Footer Languages Mobile */
  .footer-languages {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .footer-language-link {
    font-size: 12px;
    padding: 5px 6px;
  }
  
  /* Footer Support Links Mobile */
  .footer-support-link {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  /* Static Pages Mobile */
  .static-page-container {
    padding: 1rem;
  }
  
  .static-page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .static-page-content {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 0 15px;
    margin-top: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-about {
    margin-bottom: 5px;
  }
  
  .footer-logo {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .footer-description {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .footer-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-links li {
    margin-bottom: 6px;
  }
  
  .footer-link {
    font-size: 12px;
  }
  
  .footer-social {
    gap: 10px;
    margin-top: 10px;
  }
  
  .footer-social-link {
    width: 32px;
    height: 32px;
  }
  
  .footer-social-link svg {
    width: 16px;
    height: 16px;
  }
  
  .footer-copyright {
    font-size: 12px;
    line-height: 1.4;
  }
  
  /* Footer Languages Mobile Small */
  .footer-languages {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  
  .footer-language-link {
    font-size: 11px;
    padding: 4px 5px;
  }
  
  /* Footer Support Links Mobile Small */
  .footer-support-link {
    font-size: 11px;
    padding: 5px 8px;
  }
  
  /* Static Pages Mobile Small */
  .static-page-container {
    padding: 0.75rem;
  }
  
  .static-page-title {
    font-size: 1.75rem;
  }
  
  .static-page-content {
    padding: 1rem;
  }
  
  .static-page-section h2 {
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
}

/* SimpleGameCard 样式 */
.simple-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
}

.simple-game-card:hover {
  transform: translateY(-2px);
}

.simple-game-image-container {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.simple-game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.simple-game-card:hover .simple-game-image {
  transform: scale(1.05);
}

.simple-game-image-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 12px;
}

.simple-game-info {
  width: 100%;
  text-align: center;
}

.simple-game-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.simple-game-card:hover .simple-game-title {
  color: #667eea;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .simple-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.75rem;
  }
  
  .simple-game-card {
    max-width: 90px;
  }
  
  .simple-game-title {
    font-size: 0.75rem;
  }
  
  .simple-game-image-fallback {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .simple-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
  }
  
  .simple-game-card {
    max-width: 80px;
  }
  
  .simple-game-title {
    font-size: 0.7rem;
  }
  
  .simple-game-image-container {
    border-radius: 10px;
    margin-bottom: 6px;
  }
  
  .simple-game-image,
  .simple-game-image-fallback {
    border-radius: 10px;
  }
  
  .simple-game-image-fallback {
    font-size: 1.25rem;
  }
}