/* roulang page: index */
/* 设计变量与全局重置 */
    :root {
      --primary: #FF6B2B;
      --primary-hover: #E85A1F;
      --secondary: #1A1A2E;
      --accent: #00E5A0;
      --bg-deep: #0F0F1A;
      --card-bg: #1E1E32;
      --card-bg-light: #252540;
      --text-primary: #FFFFFF;
      --text-body: #B0B5C6;
      --text-muted: #6B7084;
      --border-glow: rgba(255, 107, 43, 0.15);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
      --shadow-hover: 0 8px 32px rgba(255, 107, 43, 0.15);
      --font-mono: "DIN Alternate", "Roboto Mono", "Courier New", monospace;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
      background-color: var(--bg-deep);
      color: var(--text-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    /* 等宽数字字体全局应用在数据展示 */
    .font-mono {
      font-family: var(--font-mono);
    }

    /* 容器限制宽度 */
    .container-custom {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    /* 霓虹辉光动画 */
    @keyframes neonPulse {
      0% { box-shadow: 0 0 8px rgba(0, 229, 160, 0.5); }
      50% { box-shadow: 0 0 18px rgba(0, 229, 160, 0.8), 0 0 4px rgba(255, 107, 43, 0.4); }
      100% { box-shadow: 0 0 8px rgba(0, 229, 160, 0.5); }
    }

    @keyframes scoreBlink {
      0%, 100% { opacity: 1; text-shadow: 0 0 12px #00E5A0; }
      50% { opacity: 0.8; text-shadow: 0 0 4px #00E5A0; }
    }

    @keyframes floatUp {
      0% { transform: translateY(0); }
      100% { transform: translateY(-4px); }
    }

    .neon-underline {
      position: relative;
    }
    .neon-underline::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--accent);
      box-shadow: 0 0 12px rgba(0, 229, 160, 0.7);
      border-radius: 2px;
    }

    .card-hover:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(255, 107, 43, 0.3);
      transition: all 0.25s ease;
    }

    /* 记分牌闪烁数字 */
    .live-score-digit {
      animation: scoreBlink 1.2s infinite;
    }

    /* 滚动计数器视觉辅助 */
    .counter-digit {
      font-feature-settings: "tnum";
      letter-spacing: 1px;
    }

    /* 移动端横向滚动卡片 */
    .scroll-x-container {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 1rem;
      padding-bottom: 0.5rem;
      -webkit-overflow-scrolling: touch;
    }
    .scroll-x-container > * {
      scroll-snap-align: start;
      flex: 0 0 auto;
      width: 280px;
    }
    @media (min-width: 768px) {
      .scroll-x-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
      }
      .scroll-x-container > * {
        width: auto;
      }
    }

    /* 汉堡菜单线条 */
    .hamburger-line {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--accent);
      margin: 5px 0;
      transition: 0.3s;
      box-shadow: 0 0 8px rgba(0,229,160,0.6);
    }
    .hamburger-line.short {
      width: 18px;
      margin-left: auto;
    }

    /* FAQ 手风琴动画 */
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
    }
