/* =========================
   REALISTIC LAMP SVG
========================= */

.lamp-wrapper {
  position: fixed;
  top: 0;
  right: 0; /* Align to right edge */
  width: 200px; /* Wider canvas for swing */
  height: 400px;
  z-index: 3000;
  pointer-events: none; /* Let clicks pass through, but re-enable for canvas */
}

.lamp-wrapper canvas {
  pointer-events: auto; /* Enable events on canvas */
  width: 100%;
  height: 100%;
}

.lamp-svg {
  overflow: visible;
}

/* Knob shadow (depth) */
#knob {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  cursor: grab;
}

/* Cursor feedback */
.lamp-wrapper:active {
  cursor: grabbing;
}
/* =========================
   CONNECT BUTTON
========================= */

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 28px rgba(124, 124, 255, 0.4);
}
.connect-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
/* =========================
   BUTTONS
========================= */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Primary Button */
.btn.primary {
  color: white;
  background: var(--accent);
}
.btn.primary:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.btn.primary:active {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}
/* Secondary Button */
.btn.secondary {
  color: var(--text);
  background: var(--bg-soft);
}
.btn.secondary:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.btn.secondary:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* =========================
   NAVBAR LINKS
========================= */
.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.nav-link:hover {
  opacity: 1;
}
.nav-link.active {
  opacity: 1;
  font-weight: 600;
}
/* Underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
/* Prevent SVG white line artifacts */
.lamp-svg path {
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

/* =========================
   HERO BUTTONS (LIQUID PILL)
========================= */
