/* 基础样式 - 移动端优先 */
    :root {
      --primary-color: #1a1a2e;
      --secondary-color: #e94560;
      --accent-color: #0f3460;
      --highlight-color: #533483;
      --text-color: #f0f0f0;
      --text-secondary: #b8b8b8;
      --bg-dark: #16213e;
      --card-bg: rgba(255, 255, 255, 0.08);
      --border-color: rgba(255, 255, 255, 0.1);
      --gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--highlight-color) 100%);
      --gradient-dark: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
      --radius: 12px;
      --section-padding: 4rem 1rem;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    html {
      scroll-behavior: smooth;
      font-size: 14px;
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      color: var(--text-color);
      background: var(--primary-color);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-text-size-adjust: 100%;
    }
    
    a {
      text-decoration: none;
      color: var(--text-color);
      transition: all 0.3s ease;
    }
    
    a:hover {
      color: var(--secondary-color);
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    
    p {
      margin-bottom: 1rem;
    }
    
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    section {
      padding: var(--section-padding);
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .section-title h2 {
      font-size: 2rem;
      color: var(--text-color);
      position: relative;
      display: inline-block;
      padding-bottom: 0.5rem;
    }
    
    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--gradient);
      border-radius: 2px;
    }
    
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.9rem 1.8rem;
      background: var(--gradient);
      color: var(--text-color);
      border-radius: var(--radius);
      font-weight: 600;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }
    
    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: 0.5s;
    }
    
    .btn:hover::before {
      left: 100%;
    }
    
    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(233, 69, 96, 0.3);
    }
    
    .btn-outline {
      background: transparent;
      border: 2px solid var(--secondary-color);
      color: var(--secondary-color);
      box-shadow: none;
    }
    
    .btn-outline:hover {
      background: var(--secondary-color);
      color: var(--primary-color);
    }
    
    /* 头部导航 - 移动端优化 */
    header {
      background: rgba(26, 26, 46, 0.95);
      color: var(--text-color);
      padding: 1rem 0;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-color);
      display: flex;
      align-items: center;
    }
    
    .logo span {
      color: var(--secondary-color);
    }
    
    .logo-icon {
      margin-right: 0.5rem;
      font-size: 1.8rem;
    }
    
    .nav-toggle {
      display: block;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 0.3rem;
      color: var(--text-color);
      background: none;
      border: none;
    }
    
    nav {
      position: fixed;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--bg-dark);
      transform: translateY(-100%);
      transition: transform 0.3s ease, opacity 0.3s ease;
      z-index: 999;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      opacity: 0;
      visibility: hidden;
    }
    
    nav.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    
    nav ul {
      display: flex;
      flex-direction: column;
      list-style: none;
      padding: 1rem 0;
    }
    
    nav li {
      margin: 0;
      text-align: center;
    }
    
    nav a {
      display: block;
      padding: 1rem 1.5rem;
      font-weight: 500;
      position: relative;
      font-size: 1.1rem;
    }
    
    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--gradient);
      transition: width 0.3s;
    }
    
    nav a:hover::after {
      width: 80%;
    }
    
    /* 横幅区域 - 移动端优化 */
    .banner {
      position: relative;
      color: var(--text-color);
      text-align: center;
      padding: 9rem 1rem 5rem;
      background: var(--gradient-dark);
      overflow: hidden;
    }
    
    .banner::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 80% 20%, rgba(83, 52, 131, 0.1) 0%, transparent 50%);
      z-index: 0;
    }
    
    .banner-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      margin: 0 auto;
    }
    
    .banner h1 {
      font-size: 2.2rem;
      margin-bottom: 1.5rem;
      color: var(--text-color);
    }
    
    .banner h1 span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .banner p {
      font-size: 1.1rem;
      margin-bottom: 2rem;
      color: var(--text-secondary);
    }
    
    .banner-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 2rem;
    }
    
    /* 游戏特色区域 */
    .features-section {
      background: var(--bg-dark);
    }
    
    .features-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .feature-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 2rem;
      border: 1px solid var(--border-color);
      text-align: center;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }
    
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow);
    }
    
    .feature-icon {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .feature-card h3 {
      margin-bottom: 1rem;
      color: var(--text-color);
      font-size: 1.4rem;
    }
    
    .feature-card p {
      color: var(--text-secondary);
      font-size: 1rem;
    }
    
    /* 下载区域 - 移动端优化 */
    .downloads-section {
      background: var(--primary-color);
    }
    
    .download-cards {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .download-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      border: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }
    
    .download-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
    
    .download-card-header {
      padding: 1.5rem;
      background: rgba(0, 0, 0, 0.2);
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    
    .download-card-body {
      padding: 2rem;
    }
    
    .download-card h3 {
      font-size: 1.5rem;
      margin-bottom: 0.8rem;
      color: var(--text-color);
    }
    
    .download-card p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      font-size: 1rem;
    }
    
    .download-icon {
      font-size: 3rem;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .platform-badges {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
    }
    
    .platform-badge {
      background: rgba(255, 255, 255, 0.1);
      padding: 0.4rem 0.8rem;
      border-radius: 20px;
      font-size: 0.8rem;
      color: var(--text-secondary);
    }
    
    /* 关于我们区域 - 移动端优化 */
    .about-section {
      background: var(--bg-dark);
    }
    
    .about-content {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }
    
    .about-text h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--secondary-color);
    }
    
    .about-text p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      font-size: 1rem;
    }
    
    .about-image {
      background: var(--card-bg);
      height: 250px;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-color);
      order: -1;
      overflow: hidden;
      position: relative;
    }
    
    .about-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient);
      opacity: 0.1;
    }
    
    .about-image-placeholder {
      text-align: center;
      color: var(--text-secondary);
      z-index: 1;
    }
    
    /* 联系我们区域 - 移动端优化 */
    .contact-section {
      background: var(--primary-color);
    }
    
    .contact-content {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }
    
    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    
    .contact-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 1.8rem;
      border: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }
    
    .contact-card h3 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
      color: var(--text-color);
    }
    
    .contact-card p {
      color: var(--text-secondary);
      font-size: 1rem;
    }
    
    .contact-form {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 2rem;
      border: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }
    
    textarea.form-control {
      min-height: 120px;
      resize: vertical;
    }
    
    /* 页脚 - 移动端优化 */
    footer {
      background: var(--bg-dark);
      color: var(--text-color);
      padding: 4rem 1rem 2rem;
    }
    
    .footer-content {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
      margin-bottom: 2.5rem;
    }
    
    .footer-column h3 {
      color: var(--secondary-color);
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.5rem;
    }
    
    .footer-column h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--gradient);
    }
    
    .footer-links {
      list-style: none;
    }
    
    .footer-links li {
      margin-bottom: 0.8rem;
    }
    
    .footer-links a {
      color: var(--text-secondary);
      transition: all 0.3s;
      font-size: 1rem;
    }
    
    .footer-links a:hover {
      color: var(--secondary-color);
      padding-left: 5px;
    }
    
    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      border-top: 1px solid var(--border-color);
      color: var(--text-secondary);
      font-size: 0.9rem;
    }
    
    /* 弹窗 - 移动端优化 */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
    
    .modal-content {
      background: var(--card-bg);
      padding: 2rem;
      border-radius: var(--radius);
      width: 100%;
      max-width: 450px;
      position: relative;
      color: var(--text-color);
      box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
      border-top: 4px solid var(--secondary-color);
      animation: modalFadeIn 0.3s;
      max-height: 90vh;
      overflow-y: auto;
      backdrop-filter: blur(10px);
    }
    
    @keyframes modalFadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .modal-content h3 {
      margin-bottom: 1.5rem;
      text-align: center;
      color: var(--secondary-color);
      font-size: 1.5rem;
    }
    
    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-secondary);
      transition: color 0.3s;
      background: none;
      border: none;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }
    
    .modal-close:hover {
      color: var(--secondary-color);
      background: rgba(255, 255, 255, 0.05);
    }
    
    .form-group {
      margin-bottom: 1.5rem;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
      font-size: 1rem;
    }
    
    .form-control {
      width: 100%;
      padding: 1rem;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-color);
      font-size: 1rem;
      transition: all 0.3s;
    }
    
    .form-control:focus {
      outline: none;
      border-color: var(--secondary-color);
      background: rgba(255, 255, 255, 0.1);
    }
    
    .form-options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      font-size: 0.9rem;
    }
    
    .remember {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .remember input {
      accent-color: var(--secondary-color);
    }
    
    .forgot-password {
      color: var(--accent-color);
    }
    
    .forgot-password:hover {
      text-decoration: underline;
    }
    
    .result-box {
      margin-top: 1.5rem;
      background: rgba(255, 255, 255, 0.05);
      padding: 1rem;
      border-radius: var(--radius);
      font-size: 0.9rem;
      text-align: center;
    }
    
    /* 加载指示器 */
    .loading {
      display: none;
      text-align: center;
      padding: 1.5rem;
    }
    
    .loading.active {
      display: block;
    }
    
    .spinner {
      display: inline-block;
      width: 35px;
      height: 35px;
      border: 3px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      border-top-color: var(--secondary-color);
      animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    /* 平板设备适配 */
    @media (min-width: 768px) {
      html {
        font-size: 16px;
      }
      
      .container {
        padding: 0 1.5rem;
      }
      
      section {
        padding: 5rem 1.5rem;
      }
      
      .section-title h2 {
        font-size: 2.5rem;
      }
      
      .banner {
        padding: 11rem 1.5rem 7rem;
      }
      
      .banner h1 {
        font-size: 2.8rem;
      }
      
      .banner-buttons {
        flex-direction: row;
        justify-content: center;
      }
      
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .download-cards {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .about-content {
        flex-direction: row;
        align-items: center;
      }
      
      .about-image {
        order: 0;
        height: 350px;
        flex: 1;
      }
      
      .about-text {
        flex: 1;
      }
      
      .contact-content {
        flex-direction: row;
      }
      
      .footer-content {
        flex-direction: row;
      }
      
      .footer-column {
        flex: 1;
      }
    }
    
    /* 桌面设备适配 */
    @media (min-width: 1024px) {
      .nav-toggle {
        display: none;
      }
      
      nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        width: auto;
      }
      
      nav ul {
        flex-direction: row;
        padding: 0;
      }
      
      nav li {
        margin-left: 2rem;
      }
      
      nav a {
        padding: 0.5rem 0;
      }
      
      .features-grid {
        grid-template-columns: repeat(4, 1fr);
      }
      
      .download-cards {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    
    /* 减少动画，提高性能 */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      
      .download-card:hover {
        transform: none;
      }
      
      .btn:hover {
        transform: none;
      }
      
      .feature-card:hover {
        transform: none;
      }
    }