 html, body {
      height: 100%;
      margin: 0;
      font-family: 'Inter', sans-serif;
      color: #c7f9ee;
      background: radial-gradient(circle at top, #0f3d2e, #08261c);
      overflow-x: hidden;
    }

    /* Canvas pulse */
    canvas {
      position: fixed;
      inset: 0;
      z-index: 0;
      opacity: 0.75;
    }

    /* Side nav */
    .side-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 220px;
      height: 100%;
      background: linear-gradient(
        180deg,
        rgba(10,40,70,0.92),
        rgba(8,30,55,0.9)
      );
      backdrop-filter: blur(16px);
      border-right: 1px solid rgba(80,180,255,0.15);
      padding: 40px 24px;
      z-index: 2;
      font-family: 'JetBrains Mono', monospace;
      box-shadow: 6px 0 30px rgba(0,0,0,0.4);
    }

    .nav-title {
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      color: #7dd3fc;
      opacity: 0.7;
      margin-bottom: 28px;
    }

    .nav-link {
      display: block;
      padding: 10px 0;
      color: #8bdcff;
      text-decoration: none;
      position: relative;
    }

    .nav-link::before {
      content: "▸";
      position: absolute;
      left: -14px;
      opacity: 0;
      color: #22d3ee;
      transition: opacity 0.2s;
    }

    .nav-link:hover::before {
      opacity: 1;
    }

    /* Main content */
    .terminal {
      position: relative;
      z-index: 1;
      max-width: 760px;
      margin-left: 260px;
      padding: 100px 24px;
    }

    .system-panel {
      font-family: 'JetBrains Mono', monospace;
      background: linear-gradient(
        180deg,
        rgba(15,60,110,0.9),
        rgba(10,45,85,0.88)
      );
      border-left: 4px solid #38bdf8;
      padding: 24px;
      margin-bottom: 70px;
      box-shadow:
        0 20px 40px rgba(0,0,0,0.45),
        inset 0 0 0 1px rgba(120,200,255,0.15);
    }

    .system-line {
      color: #a5e7ff;
      letter-spacing: 0.05em;
      margin-bottom: 6px;
    }

    .cursor {
      display: inline-block;
      width: 8px;
      height: 1em;
      background: #34f5c5;
      animation: blink 1s infinite;
      vertical-align: bottom;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    .log {
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 56px;
      padding: 22px;
      border-left: 3px solid #38bdf8;
      background: rgba(10,55,70,0.65);
      box-shadow:
        inset 0 0 0 1px rgba(120,220,255,0.15),
        0 12px 30px rgba(0,0,0,0.35);
      opacity: 0;
      transform: translateY(26px);
      animation: rise 0.8s forwards;
    }

    .log:hover {
      border-left: 15px solid #38bdf8;
    }


    @keyframes rise {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .timestamp {
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      opacity: 0.6;
      margin-bottom: 10px;
      color: #67e8f9;
    }

    footer {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      opacity: 0.6;
      margin-top: 120px;
      color: #67e8f9;
    }

    /* Mobile */
    @media (max-width: 768px) {
      .side-nav {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(80,180,255,0.15);
      }

      .terminal {
        margin-left: 0;
        padding-top: 40px;
      }
    }



.theme-btn {
  padding: 12px 20px;
  border: 1px solid rgba(80,180,255,0.18);
  border-left: 3px solid #38bdf8;

  background: linear-gradient(
    180deg,
    rgba(15,60,110,0.9),
    rgba(10,45,85,0.88)
  );

  color: #a5e7ff;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;

  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(120,200,255,0.15),
    0 12px 30px rgba(0,0,0,0.35);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.theme-btn:hover {
  transform: translateY(-2px);

  border-color: rgba(120,220,255,0.35);

  box-shadow:
    inset 0 0 0 1px rgba(120,220,255,0.22),
    0 18px 38px rgba(0,0,0,0.45),
    0 0 18px rgba(56,189,248,0.18);
}

a{text-decoration:none;color:#a5e7ff;}