:root {
    --primary-pink: #FF69B4;
    --primary-yellow: #FFD700;
    --primary-gray: #808080;
    --background-blue: #87CEEB;
  }
  
  .header {
    background-color: var(--background-blue);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
  }
  
  .nav {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .nav__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .nav__logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  
  .nav__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Game Section Styles */
.game-section {
    margin-top: 80px; /* 为fixed header留出空间 */
    padding: 1rem;
    background-color: var(--background-blue);
  }
  
  .game-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9; /* 保持16:9的宽高比 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .game-frame {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .game-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
  }
  
  .fullscreen-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
  }
  
  .fullscreen-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .fullscreen-icon {
    width: 20px;
    height: 20px;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .game-container {
      aspect-ratio: 4 / 3; /* 移动端使用更适合的宽高比 */
    }
    
    .fullscreen-btn {
      padding: 0.3rem;
    }
    
    .fullscreen-icon {
      width: 16px;
      height: 16px;
    }
  }
  
  /* 全屏模式样式 */
  .game-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    border-radius: 0;
  }

  .features {
    padding: 4rem 2rem;
    background-color: var(--background-blue);
}

.features__title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-pink);
    font-size: 2.5rem;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.feature-card:hover .feature-card__image img {
    transform: scale(1.05);
}

.feature-card__content {
    padding: 1.5rem;
}

.feature-card__content h3 {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card__content h4 {
    color: var(--primary-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.feature-card__content p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.section-title {
    text-align: center;
    color: var(--primary-pink);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about,
.how-to-play,
.why-play {
    padding: 4rem 2rem;
    background: var(--background-blue);
}

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

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

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

h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

h4 {
    color: var(--primary-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-grid,
    .steps-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}
.faq {
    padding: 4rem 2rem;
    background-color: var(--background-blue);
}

.faq__content {
    max-width: 1200px;
    margin: 0 auto;
}

.faq__category {
    margin-bottom: 3rem;
}

.faq__category h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-pink);
    padding-bottom: 0.5rem;
}

.faq__item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq__item h4 {
    color: var(--primary-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq__answer {
    color: #666;
    line-height: 1.6;
}

.faq__answer p {
    margin-bottom: 1rem;
}

.faq__answer ul,
.faq__answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq__answer li {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq {
        padding: 2rem 1rem;
    }

    .faq__item {
        padding: 1.5rem;
    }

    .faq__category h3 {
        font-size: 1.5rem;
    }

    .faq__item h4 {
        font-size: 1.1rem;
    }
}

.video-section {
    padding: 2rem;
    background-color: var(--background-blue);
}

.video-section__title {
    text-align: center;
    color: var(--primary-pink);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr; /* 手机端单列显示 */
    }

    .video-section {
        padding: 1rem;
    }

    .video-section__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* 添加悬浮效果 */
.video-wrapper:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}