/* roulang page: index */
:root {
      --bg-base: #0c0d14;
      --bg-surface: #141624;
      --bg-surface-hover: #1c1f36;
      --bg-card: rgba(20, 22, 36, 0.75);
      --primary: #7952ff;
      --primary-hover: #906ffa;
      --accent: #00f2fe;
      --secondary: #ff3366;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-glow: rgba(121, 82, 255, 0.4);
      --shadow-card: 0 8px 32px -4px rgba(0, 0, 0, 0.45);
      --glow-primary: 0 0 24px rgba(121, 82, 255, 0.35);
      --container-width: 1200px;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-base);
      color: var(--text-main);
      font-family: var(--font-family);
    }

    body {
      line-height: 1.75;
      font-size: 16px;
      background-color: var(--bg-base);
      overflow-x: hidden;
      position: relative;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部通知条与导航 */
    .header-wrapper {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      background: rgba(12, 13, 20, 0.85);
      border-bottom: 1px solid var(--border-color);
    }

    .top-bar {
      background: linear-gradient(90deg, rgba(121, 82, 255, 0.15), rgba(0, 242, 254, 0.15));
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 13px;
      padding: 6px 0;
      color: var(--accent);
      text-align: center;
    }

    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .status-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 8px #10b981;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-main);
    }

    .brand-logo .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 18px;
      box-shadow: var(--glow-primary);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-muted);
      font-size: 15px;
      font-weight: 500;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* 通用按钮 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.25s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #5b32e0);
      color: #fff;
      box-shadow: 0 4px 16px rgba(121, 82, 255, 0.4);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, var(--primary-hover), var(--primary));
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(121, 82, 255, 0.6);
    }

    .btn-outline {
      border: 1px solid var(--border-color);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
    }

    .btn-outline:hover {
      border-color: var(--accent);
      background: rgba(0, 242, 254, 0.08);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .btn-accent {
      background: linear-gradient(135deg, var(--accent), #00b4d8);
      color: #0c0d14;
      font-weight: 700;
    }

    .btn-accent:hover {
      box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
      transform: translateY(-2px);
    }

    /* 板块通用样式 */
    section {
      padding: 90px 0;
      position: relative;
    }

    .section-alt {
      background: linear-gradient(180deg, rgba(20, 22, 36, 0.4) 0%, rgba(12, 13, 20, 0.6) 100%);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .section-header {
      margin-bottom: 50px;
    }

    .section-header.text-center {
      text-align: center;
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
    }

    .section-tag {
      display: inline-block;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      background: rgba(0, 242, 254, 0.1);
      border: 1px solid rgba(0, 242, 254, 0.2);
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 14px;
      text-transform: uppercase;
    }

    .section-title {
      font-size: 34px;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.3;
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }

    .section-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* 卡片通用 */
    .card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(121, 82, 255, 0.4);
      box-shadow: var(--shadow-card), 0 0 20px rgba(121, 82, 255, 0.15);
    }

    /* 1. Hero 路线图与首屏 */
    .hero-section {
      padding: 70px 0 90px;
      position: relative;
      background: radial-gradient(circle at 80% 20%, rgba(121, 82, 255, 0.18) 0%, transparent 60%),
                  radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.1) 0%, transparent 60%);
      border-bottom: 1px solid var(--border-color);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }

    .hero-h1 {
      font-size: 44px;
      line-height: 1.25;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 22px;
    }

    .hero-h1 span {
      background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-intro {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.85;
      margin-bottom: 32px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 36px;
    }

    /* 版本路线图节点条 */
    .roadmap-strip {
      background: rgba(20, 22, 36, 0.85);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .roadmap-node {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .node-badge {
      background: var(--primary);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
    }

    .node-info {
      font-size: 13px;
      color: var(--text-muted);
    }

    .hero-media-box {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    }

    .hero-media-box img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .hero-media-box:hover img {
      transform: scale(1.03);
    }

    .hero-overlay-tag {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 20px;
      background: rgba(12, 13, 20, 0.85);
      backdrop-filter: blur(8px);
      padding: 14px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* 2. 玩家痛点区块 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .pain-card {
      border-left: 4px solid var(--secondary);
    }

    .pain-icon {
      font-size: 28px;
      margin-bottom: 16px;
      color: var(--secondary);
    }

    .pain-card h3 {
      font-size: 19px;
      margin-bottom: 12px;
      color: var(--text-main);
    }

    /* 3. 解决方案与技术剖析 */
    .solution-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 44px;
      align-items: center;
    }

    .spec-badge-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 24px 0;
    }

    .spec-item {
      background: rgba(0, 242, 254, 0.08);
      border: 1px solid rgba(0, 242, 254, 0.25);
      padding: 8px 16px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      color: var(--accent);
      font-weight: 600;
    }

    /* 4. 核心功能 6宫格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card .feat-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(121, 82, 255, 0.15);
      color: var(--primary-hover);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 20px;
      border: 1px solid rgba(121, 82, 255, 0.3);
    }

    .feature-card h3 {
      font-size: 18px;
      margin-bottom: 10px;
    }

    /* 5. 热门拟真人格卡片 */
    .presets-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .preset-card {
      padding: 0;
      background: var(--bg-surface);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
    }

    .preset-img-wrap {
      position: relative;
      height: 220px;
      overflow: hidden;
    }

    .preset-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .preset-body {
      padding: 24px;
    }

    .preset-tags {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }

    .preset-tag {
      font-size: 12px;
      padding: 2px 8px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 4px;
      color: var(--text-muted);
    }

    /* 波形示意 */
    .voice-wave {
      display: flex;
      align-items: center;
      gap: 4px;
      height: 20px;
      margin: 16px 0;
    }

    .wave-bar {
      width: 4px;
      background: var(--accent);
      border-radius: 2px;
      animation: wavePulse 1.2s infinite ease-in-out;
    }

    .wave-bar:nth-child(2) { height: 16px; animation-delay: 0.1s; }
    .wave-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
    .wave-bar:nth-child(4) { height: 18px; animation-delay: 0.3s; }
    .wave-bar:nth-child(5) { height: 12px; animation-delay: 0.4s; }
    .wave-bar:nth-child(6) { height: 6px; animation-delay: 0.5s; }

    @keyframes wavePulse {
      0%, 100% { transform: scaleY(0.4); }
      50% { transform: scaleY(1); }
    }

    /* 6. 三步上手流程 */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      position: relative;
    }

    .step-card {
      position: relative;
      padding-top: 40px;
    }

    .step-num {
      position: absolute;
      top: -15px;
      left: 28px;
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      font-weight: 800;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(121, 82, 255, 0.5);
    }

    /* 7. 硬核对局理念与性能架构 */
    .engine-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      background: linear-gradient(135deg, rgba(20, 22, 36, 0.9), rgba(12, 13, 20, 0.95));
      border: 1px solid rgba(121, 82, 255, 0.3);
      border-radius: var(--radius-lg);
      padding: 40px;
    }

    .metric-row {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-color);
      padding: 12px 0;
      font-size: 15px;
    }

    .metric-row span:last-child {
      color: var(--accent);
      font-weight: 600;
    }

    /* 8. 成果数据指标条 */
    .stats-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 36px 20px;
      text-align: center;
    }

    .stat-number {
      font-size: 40px;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 8px;
      background: linear-gradient(135deg, var(--text-main), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .stat-label {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 9. 真实使用场景区 */
    .scenarios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .scenario-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
    }

    /* 10. 用户真实评价 */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .review-user {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .avatar-fake {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3a2d60, #22384a);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--accent);
    }

    .star-rating {
      color: #fbbf24;
      font-size: 13px;
      margin-bottom: 10px;
    }

    /* 11. 适用人群与游戏矩阵 */
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .badge-pill {
      display: inline-block;
      padding: 4px 10px;
      font-size: 12px;
      background: rgba(121, 82, 255, 0.15);
      border: 1px solid rgba(121, 82, 255, 0.3);
      color: #c4b5fd;
      border-radius: 4px;
      margin-right: 6px;
      margin-top: 8px;
    }

    /* 12. 游戏陪玩行业资讯 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .news-card-date {
      font-size: 13px;
      color: var(--text-dim);
      margin-bottom: 8px;
    }

    .news-card h4 {
      font-size: 18px;
      margin-bottom: 12px;
      line-height: 1.4;
    }

    /* 13. FAQ 手风琴 */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
    }

    details.faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
      padding: 18px 24px;
      transition: all 0.3s ease;
    }

    details.faq-item[open] {
      border-color: rgba(121, 82, 255, 0.4);
      background: var(--bg-surface-hover);
    }

    summary.faq-question {
      font-size: 17px;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    summary.faq-question::-webkit-details-marker {
      display: none;
    }

    summary.faq-question::after {
      content: '+';
      font-size: 22px;
      color: var(--accent);
      transition: transform 0.2s ease;
    }

    details[open] summary.faq-question::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      margin-top: 14px;
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 14. 底部收口行动号召 */
    .cta-banner {
      background: radial-gradient(circle at center, rgba(121, 82, 255, 0.25) 0%, rgba(20, 22, 36, 0.8) 100%),
                  url('/assets/images/backpic/back-1.png') center/cover no-repeat;
      border: 1px solid rgba(121, 82, 255, 0.4);
      border-radius: var(--radius-lg);
      padding: 60px 40px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    }

    .cta-banner h2 {
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 16px;
    }

    .cta-banner p {
      max-width: 680px;
      margin: 0 auto 32px;
      color: var(--text-muted);
      font-size: 16px;
    }

    .platform-tags {
      margin-top: 24px;
      font-size: 14px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
    }

    /* 页脚 */
    .footer {
      background: #08090d;
      border-top: 1px solid var(--border-color);
      padding: 60px 0 30px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand h4 {
      font-size: 18px;
      color: var(--text-main);
      margin-bottom: 12px;
    }

    .footer-links h5 {
      font-size: 15px;
      color: var(--text-main);
      margin-bottom: 16px;
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 13px;
      color: var(--text-dim);
    }

    /* 移动端汉堡按钮 */
    .menu-toggle {
      display: none;
      background: transparent;
      border: 1px solid var(--border-color);
      color: var(--text-main);
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      font-size: 18px;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid,
      .solution-grid,
      .engine-box {
        grid-template-columns: 1fr;
        gap: 36px;
      }

      .features-grid,
      .presets-grid,
      .pain-grid,
      .scenarios-grid,
      .matrix-grid,
      .news-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(12, 13, 20, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px 0;
        gap: 20px;
      }

      .nav-links.show {
        display: flex;
      }

      .nav-cta .btn {
        padding: 8px 16px;
        font-size: 13px;
      }

      .hero-h1 {
        font-size: 32px;
      }

      .section-title {
        font-size: 26px;
      }

      .features-grid,
      .presets-grid,
      .pain-grid,
      .scenarios-grid,
      .matrix-grid,
      .news-grid,
      .steps-grid,
      .reviews-grid {
        grid-template-columns: 1fr;
      }

      .stats-bar {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .hero-media-box img {
        height: 280px;
      }
    }
