.terminal {
      width: min(100%, 1200px);
      max-width: 1200px;
      position: relative;
      margin: 0 auto;
      background: rgba(28, 26, 35, 0.95);
      border-radius: 36px;
      padding: 24px 22px 22px;
      box-shadow: 0 12px 48px rgba(255, 206, 248, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
      margin-bottom: 0;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      animation: terminalFadeIn 1s ease-out;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .terminal:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 56px rgba(255, 206, 248, 0.14), 0 6px 16px rgba(0, 0, 0, 0.08),
                  0 0 30px rgba(255, 206, 248, 0.4);
    }

    .terminal::before {
      content: "";
      position: absolute;
      inset: 0;
      margin: -1px;
      border-radius: inherit;
      background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,79,163,0.24), rgba(255,255,255,0.12));
      filter: blur(8px);
      pointer-events: none;
    }

    .terminal-header {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
      align-items: center;
      justify-content: space-between;
    }

    .terminal-title {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
      font-size: 12px;
      flex-grow: 1;
      text-align: center;
      margin: 0;
      padding: 0;
    }

    .terminal-path {
      background: linear-gradient(90deg, var(--pink), #ffffff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      animation: dotFadeIn 0.4s ease-out;
    }

    .red { 
      background: #FFB6D9; 
      animation-delay: 0s;
    }
    .yellow { 
      background: #FFD6F3; 
      animation-delay: 0.1s;
    }
    .green { 
      background: #FFFFFF; 
      animation-delay: 0.2s;
    }

    .terminal-body {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
      color: var(--terminalText);
      line-height: 1.6;
      font-size: 14px;
      letter-spacing: 0.02em;
      padding: 12px 0 4px 0;
    }

    .terminal-body > div {
      margin-bottom: 0.85rem;
    }

    .terminal > .terminal-body > div {
      animation: lineSlideIn 0.8s ease-out forwards;
      opacity: 0;
    }

    .terminal > .terminal-body > div:nth-child(1) { animation-delay: 0.2s; }
    .terminal > .terminal-body > div:nth-child(2) { animation-delay: 0.4s; }
    .terminal > .terminal-body > div:nth-child(3) { animation-delay: 0.6s; }
    .terminal > .terminal-body > div:nth-child(4) { animation-delay: 0.8s; }
    .terminal > .terminal-body > div:nth-child(5) { animation-delay: 1s; }
    .terminal > .terminal-body > div:nth-child(6) { animation-delay: 1.2s; }
    .terminal > .terminal-body > div:nth-child(7) { animation-delay: 1.4s; }
    .terminal > .terminal-body > div:nth-child(8) { animation-delay: 1.6s; }
    .terminal > .terminal-body > div:nth-child(9) { animation-delay: 1.8s; }
    .terminal > .terminal-body > div:nth-child(10) { animation-delay: 2s; }
    .terminal > .terminal-body > div:nth-child(11) { animation-delay: 2.2s; }
    .terminal > .terminal-body > div:nth-child(12) { animation-delay: 2.4s; }
    .terminal > .terminal-body > div:nth-child(13) { animation-delay: 2.6s; }
    .terminal > .terminal-body > div:nth-child(14) { animation-delay: 2.8s; }
    .terminal > .terminal-body > div:nth-child(15) { animation-delay: 3s; }
    .terminal > .terminal-body > div:nth-child(16) { animation-delay: 3.2s; }
    .terminal > .terminal-body > div:nth-child(17) { animation-delay: 3.4s; }
    .terminal > .terminal-body > div:nth-child(18) { animation-delay: 3.6s; }
    .terminal > .terminal-body > div:nth-child(19) { animation-delay: 3.8s; }
    .terminal > .terminal-body > div:nth-child(20) { animation-delay: 4s; }

    /* Scroll-triggered animations */
    .scroll-animate > div {
      margin-bottom: 0.85rem;
      opacity: 1;
    }

    .scroll-animate.animated > div {
      animation: lineSlideIn 0.8s ease-out forwards;
      opacity: 0;
    }

    .scroll-animate.animated > div:nth-child(1) { animation-delay: 0.2s; }
    .scroll-animate.animated > div:nth-child(2) { animation-delay: 0.4s; }
    .scroll-animate.animated > div:nth-child(3) { animation-delay: 0.6s; }
    .scroll-animate.animated > div:nth-child(4) { animation-delay: 0.8s; }
    .scroll-animate.animated > div:nth-child(5) { animation-delay: 1s; }
    .scroll-animate.animated > div:nth-child(6) { animation-delay: 1.2s; }
    .scroll-animate.animated > div:nth-child(7) { animation-delay: 1.4s; }
    .scroll-animate.animated > div:nth-child(8) { animation-delay: 1.6s; }
    .scroll-animate.animated > div:nth-child(9) { animation-delay: 1.8s; }
    .scroll-animate.animated > div:nth-child(10) { animation-delay: 2s; }
    .scroll-animate.animated > div:nth-child(11) { animation-delay: 2.2s; }
    .scroll-animate.animated > div:nth-child(12) { animation-delay: 2.4s; }
    .scroll-animate.animated > div:nth-child(13) { animation-delay: 2.6s; }
    .scroll-animate.animated > div:nth-child(14) { animation-delay: 2.8s; }
    .scroll-animate.animated > div:nth-child(15) { animation-delay: 3s; }
    .scroll-animate.animated > div:nth-child(16) { animation-delay: 3.2s; }
    .scroll-animate.animated > div:nth-child(17) { animation-delay: 3.4s; }
    .scroll-animate.animated > div:nth-child(18) { animation-delay: 3.6s; }
    .scroll-animate.animated > div:nth-child(19) { animation-delay: 3.8s; }
    .scroll-animate.animated > div:nth-child(20) { animation-delay: 4s; }

    .prompt {
      color: var(--pink);
      font-weight: 600;
    }

    .path {
      color: #8ab4ff;
    }

    .pw_console {
      background: linear-gradient(90deg, var(--pink), #ffffff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .terminal-body b {
      color: var(--pink);
    }

    .cursor {
      display: inline-block;
      width: 10px;
      height: 18px;
      background: var(--terminalText);
      animation: blink 1s infinite;
      margin-left: 4px;
      margin-bottom: -4px;
      border-radius: 2px;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    @keyframes terminalFadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes lineSlideIn {
      from {
        opacity: 0;
        transform: translateX(-10px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes dotFadeIn {
      from {
        opacity: 0;
        transform: scale(0.8);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }