/* roulang page: index */
:root {
      --primary: #FF5E3A;
      --primary-dark: #FF2A5F;
      --secondary: #1A1A2E;
      --accent: #FFD60A;
      --bg-light: #F8F9FC;
      --bg-dark: #1A1A2E;
      --text-dark: #1E1E2F;
      --text-muted: #6B7280;
      --white: #FFFFFF;
      --border-light: rgba(0,0,0,0.06);
      --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
      --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
      --radius-card: 20px;
      --radius-btn: 50px;
      --radius-tag: 6px;
      --transition: 0.3s ease;
      --font-inter: 'Inter', -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      --font-system: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-system);
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-dark);
      background-color: var(--bg-light);
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-inter);
      border: none;
      outline: none;
    }

    .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%;
      height: 72px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      z-index: 1000;
      transition: box-shadow 0.3s;
    }

    .site-header.scrolled {
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .logo {
      font-family: var(--font-inter);
      font-size: 24px;
      font-weight: 800;
      background: linear-gradient(135deg, #FF5E3A, #FF2A5F);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.5px;
    }

    .logo svg {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark);
      transition: color 0.2s;
      position: relative;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .btn-primary {
      background: linear-gradient(135deg, #FF5E3A, #FF2A5F);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      box-shadow: 0 8px 20px rgba(255,94,58,0.35);
      transition: all 0.3s ease;
      display: inline-block;
      text-align: center;
      border: none;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(255,94,58,0.5);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 26px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
      display: inline-block;
    }

    .btn-outline:hover {
      background: rgba(255,94,58,0.08);
      border-color: var(--primary-dark);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 28px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
    }

    .hamburger span {
      width: 100%;
      height: 2.5px;
      background: var(--text-dark);
      border-radius: 4px;
      transition: 0.3s;
    }

    @media (max-width: 1024px) {
      .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 32px 0;
        gap: 24px;
        transform: translateY(-150%);
        transition: transform 0.35s ease;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-light);
      }
      .nav-menu.open {
        transform: translateY(0);
      }
      .hamburger {
        display: flex;
      }
      .nav-right .btn-primary {
        display: none;
      }
      .mobile-cta {
        display: block;
      }
    }

    @media (min-width: 1025px) {
      .mobile-cta {
        display: none;
      }
    }

    /* 区块间距 */
    section {
      padding: 100px 0;
    }

    @media (max-width: 1024px) {
      section {
        padding: 80px 0;
      }
    }
    @media (max-width: 640px) {
      section {
        padding: 64px 0;
      }
      .site-header {
        height: 60px;
      }
      .logo {
        font-size: 20px;
      }
    }

    h1, h2, h3, h4 {
      font-family: var(--font-inter);
      font-weight: 700;
      line-height: 1.2;
    }

    h2 {
      font-size: 36px;
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 48px;
      max-width: 700px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    @media (max-width: 1024px) {
      .grid-4 {
        grid-template-columns: repeat(2, 1fr);
      }
      .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }
    @media (max-width: 640px) {
      .grid-4, .grid-2 {
        grid-template-columns: 1fr;
      }
      h2 {
        font-size: 28px;
      }
    }

    /* 卡片 */
    .card {
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      transition: var(--transition);
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    /* 游戏卡片 */
    .game-card {
      overflow: hidden;
    }
    .game-cover {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
    }
    .game-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .game-card:hover .game-cover img {
      transform: scale(1.04);
    }
    .game-badge {
      position: absolute;
      bottom: 12px;
      left: 12px;
      background: var(--accent);
      color: #1A1A2E;
      font-weight: 700;
      font-size: 13px;
      padding: 4px 12px;
      border-radius: var(--radius-tag);
      transform: rotate(-2deg);
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .game-info {
      padding: 16px 16px 20px;
    }
    .game-info h4 {
      font-size: 18px;
      margin-bottom: 8px;
    }
    .rating {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #f59e0b;
      font-weight: 600;
    }
    .btn-sm {
      padding: 8px 18px;
      font-size: 13px;
      background: linear-gradient(135deg, #FF5E3A, #FF2A5F);
      color: white;
      border-radius: 30px;
      font-weight: 600;
      margin-top: 12px;
      display: inline-block;
    }

    /* 徽章墙 */
    .badge-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
    }
    .stat-item {
      text-align: center;
    }
    .stat-number {
      font-family: var(--font-inter);
      font-size: 48px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }

    /* 步骤 */
    .steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 24px;
      flex-wrap: wrap;
    }
    .step {
      flex: 1;
      text-align: center;
      min-width: 160px;
    }
    .step-icon {
      width: 64px;
      height: 64px;
      background: linear-gradient(135deg, #FF5E3A, #FF2A5F);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 28px;
      margin: 0 auto 16px;
      font-weight: 700;
      font-family: var(--font-inter);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    @media (max-width: 640px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }
    .faq-item {
      background: white;
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
      margin-top: 0;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }

    footer {
      background: var(--secondary);
      color: #ccc;
      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;
      }
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
    }

    .dark-bg {
      background: var(--bg-dark);
    }
    .text-white {
      color: white;
    }
