/* roulang page: index */
:root {
      --bg-deep: #0D1117;
      --bg-card: #1A2332;
      --bg-nav: #0A0E14;
      --primary-cyan: #00F0FF;
      --accent-red: #FF4655;
      --text-light: #F0F2F5;
      --text-muted: #8B9BB4;
      --border-subtle: rgba(0,240,255,0.15);
      --radius-card: 8px;
      --radius-btn: 4px;
      --shadow-glow: 0 8px 24px rgba(0,240,255,0.12);
      --transition-fast: 0.2s ease;
      --font-mono: 'DIN Alternate', 'Roboto Mono', 'Courier New', monospace;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    }
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-light);
      line-height: 1.6;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition-fast);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, .button {
      cursor: pointer;
      font-family: inherit;
      border: none;
      outline: none;
      transition: all var(--transition-fast);
    }
    /* 左侧竖向导航 (桌面端) */
    .side-nav {
      position: fixed;
      left: 0;
      top: 0;
      width: 220px;
      height: 100vh;
      background-color: var(--bg-nav);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2rem 1rem 1.5rem;
      z-index: 30;
      border-right: 1px solid var(--border-subtle);
      box-shadow: 2px 0 12px rgba(0,0,0,0.4);
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
      padding-left: 0.5rem;
    }
    .logo-icon {
      font-size: 1.8rem;
      color: var(--primary-cyan);
    }
    .logo-text {
      font-weight: 800;
      font-size: 1.25rem;
      letter-spacing: 0.5px;
      color: white;
      line-height: 1.2;
    }
    .nav-menu {
      list-style: none;
      margin: 0;
      padding: 0;
      flex: 1;
    }
    .nav-item {
      margin-bottom: 0.5rem;
    }
    .nav-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      border-radius: 6px;
      color: var(--text-muted);
      font-weight: 500;
      position: relative;
      transition: color var(--transition-fast), background var(--transition-fast);
    }
    .nav-link i {
      width: 18px;
      text-align: center;
      font-size: 1rem;
    }
    .nav-link::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 0;
      background-color: var(--primary-cyan);
      border-radius: 0 2px 2px 0;
      transition: height 0.2s ease;
    }
    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-cyan);
      background-color: rgba(0,240,255,0.05);
    }
    .nav-link:hover::before,
    .nav-link.active::before {
      height: 60%;
    }
    .nav-footer-btn {
      background: transparent;
      border: 1px solid var(--primary-cyan);
      color: var(--primary-cyan);
      padding: 0.6rem 1rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      text-align: center;
      display: block;
      width: 100%;
      transition: all 0.25s;
      margin-top: 1rem;
    }
    .nav-footer-btn:hover {
      background: var(--primary-cyan);
      color: #0D1117;
      box-shadow: 0 0 12px var(--primary-cyan);
    }
    /* 右侧内容区 */
    .main-content {
      margin-left: 220px;
      width: calc(100% - 220px);
      max-width: 1280px;
      padding: 0 2rem;
    }
    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      position: sticky;
      top: 0;
      background-color: var(--bg-nav);
      padding: 0.8rem 1.2rem;
      z-index: 35;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-subtle);
    }
    .hamburger {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 1.6rem;
      padding: 0.4rem;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      background: var(--bg-nav);
      flex-direction: column;
      padding: 1rem;
      z-index: 40;
      border-bottom: 1px solid var(--border-subtle);
    }
    .mobile-menu a {
      padding: 0.8rem;
      color: var(--text-muted);
      font-weight: 600;
      border-radius: 6px;
    }
    .mobile-menu a:hover {
      background: rgba(0,240,255,0.1);
      color: var(--primary-cyan);
    }
    /* 通用容器 */
    .section {
      padding: 5rem 0;
      scroll-margin-top: 2rem;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 2.5rem;
      color: white;
      letter-spacing: 0.3px;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 50px;
      height: 4px;
      background: var(--primary-cyan);
      border-radius: 2px;
    }
    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-card);
      padding: 1.8rem;
      transition: transform 0.25s, box-shadow 0.3s, border-color 0.2s;
    }
    .card:hover {
      transform: translateY(-6px);
      border-color: var(--primary-cyan);
      box-shadow: var(--shadow-glow);
    }
    .btn-primary {
      background: var(--primary-cyan);
      color: #0D1117;
      font-weight: 700;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
      display: inline-block;
      letter-spacing: 0.5px;
    }
    .btn-primary:hover {
      box-shadow: 0 0 20px var(--primary-cyan);
      color: #0D1117;
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--primary-cyan);
      color: var(--primary-cyan);
      font-weight: 700;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
      display: inline-block;
    }
    .btn-outline:hover {
      background: rgba(0,240,255,0.1);
    }
    /* Hero */
    .hero-grid {
      display: flex;
      gap: 3rem;
      align-items: center;
    }
    .hero-left {
      flex: 1;
    }
    .hero-right {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 16px;
      min-height: 280px;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }
    .score-overlay {
      background: rgba(13,17,23,0.8);
      backdrop-filter: blur(8px);
      padding: 2rem;
      border-radius: 12px;
      margin: 2rem;
      text-align: center;
    }
    .team-names {
      display: flex;
      justify-content: space-between;
      font-weight: 700;
      font-size: 1.4rem;
    }
    .live-score {
      font-family: var(--font-mono);
      font-size: 3rem;
      font-weight: 700;
      color: var(--accent-red);
      text-shadow: 0 0 14px rgba(255,70,85,0.5);
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .waterfall {
      columns: 3;
      column-gap: 24px;
    }
    .waterfall .card {
      break-inside: avoid;
      margin-bottom: 24px;
    }
    .compare-row {
      display: flex;
      gap: 2rem;
    }
    .compare-col {
      flex: 1;
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 2rem;
      border: 1px solid var(--border-subtle);
    }
    .compare-col.featured {
      border-color: var(--primary-cyan);
      box-shadow: 0 0 18px rgba(0,240,255,0.2);
    }
    .faq-item {
      background: var(--bg-card);
      border-left: 3px solid transparent;
      margin-bottom: 12px;
      border-radius: 6px;
      transition: 0.2s;
    }
    .faq-item.active {
      border-left-color: var(--primary-cyan);
    }
    .cta-banner {
      background: radial-gradient(circle at 30% 30%, #1a1f2b, #0D1117);
      padding: 4rem 2rem;
      text-align: center;
      border-radius: 12px;
      position: relative;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 2rem;
      padding: 2.5rem 0;
    }
    @media (max-width: 1024px) {
      .side-nav {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0 1.5rem;
      }
      .grid-3 {
        grid-template-columns: repeat(2,1fr);
      }
      .waterfall {
        columns: 2;
      }
      .hero-grid {
        flex-direction: column;
      }
      .compare-row {
        flex-direction: column;
      }
    }
    @media (max-width: 768px) {
      .grid-3 {
        grid-template-columns: 1fr;
      }
      .waterfall {
        columns: 1;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
