/* roulang page: index */
:root {
      --primary: #00F0FF;
      --primary-glow: rgba(0, 240, 255, 0.5);
      --primary-dark: #00C8D4;
      --accent: #FF2D78;
      --gold: #FFD700;
      --bg-deep: #0B0F2B;
      --bg-card: rgba(255, 255, 255, 0.03);
      --border-glass: rgba(0, 240, 255, 0.15);
      --text-primary: rgba(255, 255, 255, 0.92);
      --text-secondary: rgba(255, 255, 255, 0.8);
      --text-muted: rgba(255, 255, 255, 0.5);
      --radius-card: 16px;
      --radius-btn: 50px;
      --radius-tag: 20px;
      --shadow-card: 0 8px 32px rgba(0, 240, 255, 0.08);
      --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.5);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      --font-mono: "Inter", "SF Pro Display", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background: linear-gradient(135deg, #0B0F2B 0%, #0D1333 100%);
      color: var(--text-primary);
      line-height: 1.5;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      background-attachment: fixed;
      position: relative;
      overflow-x: hidden;
    }

    /* 动态粒子网格背景 */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 0;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* 导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(11, 15, 43, 0.75);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.2);
      transition: background 0.3s ease;
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 16px 0;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: white;
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 0.5px;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: conic-gradient(from 90deg, var(--primary), var(--accent), var(--primary));
      border-radius: 50%;
      box-shadow: 0 0 14px var(--primary-glow);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      text-decoration: none;
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 1rem;
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: white;
    }
    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .btn-nav {
      background: var(--primary);
      color: #0B0F2B;
      border: none;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 0 12px var(--primary-glow);
      transition: 0.25s;
      font-size: 0.95rem;
    }
    .btn-nav:hover {
      box-shadow: 0 0 24px var(--primary);
      transform: scale(1.03);
      background: #00e0ff;
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
    }

    /* 板块间距 */
    section {
      margin: 100px 0;
    }

    h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 24px;
    }
    h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
    }
    h3 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    h4 {
      font-size: 20px;
      font-weight: 600;
    }

    .text-glow {
      color: var(--primary);
      text-shadow: 0 0 8px rgba(0,240,255,0.6);
    }

    /* 按钮系统 */
    .btn-primary {
      background: var(--primary);
      color: #0B0F2B;
      font-weight: 700;
      border: none;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      cursor: pointer;
      box-shadow: 0 0 18px var(--primary-glow);
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      font-size: 1rem;
    }
    .btn-primary:hover {
      box-shadow: 0 0 30px var(--primary);
      transform: translateY(-2px) scale(1.02);
      background: #1affff;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
      text-decoration: none;
    }
    .btn-outline:hover {
      background: rgba(0,240,255,0.1);
      box-shadow: 0 0 15px var(--primary-glow);
    }

    /* 玻璃卡片 */
    .glass-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border-glass);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: all 0.25s;
      padding: 28px;
    }
    .glass-card:hover {
      border-color: rgba(0,240,255,0.4);
      box-shadow: 0 12px 36px rgba(0,240,255,0.2);
      transform: translateY(-6px);
    }

    /* Hero */
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
      flex-wrap: wrap;
    }
    .hero-left {
      flex: 1 1 55%;
    }
    .hero-right {
      flex: 1 1 40%;
      position: relative;
      display: flex;
      justify-content: center;
    }
    .hero-visual {
      width: 100%;
      max-width: 450px;
      aspect-ratio: 1/1;
      background: radial-gradient(circle at 30% 30%, rgba(0,240,255,0.25), transparent 70%);
      border-radius: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: float 6s infinite ease-in-out;
    }
    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
      100% { transform: translateY(0); }
    }

    /* 网格卡片 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .icon-box {
      font-size: 2.4rem;
      color: var(--primary);
      margin-bottom: 16px;
    }

    /* 案例瀑布流 */
    .waterfall {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .game-card {
      background: rgba(255,255,255,0.02);
      border-radius: var(--radius-card);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.05);
      transition: 0.2s;
    }
    .game-card:hover {
      border-color: var(--primary);
      transform: translateY(-5px);
    }
    .cover-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
      background: #1a1040;
    }
    .game-info {
      padding: 20px;
    }
    .badge {
      background: var(--accent);
      color: white;
      font-size: 0.7rem;
      padding: 4px 12px;
      border-radius: 20px;
      display: inline-block;
    }

    /* 对比表 */
    .compare-row {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .compare-col {
      flex: 1;
      background: rgba(255,255,255,0.02);
      border-radius: 20px;
      padding: 28px;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .compare-col.highlight {
      border-color: var(--primary);
      box-shadow: 0 0 32px rgba(0,240,255,0.2);
    }
    .check {
      color: var(--primary);
      font-weight: bold;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 20px 0;
      cursor: pointer;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      justify-content: space-between;
    }

    /* CTA 横幅 */
    .cta-band {
      background: #0A0E26;
      border-radius: 32px;
      padding: 60px;
      text-align: center;
      border: 1px solid var(--primary);
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .grid-3, .waterfall { grid-template-columns: repeat(2,1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      .hero-grid { flex-direction: column; }
      h1 { font-size: 36px; }
      .grid-3, .waterfall { grid-template-columns: 1fr; }
      .compare-row { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
      section { margin: 70px 0; }
    }
