/* roulang page: index */
:root {
      --deep-charcoal: #1A1A1A;
      --racing-red: #E63946;
      --racing-red-dark: #C92A2A;
      --champagne-gold: #D4A843;
      --warm-gray-bg: #F7F5F2;
      --track-green: #2A9D8F;
      --white: #FFFFFF;
      --body-text: #444444;
      --light-border: rgba(0,0,0,0.04);
      --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
      --card-hover-shadow: 0 12px 32px rgba(0,0,0,0.10);
      --red-glow: rgba(230,57,70,0.15);
      --radius-lg: 16px;
      --radius-md: 10px;
      --radius-sm: 8px;
      --radius-pill: 20px;
      --font-zh: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-num: "Inter", "Roboto", system-ui, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-zh);
      background-color: var(--warm-gray-bg);
      color: var(--body-text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--white);
      border-bottom: 1px solid #EDEBE6;
      z-index: 1000;
      transition: box-shadow 0.2s;
      backdrop-filter: blur(4px);
      background: rgba(255,255,255,0.96);
    }

    .header.scrolled {
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .logo {
      display: flex;
      align-items: baseline;
      gap: 8px;
      font-weight: 800;
      font-size: 24px;
      color: var(--deep-charcoal);
      letter-spacing: -0.5px;
    }

    .logo .brand {
      color: var(--racing-red);
    }

    .logo .badge {
      font-size: 13px;
      font-weight: 600;
      background: var(--champagne-gold);
      color: var(--deep-charcoal);
      padding: 2px 10px;
      border-radius: 20px;
      letter-spacing: 1px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      color: #333;
      font-weight: 500;
      font-size: 15px;
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--racing-red);
      border-bottom-color: var(--racing-red);
    }

    .nav-cta {
      background: var(--racing-red);
      color: white !important;
      padding: 10px 24px !important;
      border-radius: 20px;
      font-weight: 600;
      border: none !important;
      transition: background 0.2s;
    }

    .nav-cta:hover {
      background: var(--racing-red-dark);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      padding: 8px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--deep-charcoal);
      border-radius: 2px;
      transition: 0.2s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 68px;
      left: 0;
      width: 100%;
      background: var(--white);
      border-bottom: 1px solid #EDEBE6;
      padding: 24px;
      flex-direction: column;
      gap: 20px;
      z-index: 999;
    }

    .mobile-menu.active {
      display: flex;
    }

    .mobile-menu a {
      font-size: 18px;
      font-weight: 600;
      color: var(--deep-charcoal);
      padding: 12px 0;
    }

    /* Hero */
    .hero {
      background: var(--deep-charcoal);
      color: white;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 80px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      right: 0;
      top: 0;
      width: 50%;
      height: 100%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      opacity: 0.28;
      mask-image: linear-gradient(to left, black 40%, transparent);
      -webkit-mask-image: linear-gradient(to left, black 40%, transparent);
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
      position: relative;
      z-index: 2;
      width: 100%;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: clamp(32px, 5vw, 44px);
      font-weight: 800;
      background: linear-gradient(135deg, #E63946, #C92A2A);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
    }

    .hero-sub {
      font-size: 18px;
      color: #D1CFCB;
      margin-bottom: 32px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--racing-red);
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      border: none;
      transition: background 0.2s, box-shadow 0.2s;
    }

    .btn-primary:hover {
      background: var(--racing-red-dark);
      box-shadow: 0 8px 18px rgba(230,57,70,0.4);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--racing-red);
      color: var(--racing-red);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 700;
      transition: 0.2s;
    }

    .btn-outline:hover {
      background: rgba(230,57,70,0.08);
    }

    .hero-data-panel {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(8px);
      padding: 24px;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255,255,255,0.1);
      width: 320px;
      flex-shrink: 0;
    }

    .live-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--track-green);
      border-radius: 50%;
      margin-right: 6px;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { opacity: 0.7; transform: scale(0.9); }
      50% { opacity: 1; transform: scale(1.2); }
      100% { opacity: 0.7; transform: scale(0.9); }
    }

    .odds-number {
      font-family: var(--font-num);
      font-size: 28px;
      font-weight: 700;
      color: var(--track-green);
      font-feature-settings: "tnum";
    }

    /* 通用板块 */
    .section {
      padding: 100px 0;
    }

    .section h2 {
      font-size: 30px;
      font-weight: 700;
      color: var(--deep-charcoal);
      margin-bottom: 48px;
    }

    /* 核心优势 不对称 */
    .features-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 24px;
    }

    .feature-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--card-shadow);
      border: 1px solid var(--light-border);
      transition: 0.25s;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-hover-shadow), 0 0 0 1px var(--red-glow);
    }

    .feature-icon {
      font-size: 28px;
      color: var(--racing-red);
      margin-bottom: 16px;
    }

    /* 娱乐展示 不规则栅格 */
    .games-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
    }

    .game-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: 0.2s;
      border: 1px solid var(--light-border);
    }

    .game-card:hover {
      transform: scale(1.02);
      box-shadow: var(--card-hover-shadow);
    }

    .game-card img {
      height: 160px;
      object-fit: cover;
      width: 100%;
    }

    .game-info {
      padding: 16px;
    }

    .online-badge {
      color: var(--track-green);
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* 数据带 */
    .stats-band {
      background: #2C2C2C;
      color: white;
      padding: 40px 0;
    }

    .stats-flex {
      display: flex;
      justify-content: space-around;
      text-align: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .stat-number {
      font-family: var(--font-num);
      font-size: 38px;
      font-weight: 800;
      color: var(--champagne-gold);
    }

    /* 时间轴 */
    .timeline {
      display: flex;
      justify-content: space-between;
      position: relative;
      padding: 40px 0;
    }

    .timeline::before {
      content: "";
      position: absolute;
      top: 28px;
      left: 0;
      width: 100%;
      height: 2px;
      background: repeating-linear-gradient(to right, #ccc 0, #ccc 6px, transparent 6px, transparent 12px);
    }

    .timeline-item {
      position: relative;
      text-align: center;
      flex: 1;
    }

    .timeline-dot {
      width: 16px;
      height: 16px;
      background: var(--racing-red);
      border-radius: 50%;
      margin: 20px auto 12px;
      position: relative;
      z-index: 2;
      box-shadow: 0 0 0 4px rgba(230,57,70,0.2);
    }

    /* 会员方案 */
    .plans-grid {
      display: flex;
      gap: 28px;
      align-items: flex-end;
      flex-wrap: wrap;
      justify-content: center;
    }

    .plan-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      box-shadow: var(--card-shadow);
      flex: 1;
      min-width: 250px;
      border: 2px solid transparent;
      transition: 0.2s;
    }

    .plan-card.featured {
      border-color: var(--racing-red);
      transform: scale(1.03);
      position: relative;
      box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    }

    .plan-badge {
      background: var(--champagne-gold);
      color: var(--deep-charcoal);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 700;
      display: inline-block;
      margin-bottom: 12px;
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
      padding: 20px 0;
      cursor: pointer;
    }

    .faq-question {
      font-weight: 700;
      display: flex;
      justify-content: space-between;
      font-size: 18px;
      color: var(--deep-charcoal);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      margin-top: 12px;
      color: #555;
    }

    .faq-item.active .faq-answer {
      max-height: 150px;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--deep-charcoal);
      text-align: center;
      padding: 80px 24px;
      position: relative;
      color: white;
      overflow: hidden;
    }

    .cta-banner::before {
      content: "";
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(230,57,70,0.25) 0%, transparent 70%);
      top: -100px;
      right: -100px;
    }

    .footer {
      background: #EDEBE6;
      padding: 60px 0 30px;
      color: #444;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: 1fr; }
      .games-grid { grid-template-columns: 1fr 1fr; }
      .hero-grid { flex-direction: column; }
      .hero-data-panel { width: 100%; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .games-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .timeline { flex-direction: column; gap: 24px; }
      .timeline::before { display: none; }
    }
