/* roulang page: index */
:root {
      --brand-green: #00C853;
      --brand-green-light: #00E676;
      --brand-dark: #1A1A2E;
      --brand-dark-alt: #16213E;
      --brand-orange: #FF6D00;
      --brand-orange-deep: #E65100;
      --gray-bg: #F8FAFC;
      --white: #FFFFFF;
      --text-primary: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --text-dark-surface: #F1F5F9;
      --border-light: #E2E8F0;
      --border-dark: #1E293B;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
      --shadow-card-hover: 0 12px 32px rgba(0,0,0,0.1);
      --shadow-nav: 0 1px 3px rgba(0,0,0,0.08);
      --radius-button: 12px;
      --radius-card: 20px;
      --radius-large: 24px;
      --radius-faq: 12px;
      --transition-base: 300ms ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
      background-color: var(--gray-bg);
      color: var(--text-body);
      line-height: 1.75;
      font-weight: 400;
      -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 var(--transition-base);
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    @media (max-width: 640px) {
      .container {
        padding: 0 16px;
      }
    }

    /* 导航栏 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      transition: box-shadow var(--transition-base);
    }

    .site-header.scrolled {
      box-shadow: var(--shadow-nav);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    @media (max-width: 768px) {
      .header-inner {
        height: 56px;
      }
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-primary);
    }

    .logo i {
      color: var(--brand-green);
      font-size: 1.8rem;
    }

    .nav-desktop {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links {
      display: flex;
      gap: 28px;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding-bottom: 4px;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--brand-green);
      transition: width var(--transition-base);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--brand-green);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .btn-nav-download {
      background: var(--brand-orange);
      color: white;
      padding: 8px 20px;
      border-radius: 8px;
      font-weight: 600;
      transition: background var(--transition-base), transform var(--transition-base);
    }

    .btn-nav-download:hover {
      background: var(--brand-orange-deep);
      transform: translateY(-1px);
      color: white;
    }

    .mobile-menu-toggle {
      display: none;
    }

    #menu-checkbox {
      display: none;
    }

    @media (max-width: 1024px) {
      .nav-desktop {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--text-primary);
        cursor: pointer;
      }
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -100%;
      width: 280px;
      height: 100vh;
      background: var(--white);
      box-shadow: 2px 0 12px rgba(0,0,0,0.1);
      z-index: 100;
      transition: left 0.3s ease;
      display: flex;
      flex-direction: column;
      padding: 24px;
    }

    #menu-checkbox:checked ~ .mobile-drawer {
      left: 0;
    }

    .drawer-close {
      align-self: flex-end;
      font-size: 1.8rem;
      cursor: pointer;
      margin-bottom: 32px;
    }

    .mobile-drawer nav {
      display: flex;
      flex-direction: column;
      gap: 24px;
      flex: 1;
    }

    .mobile-drawer a {
      font-size: 1.2rem;
      font-weight: 500;
      color: var(--text-primary);
    }

    .drawer-download-btn {
      background: var(--brand-orange);
      color: white;
      text-align: center;
      padding: 14px;
      border-radius: var(--radius-button);
      font-weight: 600;
      margin-top: auto;
    }

    /* 板块通用间距 */
    section {
      padding: 80px 0;
    }

    @media (max-width: 640px) {
      section {
        padding: 60px 0;
      }
    }

    .section-title {
      font-weight: 700;
      font-size: clamp(1.8rem, 3.5vw, 2.5rem);
      color: var(--text-primary);
      margin-bottom: 16px;
      text-align: center;
    }

    .section-desc {
      color: var(--text-muted);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 48px;
      font-size: 1.1rem;
    }

    /* Hero */
    #hero {
      padding-top: 120px;
      padding-bottom: 80px;
      background-color: var(--white);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-image {
        max-width: 400px;
        margin: 0 auto;
      }
    }

    .hero-badge {
      display: inline-block;
      background: var(--brand-green);
      color: white;
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .hero h1 {
      font-weight: 800;
      font-size: clamp(2.5rem, 5vw, 4rem);
      letter-spacing: -0.02em;
      color: var(--text-primary);
      line-height: 1.2;
    }

    .hero h1 .highlight {
      color: var(--brand-green);
    }

    .hero-subtitle {
      font-size: 1.125rem;
      color: var(--text-muted);
      margin: 20px 0 32px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    @media (max-width: 1024px) {
      .hero-actions {
        justify-content: center;
      }
    }

    .btn-primary {
      background: var(--brand-orange);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-button);
      font-weight: 600;
      transition: background var(--transition-base), transform var(--transition-base);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary:hover {
      background: var(--brand-orange-deep);
      transform: translateY(-2px);
      color: white;
    }

    .btn-outline {
      border: 2px solid var(--brand-green);
      color: var(--brand-green);
      padding: 14px 32px;
      border-radius: var(--radius-button);
      font-weight: 600;
      background: transparent;
      transition: all var(--transition-base);
    }

    .btn-outline:hover {
      background: var(--brand-green);
      color: white;
    }

    .download-meta {
      margin-top: 16px;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .hero-image img {
      border-radius: var(--radius-large);
      border: 1px solid var(--border-light);
    }

    /* 核心优势 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    @media (max-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
    }

    .feature-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: transform var(--transition-base), box-shadow var(--transition-base);
      text-align: center;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }

    .feature-icon {
      font-size: 2.4rem;
      color: var(--brand-green);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-weight: 600;
      font-size: 1.25rem;
      color: var(--text-primary);
      margin-bottom: 12px;
    }

    /* 游戏品类卡片 */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    @media (max-width: 1024px) {
      .games-grid {
        grid-template-columns: 1fr;
      }
    }

    .game-card {
      background: var(--gray-bg);
      border-radius: var(--radius-large);
      overflow: hidden;
      transition: all var(--transition-base);
      border: 1px solid transparent;
    }

    .game-card:hover {
      background: var(--white);
      border-color: var(--brand-green);
      transform: translateY(-4px);
    }

    .game-card img {
      height: 200px;
      width: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .game-card:hover img {
      transform: scale(1.03);
    }

    .game-card-body {
      padding: 24px;
    }

    .game-tag {
      display: inline-block;
      background: rgba(0,200,83,0.1);
      color: var(--brand-green);
      padding: 4px 12px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      margin-top: 12px;
    }

    /* 数据看板 */
    .stats-section {
      background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-alt) 100%);
      color: var(--text-dark-surface);
      position: relative;
      overflow: hidden;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    @media (max-width: 768px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--brand-green);
      font-feature-settings: "tnum";
    }

    .stat-label {
      color: var(--text-dark-surface);
      margin-top: 8px;
    }

    /* CTA 下载区 */
    .cta-band {
      background: linear-gradient(90deg, #00C853 0%, #00E676 100%);
      padding: 64px 0;
      text-align: center;
      color: white;
    }

    .cta-band h2 {
      font-weight: 700;
      font-size: 2rem;
      margin-bottom: 16px;
    }

    .btn-cta-big {
      background: white;
      color: var(--brand-orange);
      padding: 18px 48px;
      border-radius: 16px;
      font-size: 1.25rem;
      font-weight: 700;
      display: inline-block;
      margin: 24px 0 12px;
      transition: transform 0.2s;
    }

    .btn-cta-big:hover {
      transform: scale(1.02);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    @media (max-width: 768px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }

    .faq-item {
      border: 1px solid var(--border-light);
      border-radius: var(--radius-faq);
      overflow: hidden;
      transition: border-color var(--transition-base);
    }

    .faq-item:hover {
      border-color: var(--brand-green);
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 24px;
      font-weight: 600;
      color: var(--text-primary);
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: white;
      color: #475569;
    }

    .faq-checkbox {
      display: none;
    }

    .faq-checkbox:checked + .faq-question + .faq-answer {
      max-height: 200px;
      padding: 0 24px 18px;
    }

    /* 页脚 */
    .site-footer {
      background: #0F172A;
      color: #94A3B8;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 480px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    .footer-logo {
      font-size: 1.4rem;
      color: white;
      font-weight: 700;
    }

    .footer a:hover {
      color: var(--brand-green);
    }

    .copyright {
      border-top: 1px solid var(--border-dark);
      margin-top: 40px;
      padding-top: 24px;
      text-align: center;
    }
