/* roulang page: index */
:root {
      --primary: #00F0FF;
      --secondary: #FF006E;
      --bg-deep: #0A0E17;
      --bg-card: rgba(17, 24, 39, 0.7);
      --text-main: #FFFFFF;
      --text-body: #B0C4DE;
      --text-muted: #6B7280;
      --gradient-main: linear-gradient(135deg, #00F0FF 0%, #FF006E 100%);
      --radius-lg: 16px;
      --radius-xl: 24px;
      --radius-full: 50px;
      --shadow-glow: 0 8px 32px rgba(0, 240, 255, 0.08);
      --border-glow: 1px solid rgba(0, 240, 255, 0.15);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      background-color: var(--bg-deep);
      color: var(--text-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .font-data {
      font-family: "Inter", "Roboto", sans-serif;
      font-variant-numeric: tabular-nums;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      backdrop-filter: blur(0px);
      background: transparent;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      backdrop-filter: blur(16px);
      background: rgba(10, 14, 23, 0.85);
      border-bottom: 1px solid rgba(0, 240, 255, 0.2);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-link {
      position: relative;
      color: var(--text-body);
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary);
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      box-shadow: 0 0 12px var(--primary);
      border-radius: 2px;
    }

    .btn-primary {
      background: var(--gradient-main);
      color: white;
      font-weight: 600;
      border-radius: var(--radius-full);
      padding: 12px 28px;
      border: none;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
      transition: all 0.25s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary:hover {
      box-shadow: 0 0 32px rgba(0, 240, 255, 0.7);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      border-radius: var(--radius-full);
      padding: 12px 28px;
      transition: all 0.25s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-outline:hover {
      background: rgba(0, 240, 255, 0.08);
    }

    .glass-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      border: var(--border-glow);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-glow);
      transition: all 0.3s ease;
    }

    .glass-card:hover {
      border-color: rgba(0, 240, 255, 0.4);
      box-shadow: 0 12px 36px rgba(0, 240, 255, 0.15);
      transform: translateY(-4px);
    }

    /* 底部导航移动端 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 48px);
      max-width: 500px;
      background: rgba(10, 14, 23, 0.9);
      backdrop-filter: blur(20px);
      border-radius: 24px;
      padding: 8px 20px;
      z-index: 60;
      border: 1px solid rgba(0, 240, 255, 0.25);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
      justify-content: space-around;
    }

    .mobile-nav a {
      color: var(--text-muted);
      font-size: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      transition: 0.2s;
    }

    .mobile-nav a i {
      font-size: 20px;
    }

    .mobile-nav a.active {
      color: var(--primary);
      transform: scale(1.05);
    }

    @media (max-width: 768px) {
      .desktop-nav {
        display: none;
      }
      .mobile-nav {
        display: flex;
      }
      .navbar {
        background: transparent;
      }
      .navbar.scrolled {
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
      }
      h1 {
        font-size: 36px !important;
        line-height: 1.3;
      }
    }

    @media (min-width: 769px) {
      .mobile-nav {
        display: none;
      }
    }

    /* 动画 */
    @keyframes breathe {
      0% { border-color: rgba(0, 240, 255, 0.2); box-shadow: 0 0 8px rgba(0, 240, 255, 0.2); }
      50% { border-color: rgba(0, 240, 255, 0.5); box-shadow: 0 0 18px rgba(0, 240, 255, 0.4); }
      100% { border-color: rgba(0, 240, 255, 0.2); box-shadow: 0 0 8px rgba(0, 240, 255, 0.2); }
    }
    .breathe-card {
      animation: breathe 3s infinite ease-in-out;
    }

    canvas {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
