/* ========================================
   CURSOR + LOADING SCREEN
   ======================================== */

/* ---- Right Nav (hamburger container) ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: transform 0.1s ease;
}

/* ---- Cursor Gradient Orb ---- */
#cursor-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: opacity 0.3s ease;
}

@media (hover: none) and (pointer: coarse) {
  #cursor-orb { display: none; }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .cursor-trail {
    display: none !important;
  }
}

/* ========================================
   LOADING SCREEN ENHANCEMENTS
   ======================================== */
.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.loading-bar-wrap {
  width: 200px;
  height: 4px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.loading-text {
  font-size: 0.875rem;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
