/* roulang page: index */
:root {
      --primary: #7C3AED;
      --primary-dark: #5B21B6;
      --secondary: #06B6D4;
      --accent-red: #EF4444;
      --accent-gold: #F59E0B;
      --bg-deep: #0B0E14;
      --bg-card: rgba(20, 24, 33, 0.85);
      --text-main: #F1F5F9;
      --text-secondary: #B0B8C1;
      --text-muted: #9CA3AF;
      --border-glow: rgba(124, 58, 237, 0.25);
      --border-hover: rgba(6, 182, 212, 0.6);
      --radius-xl: 24px;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-card: 0 8px 24px rgba(124,58,237,0.12);
      --shadow-hover: 0 16px 40px rgba(124,58,237,0.35);
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      --max-width: 1280px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }
    body {
      font-family: var(--font-body);
      background: var(--bg-deep);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(11, 14, 20, 0.8);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid transparent;
      transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    }
    .navbar.scrolled {
      background: rgba(11, 14, 20, 0.95);
      border-bottom: 1px solid rgba(124, 58, 237, 0.4);
      box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      height: 72px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.5rem;
      color: white;
      text-decoration: none;
      letter-spacing: 0.5px;
    }
    .logo i {
      color: var(--secondary);
      font-size: 1.8rem;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      text-decoration: none;
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
      position: relative;
      padding-bottom: 4px;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--secondary);
    }
    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--secondary);
      border-radius: 2px;
    }
    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 10px 22px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      transition: 0.25s;
      border: none;
      cursor: pointer;
      background: linear-gradient(135deg, #7C3AED, #6D28D9);
    }
    .nav-cta:hover {
      background: #5B21B6;
      box-shadow: 0 0 20px rgba(124,58,237,0.7);
      transform: translateY(-1px);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }
    /* 板块通用 */
    section {
      padding: 90px 0;
      position: relative;
    }
    .section-title {
      font-family: var(--font-heading);
      font-size: 2.4rem;
      font-weight: 700;
      margin-bottom: 18px;
      color: white;
    }
    .section-sub {
      color: var(--text-secondary);
      font-size: 1.15rem;
      margin-bottom: 48px;
    }
    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 30% 40%, rgba(124,58,237,0.25) 0%, rgba(6,182,212,0.08) 45%, #0B0E14 80%);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
    }
    .hero-left {
      flex: 1.1;
    }
    .hero-right {
      flex: 0.9;
      display: flex;
      justify-content: center;
    }
    .hero h1 {
      font-family: var(--font-heading);
      font-size: 3.4rem;
      font-weight: 800;
      line-height: 1.2;
      background: linear-gradient(to right, #C084FC, #06B6D4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 20px;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      background: rgba(245,158,11,0.15);
      border: 1px solid var(--accent-gold);
      color: var(--accent-gold);
      padding: 6px 18px;
      border-radius: 30px;
      font-weight: 600;
      margin-bottom: 24px;
    }
    .hero-desc {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 36px;
    }
    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, #7C3AED, #6D28D9);
      color: white;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: 30px;
      text-decoration: none;
      transition: 0.25s;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-primary:hover {
      background: #5B21B6;
      box-shadow: 0 8px 28px rgba(124,58,237,0.6);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--secondary);
      color: var(--secondary);
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: 600;
      text-decoration: none;
      transition: 0.25s;
    }
    .btn-outline:hover {
      background: rgba(6,182,212,0.1);
      border-color: #22D3EE;
    }
    .live-badge-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-xl);
      padding: 24px;
      width: 100%;
    }
    .score-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 14px 0;
    }
    .team {
      font-weight: 600;
      color: var(--text-main);
    }
    .score {
      font-family: var(--font-mono);
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--secondary);
    }
    .live-dot {
      width: 10px;
      height: 10px;
      background: var(--accent-red);
      border-radius: 50%;
      display: inline-block;
      margin-right: 6px;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse { 0%{opacity:1;} 50%{opacity:0.4;} 100%{opacity:1;} }
    /* 核心优势 */
    #features {
      background: #0B0E14;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 28px;
    }
    .feature-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-glow);
      border-radius: var(--radius-xl);
      padding: 32px 24px;
      transition: 0.3s;
    }
    .feature-card:hover {
      transform: translateY(-8px);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-hover);
    }
    .feature-icon {
      font-size: 2.4rem;
      color: var(--secondary);
      margin-bottom: 20px;
    }
    .feature-card h3 {
      font-size: 1.6rem;
      margin-bottom: 12px;
    }
    .badge {
      background: rgba(245,158,11,0.2);
      color: var(--accent-gold);
      padding: 4px 14px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.85rem;
      display: inline-block;
      margin-top: 16px;
    }
    /* 实时比分 */
    #live-scores {
      background: rgba(11,14,20,0.95);
    }
    .scores-layout {
      display: flex;
      gap: 32px;
    }
    .scores-left {
      flex: 1.5;
    }
    .scores-right {
      flex: 1;
    }
    .score-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-lg);
      padding: 20px;
      margin-bottom: 18px;
      border: 1px solid rgba(124,58,237,0.25);
      transition: 0.2s;
    }
    .score-card:hover {
      border-color: var(--secondary);
      background: rgba(30,34,45,0.9);
    }
    .filter-pills {
      display: flex;
      gap: 10px;
      margin-bottom: 24px;
    }
    .pill {
      background: transparent;
      border: 1px solid var(--border-glow);
      color: var(--text-secondary);
      padding: 8px 20px;
      border-radius: 20px;
      font-weight: 500;
      cursor: pointer;
    }
    .pill.active {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }
    .highlight-card {
      background: rgba(124,58,237,0.1);
      border-radius: var(--radius-lg);
      padding: 22px;
    }
    /* 赛事中心 */
    #tournaments {
      background: #0B0E14;
    }
    .masonry {
      columns: 3;
      column-gap: 24px;
    }
    .tour-card {
      break-inside: avoid;
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      overflow: hidden;
      margin-bottom: 24px;
      border: 1px solid var(--border-glow);
      transition: 0.25s;
    }
    .tour-card:hover {
      border-color: var(--secondary);
      box-shadow: var(--shadow-hover);
    }
    .tour-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      background: #1e1e2f;
    }
    .tour-content {
      padding: 22px;
    }
    .tag {
      background: var(--primary);
      color: white;
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }
    /* 深度分析对比 */
    #insights {
      background: rgba(11,14,20,0.95);
    }
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr 1fr;
      gap: 20px;
    }
    .compare-col {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: 32px;
      border: 1px solid var(--border-glow);
    }
    .compare-col.highlight {
      border: 2px solid var(--primary);
      box-shadow: 0 0 28px rgba(124,58,237,0.3);
    }
    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid rgba(124,58,237,0.2);
      padding: 20px 0;
      cursor: pointer;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      font-size: 1.1rem;
    }
    /* 联系 */
    #contact {
      background: #0B0E14;
    }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    input, textarea {
      width: 100%;
      background: #1A1D26;
      border: 1px solid rgba(124,58,237,0.3);
      border-radius: var(--radius-md);
      padding: 14px;
      color: white;
      margin-bottom: 18px;
    }
    input:focus {
      border-color: var(--primary);
      outline: none;
    }
    footer {
      background: #0A0C12;
      border-top: 2px solid var(--primary);
      padding: 50px 0 25px;
    }
    @media (max-width: 1024px) {
      .hero-grid { flex-direction: column; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .scores-layout { flex-direction: column; }
      .masonry { columns: 2; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .features-grid { grid-template-columns: 1fr; }
      .compare-grid { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .hero h1 { font-size: 2.4rem; }
      .masonry { columns: 1; }
    }
