/* roulang page: index */
:root {
      --bg-dark: #0F141C;
      --bg-card: #1A2230;
      --bg-panel: #263348;
      --accent-emerald: #10B981;
      --accent-purple: #8B5CF6;
      --text-main: #F8FAFC;
      --text-muted: #CBD5E1;
      --text-sub: #64748B;
      --border-line: rgba(255, 255, 255, 0.08);
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-muted);
      font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    .font-mono-code {
      font-family: var(--font-mono);
    }

    .custom-container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    .glass-nav {
      backdrop-filter: blur(16px);
      background-color: rgba(15, 20, 28, 0.88);
      border-bottom: 1px solid var(--border-line);
    }

    .tech-border {
      border: 1px solid var(--border-line);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .tech-border:hover {
      border-color: rgba(16, 185, 129, 0.35);
      box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
      transform: translateY(-2px);
    }

    .glow-emerald {
      box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.3);
    }

    .hero-bg-grid {
      background-size: 40px 40px;
      background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
      opacity: 0;
    }

    .accordion-content.active {
      max-height: 380px;
      opacity: 1;
    }

    .code-scroll::-webkit-scrollbar {
      height: 6px;
      width: 6px;
    }
    .code-scroll::-webkit-scrollbar-thumb {
      background: #334155;
      border-radius: 4px;
    }

    @media (max-width: 768px) {
      .hero-title-clamp {
        font-size: 2rem !important;
        line-height: 1.25 !important;
      }
    }
