/* roulang page: index */
:root {
      --primary: #E63946;
      --primary-dark: #C62828;
      --secondary-dark: #1D1D1D;
      --soft-bg: #F1FAEE;
      --accent: #F4A261;
      --text-main: #1E1E1E;
      --text-muted: #555555;
      --text-light: #777777;
      --success: #2A9D8F;
      --warning: #E76F51;
      --white: #FFFFFF;
      --global-bg: #F8F9FA;
      --card-shadow: 0 4px 20px rgba(0,0,0,0.04);
      --card-shadow-hover: 0 12px 28px rgba(0,0,0,0.08);
      --radius-md: 12px;
      --radius-btn: 30px;
      --radius-input: 8px;
      --font-stack: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --transition: 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-stack);
      background-color: var(--global-bg);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-stack);
      border: none;
      outline: none;
      transition: var(--transition);
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.03);
      transition: background 0.3s, box-shadow 0.3s;
    }

    .header.scrolled {
      background: rgba(255,255,255,0.98);
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      height: 70px;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .logo span {
      color: var(--secondary-dark);
      font-weight: 600;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-main);
      font-size: 0.95rem;
      position: relative;
      padding: 0.25rem 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border-radius: var(--radius-btn);
      padding: 10px 28px;
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-block;
      transition: background 0.2s, transform 0.2s;
      box-shadow: 0 4px 10px rgba(230,57,70,0.25);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: scale(1.03);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: var(--radius-btn);
      padding: 10px 28px;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 25px;
      height: 2.5px;
      background: var(--text-main);
      border-radius: 4px;
      transition: 0.3s;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(29,29,29,0.85) 0%, rgba(230,57,70,0.25) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      background-blend-mode: overlay;
      color: white;
      position: relative;
      margin-top: 0;
      padding-top: 70px;
    }

    .hero-content {
      max-width: 700px;
      padding: 2rem 0;
    }

    .hero h1 {
      font-size: clamp(2.4rem, 6vw, 4.2rem);
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 1.2rem;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: rgba(255,255,255,0.9);
      margin-bottom: 2rem;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .live-card {
      position: absolute;
      right: 5%;
      bottom: 8%;
      background: rgba(29,29,29,0.8);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-md);
      padding: 1rem 1.5rem;
      color: white;
      display: flex;
      gap: 1.5rem;
      border: 1px solid rgba(255,255,255,0.2);
      font-weight: 600;
    }

    /* 数据看板 */
    .dashboard {
      background: rgba(29,29,29,0.92);
      backdrop-filter: blur(10px);
      color: white;
      padding: 2rem 0;
      margin-top: -2px;
    }

    .stats-grid {
      display: flex;
      justify-content: space-around;
      text-align: center;
      flex-wrap: wrap;
      gap: 1.5rem;
    }

    .stat-item {
      flex: 1;
      min-width: 140px;
    }
    .stat-number {
      font-size: 2.2rem;
      font-weight: 700;
      font-family: 'Courier New', monospace;
      color: var(--accent);
    }
    .stat-label {
      font-size: 0.9rem;
      color: #ccc;
      margin-top: 0.3rem;
    }

    /* 通用区块 */
    section {
      padding: 5rem 0;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      text-align: center;
    }
    .section-desc {
      color: var(--text-muted);
      text-align: center;
      max-width: 600px;
      margin: 0 auto 3rem auto;
    }

    /* 服务卡片 */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .service-card {
      background: var(--white);
      padding: 2rem 1.5rem;
      border-radius: var(--radius-md);
      box-shadow: var(--card-shadow);
      transition: all var(--transition);
      text-align: center;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-shadow-hover);
    }

    .icon-circle {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, var(--primary), #ff6b6b);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.2rem;
      color: white;
      font-size: 1.8rem;
    }

    .service-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    /* 优势对比 */
    .compare-row {
      display: flex;
      gap: 2rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .compare-col {
      flex: 1;
      min-width: 280px;
    }
    .compare-list {
      list-style: none;
    }
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0.8rem 0;
      border-bottom: 1px solid #eee;
    }
    .badge-icon {
      font-weight: bold;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f0f0f0;
    }

    /* 赛事卡片 */
    .scroll-horizontal {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scrollbar-width: thin;
    }
    .match-card {
      min-width: 260px;
      background: white;
      border-radius: var(--radius-md);
      box-shadow: var(--card-shadow);
      overflow: hidden;
      flex-shrink: 0;
    }
    .match-img {
      height: 140px;
      background-size: cover;
      background-position: center;
    }
    .match-info {
      padding: 1rem;
    }
    .odds-tag {
      background: var(--accent);
      color: #1D1D1D;
      font-weight: 700;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      font-size: 0.8rem;
      display: inline-block;
    }

    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 0.8rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
      overflow: hidden;
      transition: all 0.2s;
    }
    .faq-question {
      padding: 1.2rem 1.5rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      background: white;
    }
    .faq-answer {
      padding: 0 1.5rem 1.2rem;
      color: var(--text-muted);
      display: none;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
    .faq-item.active {
      background: #FCE4E4;
    }

    /* CTA */
    .cta-block {
      background: linear-gradient(135deg, #E63946 0%, #1D1D1D 100%);
      color: white;
      text-align: center;
      padding: 4rem 1rem;
      border-radius: 0;
    }
    .cta-form {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    .cta-input {
      padding: 12px 20px;
      border-radius: var(--radius-input);
      border: none;
      width: 280px;
      max-width: 100%;
      box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    }

    /* Footer */
    .footer {
      background: #1D1D1D;
      color: #ccc;
      padding: 3rem 0 1.5rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }
    .footer a {
      color: #aaa;
      display: block;
      margin-bottom: 0.4rem;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }
      .nav-links.active {
        display: flex;
      }
      .hamburger {
        display: flex;
      }
      .service-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .live-card {
        position: static;
        margin-top: 2rem;
        justify-content: center;
      }
      .hero {
        text-align: center;
      }
      .hero-content {
        margin: 0 auto;
      }
    }
