/* roulang page: index */
:root {
      --primary: #FF6B35;
      --primary-dark: #E55A2B;
      --accent: #FF3CAC;
      --deep-purple: #1A0A2E;
      --purple-mid: #2D1B4E;
      --success: #00D68F;
      --warm-yellow: #FFD166;
      --bg-light: #F5F0FA;
      --text-dark: #2D2D3F;
      --text-mid: #6E6E8A;
      --text-light: #FFFFFF;
      --card-shadow: 0 4px 20px rgba(26,10,46,0.08);
      --card-hover-shadow: 0 12px 32px rgba(255,107,53,0.15);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-number: 'DIN Alternate', 'PingFang SC', sans-serif;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      color: var(--text-dark);
      background-color: #FFFFFF;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-body);
      border: none;
      outline: none;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      background: transparent;
    }

    .header.scrolled {
      background: #FFFFFF;
      box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.4rem;
      color: #FFFFFF;
      letter-spacing: 1px;
      transition: color 0.3s;
    }

    .header.scrolled .logo {
      color: var(--text-dark);
    }

    .logo-icon {
      font-size: 1.8rem;
      line-height: 1;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-weight: 500;
      font-size: 1rem;
      color: rgba(255,255,255,0.85);
      transition: color 0.2s;
      white-space: nowrap;
    }

    .header.scrolled .nav-links a {
      color: var(--text-dark);
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-cta {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #FFFFFF !important;
      padding: 10px 24px;
      border-radius: 30px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(255,107,53,0.3);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: #FFFFFF;
      font-size: 2rem;
      cursor: pointer;
    }

    .header.scrolled .hamburger {
      color: var(--text-dark);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: linear-gradient(135deg, #1A0A2E, #2D1B4E);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      z-index: 999;
    }

    .mobile-menu.active {
      display: flex;
    }

    .mobile-menu a {
      color: #FFFFFF;
      font-size: 1.8rem;
      font-weight: 600;
    }

    .close-menu {
      position: absolute;
      top: 24px;
      right: 24px;
      background: none;
      border: none;
      color: #FFFFFF;
      font-size: 2.5rem;
      cursor: pointer;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #1A0A2E 0%, #2D1B4E 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding-top: 72px;
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(255,107,53,0.3) 0%, transparent 70%);
      top: -100px;
      right: -100px;
    }

    .particle {
      position: absolute;
      background: rgba(255,255,255,0.15);
      border-radius: 50%;
      animation: float 8s infinite ease-in-out;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-30px) scale(1.1); }
    }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 60px;
      position: relative;
      z-index: 2;
    }

    .hero-text {
      flex: 1;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.2;
      background: linear-gradient(to right, #FF6B35, #FF3CAC);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.2rem;
    }

    .hero-sub {
      font-size: 1.125rem;
      color: rgba(255,255,255,0.8);
      margin-bottom: 2rem;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .btn-primary {
      background: linear-gradient(135deg, #FF6B35, #FF3CAC);
      color: #FFF;
      padding: 14px 36px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s;
      box-shadow: 0 8px 20px rgba(255,107,53,0.4);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(255,107,53,0.5);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: #FFFFFF;
      padding: 14px 36px;
      border-radius: 30px;
      font-weight: 600;
      transition: 0.3s;
    }

    .btn-outline:hover {
      background: rgba(255,107,53,0.1);
    }

    .trust-badge {
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hero-image {
      flex: 1;
      display: flex;
      justify-content: center;
      animation: float 6s infinite ease-in-out;
    }

    .hero-image img {
      max-height: 400px;
      object-fit: contain;
      border-radius: 24px;
    }

    /* 通用板块 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1rem;
      color: var(--text-dark);
    }

    .section-sub {
      text-align: center;
      color: var(--text-mid);
      max-width: 600px;
      margin: 0 auto 48px;
    }

    .bg-light {
      background-color: var(--bg-light);
    }

    /* 优势卡片 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: #FFFFFF;
      border-radius: var(--radius-lg);
      padding: 40px 32px;
      text-align: center;
      box-shadow: var(--card-shadow);
      transition: all 0.3s ease;
      border-top: 4px solid transparent;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--card-hover-shadow);
      border-top-color: var(--primary);
    }

    .feature-icon {
      font-size: 3rem;
      margin-bottom: 20px;
    }

    .feature-title {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 12px;
    }

    /* 游戏网格 */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .game-card {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s;
    }

    .game-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-hover-shadow);
    }

    .game-cover {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }

    .game-info {
      padding: 16px;
    }

    .game-name {
      font-weight: 600;
      font-size: 1.1rem;
    }

    .game-size {
      color: var(--text-mid);
      font-size: 0.8rem;
      margin: 4px 0 12px;
    }

    .btn-download {
      width: 100%;
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px;
      border-radius: 20px;
      font-weight: 600;
      transition: 0.3s;
    }

    .btn-download:hover {
      background: var(--primary);
      color: #FFF;
    }

    /* 步骤 */
    .steps-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .step-item {
      text-align: center;
      flex: 1;
      position: relative;
    }

    .step-number {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 50%;
      color: #FFF;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }

    /* 数据 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 3rem;
      font-weight: 700;
      color: var(--warm-yellow);
    }

    /* 评价滑动 */
    .reviews-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 20px;
      scroll-snap-type: x mandatory;
    }

    .review-card {
      min-width: 300px;
      background: #FFF;
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--card-shadow);
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: #FFF;
      border-radius: var(--radius-md);
      padding: 0 24px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      font-weight: 600;
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-mid);
    }

    .faq-item.active .faq-answer {
      max-height: 150px;
      padding-bottom: 20px;
    }

    /* CTA */
    .cta-band {
      background: var(--deep-purple);
      text-align: center;
      padding: 80px 0;
    }

    .footer {
      background: #0F061A;
      color: rgba(255,255,255,0.7);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .games-grid { grid-template-columns: repeat(2, 1fr); }
      .features-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: block; }
      .hero-content { flex-direction: column; }
      .hero-title { font-size: 2.2rem; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .steps-row { flex-direction: column; gap: 30px; }
    }
