/* ==========================================
   DARK OVERRIDE - Plain Dark Background
   With Static Decorative Shapes
   ========================================== */

/* Plain Dark Background - Override gradient */
body {
  background: #0a0a0a !important;
  background-attachment: unset !important;
  background-size: unset !important;
  overflow-x: hidden !important;
}

/* Remove any canvas elements (code background) */
canvas#code-background {
  display: none !important;
}

/* Ensure dark theme consistency */
html {
  background: #0a0a0a;
}

/* Ensure all main content stays above decorative shapes */
nav, header, main, section, footer, .password-modal {
  position: relative;
  z-index: 10;
}

/* Geometric Shapes - Top Right Circle */
.bg-shape-1 {
  position: fixed;
  top: 15%;
  right: 8%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-shape-1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 80px;
  height: 80px;
  border: 1px solid rgba(220, 38, 38, 0.12);
  pointer-events: none;
}

/* Geometric Shapes - Bottom Left Square */
.bg-shape-2 {
  position: fixed;
  bottom: 20%;
  left: 10%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(220, 38, 38, 0.14);
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
}

.bg-shape-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1px solid rgba(220, 38, 38, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

/* Hex Pattern Shape - Middle Right */
.bg-shape-3 {
  position: fixed;
  top: 50%;
  right: 18%;
  width: 100px;
  height: 100px;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.13);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  z-index: 0;
}

/* Triangle Shape - Top Left */
.bg-shape-4 {
  position: fixed;
  top: 25%;
  left: 12%;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid rgba(220, 38, 38, 0.1);
  pointer-events: none;
  z-index: 0;
}

/* Code Bracket Decoration */
.bg-code-bracket {
  position: fixed;
  font-family: 'Fira Code', monospace;
  font-size: 60px;
  color: rgba(220, 38, 38, 0.08);
  pointer-events: none;
  z-index: 0;
  font-weight: 200;
}

.bg-code-bracket.top-left {
  top: 8%;
  left: 5%;
}

.bg-code-bracket.bottom-right {
  bottom: 8%;
  right: 5%;
}

/* Binary Code Lines */
.bg-binary {
  position: fixed;
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(220, 38, 38, 0.09);
  pointer-events: none;
  z-index: 0;
  letter-spacing: 2px;
  line-height: 1.6;
}

.bg-binary.left {
  top: 30%;
  left: 2%;
  writing-mode: vertical-rl;
}

.bg-binary.right {
  top: 40%;
  right: 2%;
  writing-mode: vertical-rl;
}
