/* ===== BASE STYLES ===== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Courier Prime', monospace;
}

/* ===== BLURRED BACKGROUND ===== */
#office-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('officebackground.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transition: filter 0.3s ease-out;
  z-index: -1;
}

.blurred-title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #d12ab2;
  text-shadow: 
    0 0 8px white,
    0 0 20px #b8538f;
  font-size: 4rem;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.blurred-subtitle {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  font-weight: bold;
  color: #d12ab2;
  text-shadow: 
    0 0 8px white,
    0 0 20px #b8538f,
    0 0 30px #d12ab2;
  font-family: 'Courier Prime', monospace;
  filter: blur(12px);
  transition: filter 0.3s ease-out;
  opacity: 0.9;
}

.blurred-subtitle p {
  margin: 10px 0;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

/* ===== WIRE SYSTEM ===== */

/* Wire Navigation Container */
.wire-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: auto;
}

.wire {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  overflow: hidden;
  pointer-events: none;
}

.wire-1, .wire-2, .wire-3 {
  position: absolute;
  transform-origin: left center; /* For proper rotation */
}

/* Wire positions */
.wire-1 {
  top: 47%;
  left: 16%;
  width: 600px;
  transform: rotate(-6deg);
}
.wire-2 {
  top: 83%;
  left: 66%;
  width: 473px;
  transform: rotate(15deg);
}
.wire-3 {
  top: 43%;
  left: 69%;
  width: 130px;
  transform: rotate(12deg);
}


/* Spark Animation */
.wire::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.8) 20%,
    rgba(74, 111, 165, 0.9) 50%,
    rgba(255,255,255,0.8) 80%,
    transparent);
  background-size: 200% 100%; /* Double width for smooth animation */
  animation: spark-pass 2s linear infinite;
  z-index: 1; /* Ensure it's above the wire */
}

@keyframes spark-pass {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.wire-label {
  position: absolute;
  font-size: 1.6rem;
  color: #d12ab2;
  font-family: 'Courier Prime', monospace;
  font-weight: bold;
  white-space: nowrap;
  background: transparent;
  padding: 2px 12px;
  text-shadow: 
    0 0 8px white,
    0 0 20px #b8538f,
    0 0 30px #d12ab2;
  z-index: 20;
  pointer-events: none;  
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) rotate(var(--wire-rotation));
  animation: float 3s ease-in-out infinite alternate;
}

/* Individual label positions - ONLY adjust left % */
.wire-1 .wire-label { left: 50%; --wire-rotation: -1deg; }
.wire-2 .wire-label { left: 40%; --wire-rotation: 1deg; }
.wire-3 .wire-label { left: 50%; --wire-rotation: 3deg; }

/* Floating animation - now uses CSS variables */
@keyframes float {
  0% { transform: translateX(-50%) rotate(var(--wire-rotation)) translateY(0); }
  100% { transform: translateX(-50%) rotate(var(--wire-rotation)) translateY(-8px); }
}

.wire-click-target {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
}

