/* roulang page: index */
:root {
      --panda-black: #1A1A1A;
      --sport-green: #00C853;
      --score-red: #FF3D00;
      --bg-light: #FAFAFA;
      --card-white: #FFFFFF;
      --text-primary: #1A1A1A;
      --text-secondary: #5F5F5F;
      --text-muted: #8A8A8A;
      --border-light: #E5E7EB;
      --border-lighter: #F0F0F0;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.08);
      --radius-md: 12px;
      --radius-sm: 8px;
      --font-title: 'Noto Sans SC', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.7;
      color: var(--text-primary);
      background-color: var(--bg-light);
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4, .font-title {
      font-family: var(--font-title);
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .font-mono {
      font-family: var(--font-mono);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container-custom {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    @media (max-width: 768px) {
      .container-custom {
        padding-left: 16px;
        padding-right: 16px;
      }
    }

    /* 导航 Mega Menu */
    .nav-blur {
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .mega-panel {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card-hover);
      padding: 24px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      width: 560px;
      z-index: 50;
    }

    .mega-trigger:hover .mega-panel,
    .mega-trigger:focus-within .mega-panel {
      opacity: 1;
      visibility: visible;
    }

    .mega-card {
      background: #F5F5F5;
      border-radius: var(--radius-sm);
      padding: 16px;
      transition: background 0.2s;
    }

    .mega-card:hover {
      background: #E0E0E0;
    }

    /* 汉堡菜单 checkbox hack */
    #menu-toggle {
      display: none;
    }

    .mobile-menu {
      display: none;
    }

    @media (max-width: 768px) {
      .desktop-nav-links {
        display: none;
      }
      .mobile-menu {
        display: block;
      }
      #menu-toggle:checked ~ .mobile-menu {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: white;
        padding: 24px;
        box-shadow: var(--shadow-card);
        z-index: 40;
      }
    }

    /* 动画 */
    @keyframes pulse-score {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }
    .pulse-score {
      animation: pulse-score 1.5s infinite;
    }

    @keyframes sweep-light {
      0% { left: -100%; }
      100% { left: 200%; }
    }
    .btn-sweep {
      position: relative;
      overflow: hidden;
    }
    .btn-sweep::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
      transition: left 0.5s ease;
    }
    .btn-sweep:hover::after {
      left: 200%;
    }

    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .revealed {
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    .faq-detail {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
    .faq-detail.open {
      max-height: 200px;
    }

    .feature-line {
      transition: width 0.2s ease;
    }
    .card-hover:hover .feature-line {
      width: 8px;
    }
