/* roulang page: index */
:root {
      --green-light: #0AE06C;
      --dark-green: #0A1A14;
      --orange-signal: #FF5C35;
      --purple-data: #7C3AED;
      --bg-cool: #F4F6F9;
      --white: #FFFFFF;
      --text-primary: #0A1A14;
      --text-secondary: #5B6C7A;
      --text-on-dark: #F4F6F9;
      --border-light: rgba(10, 26, 20, 0.04);
      --shadow-card: 0 4px 20px rgba(10, 26, 20, 0.06);
      --shadow-card-hover: 0 12px 32px rgba(10, 26, 20, 0.10);
      --radius-md: 16px;
      --radius-pill: 40px;
      --radius-sm: 8px;
      --font-system: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, sans-serif;
      --font-data: "DIN Alternate", "Roboto Condensed", "PingFang SC", sans-serif;
      --container: 1200px;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-system);
      background-color: var(--bg-cool);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-system);
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .container {
      width: 100%;
      max-width: var(--container);
      margin-left: auto;
      margin-right: auto;
      padding-left: 24px;
      padding-right: 24px;
    }

    /* 导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      height: var(--nav-height);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .logo {
      font-weight: 800;
      font-size: 22px;
      color: var(--dark-green);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo .icon {
      color: var(--green-light);
      font-size: 28px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-link {
      padding: 8px 18px;
      border-radius: var(--radius-pill);
      font-weight: 500;
      color: var(--text-secondary);
      transition: all 0.2s;
    }

    .nav-link:hover {
      background: rgba(10, 26, 20, 0.04);
      color: var(--text-primary);
    }

    .nav-link.active {
      background: var(--green-light);
      color: var(--dark-green);
      font-weight: 700;
    }

    .btn-primary {
      background: var(--green-light);
      color: var(--dark-green);
      font-weight: 700;
      border-radius: var(--radius-md);
      padding: 14px 32px;
    }

    .btn-primary:hover {
      background: #0AD978;
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(10, 230, 108, 0.25);
    }

    .btn-ghost {
      border: 2px solid var(--green-light);
      color: var(--green-light);
      font-weight: 700;
      border-radius: var(--radius-md);
      padding: 14px 32px;
      background: transparent;
    }

    .btn-ghost:hover {
      background: var(--green-light);
      color: var(--dark-green);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger span {
      width: 25px;
      height: 2px;
      background: var(--dark-green);
      transition: 0.3s;
    }

    /* 移动端导航 */
    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-height);
      left: 0;
      width: 100%;
      background: var(--dark-green);
      padding: 32px 24px;
      flex-direction: column;
      gap: 16px;
      z-index: 40;
    }

    .mobile-menu a {
      color: var(--text-on-dark);
      font-size: 18px;
      font-weight: 600;
    }

    .mobile-menu .btn-primary {
      background: var(--green-light);
      color: var(--dark-green);
      justify-content: center;
      margin-top: 8px;
    }

    /* Hero */
    #hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      padding: 40px 0;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .hero-content h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
      color: var(--dark-green);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 540px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .live-badge {
      background: var(--orange-signal);
      color: white;
      padding: 6px 14px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .pulse {
      width: 8px;
      height: 8px;
      background: white;
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(1.3); }
      100% { opacity: 1; transform: scale(1); }
    }

    .hero-visual {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-md);
      height: 480px;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .hero-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(10,26,20,0.7) 0%, rgba(10,26,20,0.2) 100%);
    }

    .float-card {
      position: absolute;
      bottom: 32px;
      left: 24px;
      background: rgba(10,26,20,0.8);
      backdrop-filter: blur(8px);
      padding: 18px 24px;
      border-radius: var(--radius-md);
      color: white;
    }

    /* 板块通用 */
    section {
      padding: 120px 0;
    }

    .section-title {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 16px;
      text-align: center;
    }

    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 48px;
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Features 三列卡片不对称 */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--white);
      padding: 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-light);
      transition: all 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
      border-color: var(--green-light);
    }

    .feature-card.middle {
      transform: translateY(-8px);
      box-shadow: 0 10px 30px rgba(10, 26, 20, 0.12);
    }

    .feature-icon {
      font-size: 32px;
      color: var(--green-light);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    .data-tag {
      background: var(--purple-data);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      display: inline-block;
      margin-top: 16px;
    }

    /* 数据徽章墙 */
    #stats {
      background: var(--dark-green);
      color: var(--text-on-dark);
    }

    .stats-row {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      text-align: center;
      gap: 24px;
    }

    .stat-item {
      flex: 1;
      min-width: 140px;
    }

    .stat-number {
      font-family: var(--font-data);
      font-size: 40px;
      font-weight: 800;
      color: var(--green-light);
      line-height: 1;
    }

    .stat-label {
      font-size: 13px;
      opacity: 0.8;
      margin-top: 8px;
    }

    .divider {
      width: 1px;
      background: rgba(255,255,255,0.15);
      align-self: stretch;
    }

    /* 流程 */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      text-align: center;
    }

    .step-number {
      font-size: 48px;
      font-weight: 800;
      color: transparent;
      -webkit-text-stroke: 2px var(--green-light);
      margin-bottom: 16px;
    }

    /* 赛事卡片 */
    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .match-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: 0.3s;
    }

    .match-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }

    .match-img {
      aspect-ratio: 16/9;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .match-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 16px;
      background: linear-gradient(transparent, rgba(0,0,0,0.7));
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    details {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
      cursor: pointer;
    }

    summary {
      font-weight: 600;
      font-size: 18px;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    summary::after {
      content: '+';
      font-size: 24px;
      color: var(--green-light);
    }

    details[open] summary::after {
      content: '−';
    }

    .faq-answer {
      padding-top: 12px;
      color: var(--text-secondary);
    }

    /* CTA */
    #cta {
      background: var(--dark-green);
      text-align: center;
      color: white;
    }

    .btn-cta-large {
      background: var(--orange-signal);
      color: white;
      font-weight: 700;
      font-size: 18px;
      padding: 18px 40px;
      border-radius: var(--radius-md);
      margin: 24px 0 16px;
    }

    .btn-cta-large:hover {
      background: #FF4820;
    }

    .trust-text {
      font-size: 13px;
      opacity: 0.7;
    }

    /* 页脚 */
    #footer {
      background: var(--dark-green);
      color: var(--text-on-dark);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 40px;
    }

    .footer-col h4 {
      margin-bottom: 16px;
      font-size: 16px;
    }

    .footer-col a {
      display: block;
      color: rgba(244,246,249,0.7);
      margin-bottom: 8px;
    }

    .footer-col a:hover {
      color: var(--green-light);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
      opacity: 0.6;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-visual { height: 320px; }
      .cards-grid, .showcase-grid { grid-template-columns: repeat(2, 1fr); }
      .steps-grid { grid-template-columns: 1fr 1fr 1fr; }
    }

    @media (max-width: 768px) {
      section { padding: 80px 0; }
      .section-title { font-size: 28px; }
      .hero-content h1 { font-size: 36px; }
      .cards-grid, .showcase-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .stats-row { flex-direction: column; }
      .divider { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
