/* roulang page: index */
:root {
      --primary: #7C3AED;
      --primary-hover: #6D28D9;
      --secondary: #10B981;
      --accent-cyan: #06B6D4;
      --bg-main: #0F172A;
      --bg-card: #1E293B;
      --bg-darker: #0B0F19;
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --text-sub: #64748B;
      --border-subtle: rgba(148, 163, 184, 0.12);
      --border-focus: rgba(124, 58, 237, 0.4);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-full: 9999px;
      --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.6), 0 8px 10px -6px rgba(124, 58, 237, 0.15);
      --font-stack: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: var(--font-stack);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.25s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, select, textarea {
      font-family: inherit;
      border: none;
      outline: none;
    }
    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .section-padding {
      padding: 88px 0;
    }
    .section-alt {
      background-color: var(--bg-darker);
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 600;
      background: rgba(124, 58, 237, 0.15);
      color: #A78BFA;
      border: 1px solid rgba(124, 58, 237, 0.3);
    }
    .badge-green {
      background: rgba(16, 185, 129, 0.15);
      color: #34D399;
      border-color: rgba(16, 185, 129, 0.3);
    }
    .badge-cyan {
      background: rgba(6, 182, 212, 0.15);
      color: #22D3EE;
      border-color: rgba(6, 182, 212, 0.3);
    }
    .section-header {
      text-align: center;
      max-width: 820px;
      margin: 0 auto 52px auto;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.7;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 26px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn-primary {
      background-color: var(--primary);
      color: #FFF;
      box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    }
    .btn-primary:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
    }
    .btn-secondary {
      background: rgba(30, 41, 59, 0.8);
      color: var(--text-main);
      border: 1px solid var(--border-subtle);
    }
    .btn-secondary:hover {
      border-color: var(--primary);
      background: rgba(124, 58, 237, 0.1);
      transform: translateY(-2px);
    }

    /* 顶部导航 */
    .top-subbar {
      background: #090D16;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 12px;
      color: var(--text-sub);
      padding: 6px 0;
    }
    .top-subbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .site-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }
    .site-logo i {
      color: var(--primary);
      font-size: 1.6rem;
    }
    .nav-menu {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
      position: relative;
      padding: 6px 0;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--text-main);
    }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .nav-tools {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .nav-search {
      position: relative;
    }
    .nav-search input {
      background: rgba(30, 41, 59, 0.6);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      padding: 8px 14px 8px 36px;
      border-radius: var(--radius-md);
      font-size: 13px;
      width: 180px;
      transition: width 0.3s ease, border-color 0.3s ease;
    }
    .nav-search input:focus {
      width: 220px;
      border-color: var(--primary);
    }
    .nav-search i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-sub);
      font-size: 13px;
    }

    /* 1. HERO 板块 */
    .hero-section {
      position: relative;
      background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
                  radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
                  var(--bg-main);
      padding: 70px 0 90px;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }
    .hero-badge-wrap {
      margin-bottom: 20px;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 900;
      line-height: 1.18;
      margin-bottom: 24px;
      letter-spacing: -1px;
    }
    .hero-title span {
      background: linear-gradient(135deg, #FFF 30%, #A78BFA 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      color: var(--text-muted);
      font-size: 1.15rem;
      line-height: 1.75;
      margin-bottom: 36px;
    }
    .hero-action-row {
      display: flex;
      gap: 16px;
      align-items: center;
      margin-bottom: 36px;
    }
    .hero-quiz-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 28px;
      position: relative;
      box-shadow: var(--shadow-card);
    }
    .quiz-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-main);
    }
    .quiz-options {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }
    .quiz-opt-btn {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 12px;
      color: var(--text-muted);
      font-size: 13px;
      text-align: left;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .quiz-opt-btn:hover, .quiz-opt-btn.active {
      border-color: var(--primary);
      color: var(--text-main);
      background: rgba(124, 58, 237, 0.15);
    }
    .hero-preview-box {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      position: relative;
    }
    .hero-preview-box img {
      width: 100%;
      height: 240px;
      object-fit: cover;
    }
    .hero-preview-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* 2. 分类入口墙 */
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .cat-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform 0.25s ease, border-color 0.25s ease;
    }
    .cat-card:hover {
      transform: translateY(-4px);
      border-color: var(--primary);
      box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
    }
    .cat-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      background: rgba(124, 58, 237, 0.12);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }
    .cat-card h3 {
      font-size: 1.1rem;
      font-weight: 700;
    }
    .cat-card p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 3. 精选推荐库 */
    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .showcase-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }
    .showcase-card:hover {
      transform: translateY(-5px);
      border-color: var(--border-focus);
    }
    .showcase-thumb {
      height: 190px;
      position: relative;
      overflow: hidden;
    }
    .showcase-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .showcase-card:hover .showcase-thumb img {
      transform: scale(1.05);
    }
    .showcase-tag {
      position: absolute;
      top: 12px;
      left: 12px;
    }
    .showcase-body {
      padding: 22px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .showcase-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .showcase-text {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 16px;
      flex-grow: 1;
    }
    .showcase-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 14px;
      border-top: 1px solid var(--border-subtle);
      font-size: 13px;
      color: var(--text-sub);
    }

    /* 4. 资讯与版本更新列表 */
    .news-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 32px;
    }
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .news-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px 22px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .news-item:hover {
      border-color: var(--primary);
      background: rgba(30, 41, 59, 0.95);
    }
    .news-main h4 {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text-main);
    }
    .news-main p {
      font-size: 13.5px;
      color: var(--text-muted);
    }
    .news-date {
      font-size: 13px;
      color: var(--text-sub);
      white-space: nowrap;
      margin-left: 20px;
    }
    .news-side-banner {
      background: linear-gradient(145deg, #1E1B4B 0%, #0F172A 100%);
      border: 1px solid var(--border-focus);
      border-radius: var(--radius-md);
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* 5. 热门排行榜 */
    .rank-table-wrap {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .rank-row {
      display: grid;
      grid-template-columns: 80px 2.5fr 1.5fr 1.2fr 1fr;
      padding: 18px 24px;
      align-items: center;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 14px;
    }
    .rank-row.header {
      background: rgba(11, 15, 25, 0.8);
      font-weight: 700;
      color: var(--text-muted);
    }
    .rank-row:last-child {
      border-bottom: none;
    }
    .rank-num {
      font-size: 1.25rem;
      font-weight: 900;
      color: var(--text-sub);
    }
    .rank-num.top-1 { color: #F59E0B; }
    .rank-num.top-2 { color: #94A3B8; }
    .rank-num.top-3 { color: #B45309; }

    /* 6. 核心服务矩阵卡片 */
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .matrix-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 30px;
      position: relative;
      transition: all 0.3s ease;
    }
    .matrix-card:hover {
      border-color: var(--primary);
      box-shadow: 0 12px 30px -8px rgba(124, 58, 237, 0.25);
      transform: translateY(-4px);
    }
    .matrix-icon-box {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-md);
      background: rgba(124, 58, 237, 0.15);
      color: #A78BFA;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 20px;
    }

    /* 7. 效率对比看板 */
    .compare-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .compare-card {
      border-radius: var(--radius-lg);
      padding: 36px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-card);
    }
    .compare-card.positive {
      border-color: rgba(16, 185, 129, 0.4);
      background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(30, 41, 59, 1) 100%);
    }
    .compare-list {
      list-style: none;
      margin-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .compare-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 14.5px;
    }

    /* 8. 真实玩家实战案例 */
    .case-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    .case-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .case-img {
      height: 220px;
      overflow: hidden;
    }
    .case-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .case-content {
      padding: 28px;
    }

    /* 9. 里程碑数据条 */
    .stats-band {
      background: linear-gradient(90deg, #1E1B4B 0%, #0F172A 50%, #1E293B 100%);
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
      padding: 44px 0;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center;
    }
    .stat-val {
      font-size: 2.8rem;
      font-weight: 900;
      color: #FFF;
      line-height: 1;
      margin-bottom: 8px;
      background: linear-gradient(135deg, #FFF, #A78BFA);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .stat-lbl {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 500;
    }

    /* 10. 玩家口碑网格 */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 26px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .review-stars {
      color: #F59E0B;
      font-size: 13px;
      margin-bottom: 12px;
    }
    .review-text {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.65;
      margin-bottom: 20px;
    }
    .review-user {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--border-subtle);
    }
    .avatar-placeholder {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(124, 58, 237, 0.2);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }

    /* 11. 编撰验证流程步骤 */
    .flow-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }
    .step-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      position: relative;
    }
    .step-num {
      font-size: 1.8rem;
      font-weight: 900;
      color: rgba(124, 58, 237, 0.35);
      margin-bottom: 8px;
    }

    /* 12. 平台保障图标条 */
    .security-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .security-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      text-align: center;
    }
    .security-item i {
      font-size: 32px;
      color: var(--secondary);
      margin-bottom: 14px;
    }

    /* 13. 高频常见问答 */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    details.faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px 24px;
      transition: border-color 0.25s ease;
    }
    details.faq-item[open] {
      border-color: var(--primary);
      background: rgba(30, 41, 59, 0.85);
    }
    summary.faq-quest {
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
    }
    summary.faq-quest::-webkit-details-marker {
      display: none;
    }
    .faq-quest i {
      color: var(--text-sub);
      transition: transform 0.25s ease;
    }
    details.faq-item[open] .faq-quest i {
      transform: rotate(180deg);
      color: var(--primary);
    }
    .faq-ans {
      margin-top: 14px;
      color: var(--text-muted);
      font-size: 14.5px;
      line-height: 1.7;
    }

    /* 14. 终端转化卡片 */
    .cta-box {
      background: radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
                  var(--bg-card);
      border: 1px solid var(--border-focus);
      border-radius: var(--radius-lg);
      padding: 56px 48px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 48px;
      align-items: center;
    }
    .cta-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .cta-form input {
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid var(--border-subtle);
      padding: 14px 18px;
      border-radius: var(--radius-md);
      color: var(--text-main);
      font-size: 14px;
    }
    .cta-form input:focus {
      border-color: var(--primary);
    }

    /* 页脚 */
    .site-footer {
      background: #080C14;
      border-top: 1px solid var(--border-subtle);
      padding: 72px 0 36px;
      font-size: 14px;
      color: var(--text-sub);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-col h4 {
      color: var(--text-main);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-col ul a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-subtle);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
      .showcase-grid { grid-template-columns: repeat(2, 1fr); }
      .matrix-grid { grid-template-columns: repeat(2, 1fr); }
      .flow-steps { grid-template-columns: repeat(2, 1fr); }
      .security-bar { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-box { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .section-padding { padding: 56px 0; }
      .hero-title { font-size: 2.2rem; }
      .section-title { font-size: 1.8rem; }
      .top-subbar { display: none; }
      .nav-menu, .nav-search { display: none; }
      .showcase-grid { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .matrix-grid { grid-template-columns: 1fr; }
      .compare-wrap { grid-template-columns: 1fr; }
      .case-grid { grid-template-columns: 1fr; }
      .reviews-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
      .rank-row { grid-template-columns: 50px 2fr 1fr; }
      .rank-row div:nth-child(4), .rank-row div:nth-child(5) { display: none; }
      .cta-box { padding: 32px 20px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    }
