/* roulang page: index */
:root {
      --primary: #7B2FF7;
      --primary-hover: #9D4FFD;
      --accent: #00F5D4;
      --accent-glow: rgba(0, 245, 212, 0.3);
      --bg-deep: #0D0B1E;
      --bg-card: rgba(20, 18, 40, 0.9);
      --bg-card-hover: rgba(28, 25, 50, 0.95);
      --text-primary: #F0EDFF;
      --text-secondary: #C0B8E8;
      --text-muted: #8A85A8;
      --border-light: rgba(123, 47, 247, 0.15);
      --border-glow: rgba(0, 245, 212, 0.4);
      --radius-md: 16px;
      --radius-pill: 50px;
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
      --shadow-glow: 0 0 25px rgba(0, 245, 212, 0.25);
      --font-heading: 'Poppins', 'Noto Sans SC', sans-serif;
      --font-body: 'Inter', 'Noto Sans SC', sans-serif;
      --transition: all 0.25s ease;
      --max-width: 1280px;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(13, 11, 30, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-family: var(--font-heading);
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--text-primary);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }

    .logo i {
      color: var(--accent);
      font-size: 2rem;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      font-family: var(--font-body);
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 1rem;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1.8rem;
      cursor: pointer;
    }

    /* 板块通用 */
    section {
      padding: 90px 0;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: 2.4rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 3rem;
    }

    /* Hero */
    #hero {
      min-height: 95vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(13, 11, 30, 0.92) 0%, rgba(20, 13, 45, 0.8) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      background-blend-mode: overlay;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-content h1 {
      font-family: var(--font-heading);
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.2;
      background: linear-gradient(135deg, var(--primary) 20%, var(--accent) 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
    }

    .hero-content .subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 2.5rem;
      line-height: 1.7;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--primary);
      color: white;
      font-weight: 600;
      padding: 16px 36px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      font-size: 1.1rem;
      box-shadow: 0 4px 20px rgba(123, 47, 247, 0.5);
      transition: var(--transition);
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 0 30px var(--accent-glow);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent);
      color: var(--accent);
      padding: 14px 32px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-outline:hover {
      background: rgba(0, 245, 212, 0.1);
      box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
    }

    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .floating-icon {
      font-size: 6rem;
      color: rgba(123, 47, 247, 0.7);
      animation: float 4s ease-in-out infinite;
      filter: drop-shadow(0 0 25px rgba(0, 245, 212, 0.5));
    }

    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
      100% { transform: translateY(0px); }
    }

    /* 痛点卡片 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .feature-card {
      background: var(--bg-card);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      transition: var(--transition);
      border: 1px solid transparent;
    }

    .feature-card:hover {
      border-color: var(--accent);
      box-shadow: 0 0 25px var(--accent-glow);
      transform: translateY(-6px);
      background: var(--bg-card-hover);
    }

    .card-icon {
      font-size: 2.5rem;
      color: var(--accent);
      margin-bottom: 1.2rem;
    }

    .card-badge {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-right: 8px;
      background: rgba(220, 20, 60, 0.2);
      color: #ff6b6b;
    }

    .solution-badge {
      background: rgba(0, 245, 212, 0.15);
      color: var(--accent);
    }

    /* 流程 */
    .steps-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: center;
    }

    .step {
      flex: 1;
      padding: 1rem;
    }

    .step-circle {
      width: 80px;
      height: 80px;
      background: var(--bg-card);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 700;
      margin: 0 auto 1.2rem;
      border: 2px solid var(--primary);
      color: var(--accent);
      transition: 0.3s;
    }

    .step:hover .step-circle {
      background: var(--accent);
      color: var(--bg-deep);
      border-color: var(--accent);
      box-shadow: 0 0 30px var(--accent-glow);
    }

    /* 游戏卡片 */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }

    .game-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
      border: 1px solid transparent;
    }

    .game-card:hover {
      border-color: var(--accent);
      box-shadow: 0 0 20px var(--accent-glow);
      transform: translateY(-5px);
    }

    .game-thumb {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s;
    }

    .game-card:hover .game-thumb {
      transform: scale(1.04);
    }

    .game-info {
      padding: 18px;
    }

    .tag {
      background: rgba(0, 245, 212, 0.15);
      color: var(--accent);
      padding: 3px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .testimonial-card {
      background: var(--bg-card);
      padding: 2rem;
      border-radius: var(--radius-md);
    }

    .avatar {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 14px;
    }

    /* FAQ */
    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      margin-bottom: 16px;
      border: 1px solid transparent;
      transition: 0.2s;
    }

    .faq-question {
      padding: 1.4rem 2rem;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      font-weight: 600;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 2rem;
      color: var(--text-muted);
    }

    .faq-item.active {
      border-color: var(--accent);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-bottom: 1.5rem;
    }

    /* CTA */
    .cta-block {
      background: linear-gradient(135deg, var(--primary), #100b2e);
      text-align: center;
      border-radius: 32px;
      padding: 70px 30px;
    }

    .footer {
      background: rgba(10, 8, 25, 0.95);
      padding: 3rem 0;
      text-align: center;
      color: var(--text-muted);
      border-top: 1px solid var(--border-light);
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; text-align: center; }
      .grid-3, .testimonial-grid { grid-template-columns: repeat(2,1fr); }
      .games-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; width: 100%; background: rgba(13,11,30,0.96); flex-direction: column; padding: 2rem; }
      .nav-links.active { display: flex; }
      .hamburger { display: block; }
      .grid-3, .testimonial-grid, .games-grid { grid-template-columns: 1fr; }
      #hero h1 { font-size: 2.4rem; }
      .steps-grid { flex-direction: column; gap: 2rem; }
    }
