/* ==========================================================================
   平板端样式 (769px-1024px)
   ========================================================================== */

/* iPad 专用样式 (1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* iPad 上 game-achievement 水平居中 */
  .game-achievement {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* iPad 上 social-links 水平居中 */
  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
  }

  .social-links-grid {
    justify-content: center;
  }
}

/* 小于等于1024px设备 */
@media screen and(min-width: 769px) and  (max-width: 1024px) {
  #hero h2 {
    font-size: 1.7rem !important;
  }
}

/* 平板端响应式设计 (≤1024px) */
@media screen and (max-width: 1024px) {
  /* 平板端第一屏背景图片水平位置调整 - 往右 */
  #hero {
    background-position: 38% center !important;
  }

  /* 平板端第二屏背景图片水平位置调整 - 往左 */
  #game {
    background-position: 74% center !important;
  }
  .game-main-container {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .game-left-content {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .game-title {
    text-align: center;
    margin-left: 0;
  }

  .game-subtitle-info {
    text-align: center;
    margin-left: 0;
  }

  .game-subtitle-info p {
    text-align: center;
  }


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

  /* 平板端容器优化 */
  .game-content-container {
    padding: 20px 24px;
    border-radius: 14px;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .achievements-grid {
    max-width: 100%;
  }

  /* Hero区域标题中等屏幕优化 */
  #hero h1 {
    font-size: 3rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.25rem !important;
    padding: 0 1.5rem !important;
  }

  #hero h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 2.5rem !important;
    padding: 0 1.5rem !important;
  }

  /* Hero区域容器中等屏幕优化 */
  #hero .relative.z-10 {
    margin-top: 140px !important;
    padding: 0 1.5rem !important;
  }
}

/* 在平板设备上显示向下箭头 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section .absolute.bottom-8 {
    display: none;
  }
  
  .mobile-scroll-indicator {
    display: block;
  }
}

/* 在桌面端隐藏移动端箭头 */
@media (min-width: 1025px) {
  .mobile-scroll-indicator {
    display: none;
  }
}