/* roulang page: index */
:root {
      --primary-red: #E3312D;
      --deep-black: #1A1A2E;
      --bg-light: #F8F9FA;
      --accent-gold: #FFB800;
      --text-dark: #1e1e1e;
      --text-gray: #5a5a5a;
      --text-light: #ffffff;
      --border-light: #EEEEEE;
      --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
      --radius-sm: 8px;
      --radius-pill: 24px;
      --radius-btn: 16px;
      --transition: 0.25s ease;
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --section-gap: 100px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-body);
      background-color: #ffffff;
      color: var(--text-dark);
      line-height: 1.8;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-title);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    h1 {
      font-size: 48px;
      line-height: 1.2;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 36px;
      line-height: 1.3;
      position: relative;
      display: inline-block;
      margin-bottom: 1.5rem;
    }

    h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 48px;
      height: 4px;
      background-color: var(--primary-red);
      border-radius: 2px;
    }

    h3 {
      font-size: 22px;
      line-height: 1.4;
    }

    h4 {
      font-size: 16px;
      font-weight: 600;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: #ffffff;
      border-bottom: 1px solid #E5E5E5;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      z-index: 100;
      display: flex;
      align-items: center;
      padding: 0 24px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary-red);
      text-decoration: none;
      margin-right: auto;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary-red);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      margin: 0 32px;
    }

    .nav-links a {
      font-size: 16px;
      color: #333;
      font-weight: 500;
      transition: color var(--transition);
      white-space: nowrap;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary-red);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-box {
      background: #f2f2f2;
      border-radius: 24px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      gap: 6px;
      color: #666;
    }

    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      width: 120px;
    }

    .btn-primary {
      background: var(--primary-red);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-block;
      text-align: center;
      white-space: nowrap;
    }

    .btn-primary:hover {
      background: #c12a27;
      transform: scale(1.02);
      color: white;
    }

    .btn-outline {
      background: transparent;
      color: var(--primary-red);
      border: 1px solid var(--primary-red);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.2s ease;
      display: inline-block;
    }

    .btn-outline:hover {
      background: var(--primary-red);
      color: white;
    }

    .hamburger {
      display: none;
      font-size: 24px;
      cursor: pointer;
      color: #333;
    }

    /* 移动端导航 */
    @media (max-width: 1024px) {
      .nav-links {
        display: none;
      }
      .search-box {
        display: none;
      }
      .hamburger {
        display: block;
        margin-left: 16px;
      }
    }

    /* Hero */
    .hero {
      margin-top: 64px;
      display: flex;
      align-items: center;
      background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
      min-height: 90vh;
      position: relative;
      overflow: hidden;
    }

    .hero-left {
      flex: 0 0 60%;
      padding: 0 80px 0 40px;
    }

    .hero-right {
      flex: 0 0 40%;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      min-height: 500px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
    }

    .hero-right::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at center, rgba(227,49,45,0.5) 0%, rgba(26,26,46,0.7) 100%);
    }

    .live-badge {
      position: relative;
      z-index: 2;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(8px);
      color: white;
      padding: 12px 20px;
      border-radius: 12px 0 0 0;
      margin: 0;
      font-weight: 600;
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .live-score {
      color: var(--accent-gold);
      font-size: 28px;
      font-weight: 700;
      font-family: monospace;
    }

    .hero h1 {
      font-size: 52px;
      color: #0b0b0b;
      margin-bottom: 16px;
    }

    .hero .sub {
      font-size: 18px;
      color: #4a4a4a;
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    /* 板块通用 */
    .section {
      padding: var(--section-gap) 0;
    }

    .bg-light {
      background-color: var(--bg-light);
    }

    .section-title {
      margin-bottom: 48px;
    }

    /* 核心亮点网格 */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .highlight-card {
      background: white;
      border-radius: var(--radius-sm);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
      border-left: 4px solid transparent;
      position: relative;
    }

    .highlight-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
      border-left-color: var(--primary-red);
    }

    .highlight-icon {
      font-size: 32px;
      color: var(--primary-red);
      margin-bottom: 16px;
    }

    .gold-number {
      color: var(--accent-gold);
      font-size: 36px;
      font-weight: 700;
      font-family: monospace;
      line-height: 1.2;
    }

    /* 赛事滚动 */
    .scroll-container {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .scroll-container::-webkit-scrollbar {
      display: none;
    }

    .match-card {
      flex: 0 0 280px;
      background: #ffffff;
      border-radius: var(--radius-sm);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--primary-red);
      background: #fefefe;
    }

    .match-teams {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 8px;
    }

    .match-score {
      font-size: 32px;
      font-weight: 700;
      color: var(--accent-gold);
      font-family: monospace;
      margin: 8px 0;
    }

    /* 服务瀑布流 */
    .service-row {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-bottom: 80px;
    }

    .service-row.reverse {
      flex-direction: row-reverse;
    }

    .service-img {
      flex: 1;
      border-radius: var(--radius-sm);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .service-text {
      flex: 1.2;
    }

    .feature-list {
      list-style: none;
      margin: 20px 0;
    }

    .feature-list li {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .feature-list i {
      color: var(--primary-red);
    }

    /* 对比表 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: 900px;
      margin: 0 auto;
    }

    .compare-card {
      padding: 32px;
      border-radius: 16px;
    }

    .compare-left {
      background: #f0f0f0;
    }

    .compare-right {
      background: #fef2f2;
      border: 1px solid #fbcbcb;
    }

    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid #ddd;
    }

    /* 案例瀑布 */
    .case-grid {
      column-count: 3;
      column-gap: 24px;
    }

    .case-item {
      break-inside: avoid;
      margin-bottom: 24px;
      background: white;
      border-radius: var(--radius-sm);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }

    .case-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .case-img {
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .case-item:hover .case-img img {
      transform: scale(1.03);
    }

    .case-info {
      padding: 20px;
    }

    .case-stat {
      font-size: 26px;
      font-weight: 700;
      color: var(--accent-gold);
      font-family: monospace;
    }

    /* FAQ */
    .accordion-item {
      border-bottom: 1px solid #e0e0e0;
      background: transparent;
    }

    .accordion-title {
      font-size: 16px;
      font-weight: 600;
      padding: 20px 0;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      border: none;
      background: transparent;
      width: 100%;
      text-align: left;
    }

    .accordion-title::before {
      content: '';
      width: 4px;
      height: 20px;
      background: var(--primary-red);
      border-radius: 2px;
    }

    .accordion-content {
      padding: 0 0 20px 28px;
      color: #444;
      display: none;
    }

    .accordion-item.active .accordion-content {
      display: block;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary-red);
      position: relative;
      overflow: hidden;
      padding: 80px 0;
      text-align: center;
      color: white;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
      pointer-events: none;
    }

    .btn-white {
      background: white;
      color: var(--primary-red);
      padding: 14px 36px;
      border-radius: 40px;
      font-weight: 700;
      transition: 0.2s;
      display: inline-block;
    }

    .btn-white:hover {
      background: #ffe5e5;
    }

    /* 页脚 */
    .footer {
      background: var(--deep-black);
      color: #ccc;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    @media (max-width: 768px) {
      h1 { font-size: 32px; }
      h2 { font-size: 26px; }
      .hero { flex-direction: column; }
      .hero-left, .hero-right { flex: 1 1 auto; width: 100%; padding: 24px; }
      .highlight-grid { grid-template-columns: 1fr; }
      .service-row, .service-row.reverse { flex-direction: column; }
      .compare-grid { grid-template-columns: 1fr; }
      .case-grid { column-count: 1; }
      .footer-grid { grid-template-columns: 1fr; }
    }
