/* roulang page: index */
/* ----- 设计变量与全局重置 ----- */
    :root {
      --primary-green: #00E676;
      --primary-green-light: #69F0AE;
      --data-blue: #1E88E5;
      --gold: #FFB300;
      --alert-red: #FF1744;
      --deep-black: #0B0F19;
      --card-bg: #1A1F2E;
      --card-hover: #212B3A;
      --text-strong: #FFFFFF;
      --text-body: #B0BEC5;
      --text-muted: #78909C;
      --border-glow: rgba(0, 230, 118, 0.25);
      --border-strong: rgba(0, 230, 118, 0.5);
      --radius-sm: 8px;
      --radius-md: 12px;
      --font-mono: 'DIN Alternate', 'Roboto Mono', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --container-max: 1280px;
      --transition-smooth: 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--deep-black);
    }

    body {
      font-family: var(--font-sans);
      background: var(--deep-black);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 数字与比分等宽强调 */
    .mono, .score-digit, .stat-number, .count-up {
      font-family: var(--font-mono);
      letter-spacing: 1px;
      font-feature-settings: "tnum";
    }

    /* 基础排版 */
    h2 { font-size: 2.25rem; font-weight: 600; color: var(--text-strong); line-height: 1.3; margin-bottom: 0.5rem; }
    h3 { font-size: 1.4rem; font-weight: 600; color: var(--text-strong); line-height: 1.4; }
    p { margin-bottom: 1rem; color: var(--text-body); }
    a { color: var(--data-blue); text-decoration: none; transition: color var(--transition-smooth); }
    a:hover { color: var(--primary-green); }

    /* 竞技绿短线装饰标题 */
    .section-title {
      display: inline-block;
      position: relative;
      margin-bottom: 2.5rem;
      font-weight: 700;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 56px;
      height: 4px;
      background: var(--primary-green);
      border-radius: 2px;
    }

    /* 卡片基础 */
    .card {
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-md);
      padding: 2rem;
      transition: transform 0.25s ease, border-color 0.25s, background 0.25s;
    }
    .card:hover {
      border-color: var(--primary-green);
      background: var(--card-hover);
      transform: translateY(-4px);
    }

    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: all var(--transition-smooth);
      text-decoration: none;
      border: 1.5px solid transparent;
      background: transparent;
    }
    .btn-primary {
      background: var(--primary-green);
      color: var(--deep-black);
      border-color: var(--primary-green);
    }
    .btn-primary:hover {
      background: var(--primary-green-light);
      border-color: var(--primary-green-light);
      color: #0B0F19;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(0,230,118,0.3);
    }
    .btn-secondary {
      border: 1.5px solid var(--data-blue);
      color: var(--data-blue);
      background: transparent;
    }
    .btn-secondary:hover {
      border-color: var(--primary-green);
      color: var(--primary-green);
      transform: translateY(-2px);
    }
    .btn-sm { padding: 8px 18px; font-size: 0.9rem; }

    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(11, 15, 25, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,230,118,0.3);
      z-index: 1000;
      transition: background 0.3s;
    }
    .navbar.scrolled {
      background: rgba(11, 15, 25, 0.98);
      border-bottom: 1px solid var(--primary-green);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
      height: 70px;
    }
    .logo {
      font-size: 1.7rem;
      font-weight: 700;
      color: var(--text-strong);
      display: flex;
      align-items: center;
      gap: 0.3rem;
      text-decoration: none;
    }
    .logo span {
      color: var(--primary-green);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    .nav-links a {
      color: #CCD6DD;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary-green);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary-green);
      transition: width 0.2s;
    }
    .nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
    }
    .hamburger span {
      width: 25px;
      height: 2px;
      background: white;
      transition: 0.3s;
      border-radius: 2px;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background: rgba(11,15,25,0.98);
      backdrop-filter: blur(20px);
      flex-direction: column;
      padding: 2rem;
      gap: 2rem;
      border-bottom: 1px solid var(--primary-green);
      z-index: 999;
    }
    .mobile-menu a {
      color: white;
      font-size: 1.2rem;
      font-weight: 500;
    }

    /* Hero 区域 */
    .hero {
      padding: 140px 0 100px;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 20% 50%, rgba(0,230,118,0.08) 0%, transparent 50%);
      position: relative;
    }
    .hero-content {
      flex: 1;
      padding-right: 2.5rem;
    }
    .hero h1 {
      font-size: 3.2rem;
      font-weight: 700;
      color: white;
      line-height: 1.2;
      margin-bottom: 1.3rem;
    }
    .hero-sub {
      font-size: 1.2rem;
      margin-bottom: 2.2rem;
      color: #B0BEC5;
    }
    .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
    .hero-dashboard {
      flex: 1.2;
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: 16px;
      padding: 1.8rem;
      box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    }
    .match-card {
      background: #141A24;
      border-radius: 10px;
      padding: 1.2rem;
      margin-bottom: 1rem;
    }
    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,23,68,0.2);
      color: var(--alert-red);
      font-size: 0.8rem;
      padding: 2px 10px;
      border-radius: 20px;
    }
    .live-dot {
      width: 10px;
      height: 10px;
      background: var(--alert-red);
      border-radius: 50%;
      animation: pulse 1.4s infinite;
    }
    @keyframes pulse { 0%{ transform: scale(1); } 50%{ transform: scale(1.3); } 100%{ transform: scale(1); } }
    .score-line { font-size: 2.4rem; font-weight: 700; color: var(--primary-green); }

    /* 通用区块间距 */
    section { padding: 90px 0; }
    .bg-alternate { background: #0E1320; }

    /* 服务卡片特殊样式：比分面板卡片 */
    .service-card .mock-score {
      background: #0F131C;
      border-radius: 6px;
      padding: 0.5rem 0.8rem;
      margin-bottom: 1.2rem;
      display: flex;
      justify-content: space-between;
      font-family: var(--font-mono);
      color: #4F5B66;
    }

    /* FAQ 折叠面板 */
    .faq-item {
      background: var(--card-bg);
      border-left: 4px solid var(--primary-green);
      margin-bottom: 0.8rem;
      border-radius: 0 10px 10px 0;
      transition: 0.2s;
    }
    .faq-question {
      background: transparent;
      border: none;
      width: 100%;
      text-align: left;
      padding: 1.2rem 1.8rem;
      font-weight: 600;
      font-size: 1.1rem;
      color: white;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      padding: 0 1.8rem;
      color: #B0BEC5;
    }
    .faq-item.open .faq-answer { max-height: 200px; padding-bottom: 1.4rem; }

    /* 虚线分隔 */
    .dotted-divider {
      border-top: 1px dashed #1C2A3A;
      margin: 2rem 0;
    }

    .footer { background: #0A0D14; padding: 4rem 0 2rem; color: #78909C; }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero { flex-direction: column; text-align: center; }
      .hero-content { padding-right: 0; margin-bottom: 2.5rem; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero h1 { font-size: 2.4rem; }
      .grid-3, .grid-4 { grid-template-columns: 1fr; }
    }
    .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
    .grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
    @media (max-width: 600px) {
      .grid-2 { grid-template-columns: 1fr; }
    }
    .flex-center { display: flex; justify-content: center; }

/* 补充卡片/移动端微调 */
    @media (max-width: 768px) {
      .hero-buttons { justify-content: center; }
      .nav-container { padding: 0 16px; }
      .btn-primary { width: auto; }
    }
    .card .mock-score { font-size: 0.9rem; }
