/* .background {
    background: #0d000b;
    background: radial-gradient(circle,rgba(13, 0, 11, 1) 0%, rgba(77, 0, 72, 1) 30%, rgba(3, 0, 2, 1) 100%);
} */


.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.gradient-background {
  background: linear-gradient(180deg,#f3e8af,#2d0000,#ff0000);
  background-size: 180% 180%;
  animation: gradient-animation 10s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.parallelogram {
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    transform-style: preserve-3d;
}

.glow-aura::before {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    background: rgba(34, 255, 255, 0.2);
    border-radius: 8px;
    filter: blur(12px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
    opacity: 0.6;
    transform: scale(1);
    }
    50% {
    opacity: 1;
    transform: scale(1.1);
    color: yellow !important;
    }
}

.cursor {
  display: inline-block;
  color: lime;
  font-weight: bold;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.hover-lift:hover {
    transform: perspective(800px) scale(1.05) translateZ(10px);
    box-shadow: 0 0 20px rgba(34, 255, 255, 0.6);
}

.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


#noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

  @keyframes scanline {
    0%   { transform: translateY(-100%); opacity: 0.1; }
    50%  { opacity: 0.2; }
    100% { transform: translateY(100%); opacity: 0.05; }
  }

  .animate-scanline {
    animation: scanline 2.5s infinite ease-in-out;
    background-size: 100% 8px;
    mix-blend-mode: overlay;
  }

    .flicker-flash {
    animation: flicker 0.1s ease-in-out;
  }

  @keyframes flicker {
    0% { opacity: 0; }
    50% { opacity: 0.2; }
    100% { opacity: 0; }
  }

  /*
   ADDING INLINE STUFF HERE
  */

  /* Windows 95 style titlebar and buttons */
  .win95-titlebar {
    background: linear-gradient(to bottom, #000080, #000050);
    color: white;
    font-weight: bold;
    font-family: "MS Sans Serif", sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    height: 24px;
    border-bottom: 2px solid #000000;
  }

  .win95-buttons {
    display: flex;
    gap: 2px;
  }

  .win95-btn {
    width: 16px;
    height: 16px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 14px;
    color: black;
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
  }

  .win95-btn:active {
    border: 1px solid #808080;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
  }

  #fake-desktop {
    height: 380px; /* Shrink to expose taskbar */
  }

  #fake-desktop {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAJdJREFUKFNjZICC///JycmswMDAwPCfP39//yWdnZ1wJSUlHd++/fv38Fv5+zZ89/z549f8/ExISHDh2CkpKSYv/+/fcMDg5eZmamDwQFbG5u7ocf//v3bvXs3aGBgYBv9+/f/npqaOnTqVDoB3ysgrQAHiAGSGqFkBiI1JqDkaAJq5EDaENCUJME0GUDpGyqqoBiNAAAJBNYpye+ZjwAAAAASUVORK5CYII='), auto;
  }

  #fake-desktop .window {
    max-height: 280px;
    overflow-y: auto;
  }

  #fake-desktop .taskbar {
    height: 32px;
  }

  #fake-desktop::-webkit-scrollbar {
    display: none; /* Hide scrollbar inside framebuffer for clean UI */
  }
/*
 #terminal {
  background: #1e1e1e;
  color: #ccc;
  font-family: 'Courier New', Courier, monospace;
  border-radius: 8px;
  padding: 20px;
  box-shadow:
    inset 0 0 10px #00ffff55,
    0 4px 10px rgba(0, 255, 255, 0.3);
  max-width: 700px;
  width: 90vw; 
  margin: 20px auto;
  min-height: 300px;
  overflow-y: auto;
  user-select: text;
  position: relative;

  Responsive font size: min 12px, preferred 1.125vw (~responsive), max 18px 
  font-size: clamp(12px, 1.125vw, 18px);
  line-height: 1.5;

  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;

  /* Transition for open animation */
  /* transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
} */
*



@keyframes crtFlickerIn {
  0% {
    opacity: 0;
    transform: scaleY(0) scaleX(1.2);
    filter: brightness(400%) blur(2px);
  }
  30% {
    opacity: 1;
    transform: scaleY(1.2) scaleX(0.9);
    filter: brightness(150%) blur(1px);
  }
  60% {
    transform: scaleY(0.95) scaleX(1.05);
    filter: brightness(200%) blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(100%) blur(0);
  }
}

.crt-flicker-in {
  animation: crtFlickerIn 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}


.crt-background {
background-image: repeating-linear-gradient(
  to bottom,
  rgba(255,255,255,0.01),
  rgba(255,255,255,0.01) 1px,
  transparent 1px,
  transparent 2px
);
}


#nav-menu {
  position: relative; /* or absolute/fixed depending on layout */
  z-index: 60; /* higher than nav container's z-50 */
  background-color: rgba(15, 15, 25, 0.85); /* semi-transparent dark bg */
  backdrop-filter: blur(10px); /* optional, for glass effect */
  -webkit-backdrop-filter: blur(10px);
  will-change: transform, opacity, filter;
  position: absolute;
  top: 100%; /* Just below the nav bar */
  left: 0;
  right: 0;
  background-color: rgba(15, 15, 25, 0.85);

}

#parallax-bg {
  pointer-events: none; /* Always let clicks pass through */
}