/* ===================================
   Y2K VIBES - Cursor, Sparkles, Scrollbar
   Add this to every page for site-wide effects
=================================== */

/* -----------------------------------
   1) Custom Star Cursor
   Hot pink star for normal, neon green for clickables
----------------------------------- */
* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l1.8 10.2L24 12l-10.2 1.8L12 24l-1.8-10.2L0 12l10.2-1.8z' fill='%23ff69b4' stroke='%23fff' stroke-width='0.6'/%3E%3C/svg%3E") 12 12, crosshair;
}

a, button, [onclick], select, input[type="submit"], label[for], .tab-icon {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l1.8 10.2L24 12l-10.2 1.8L12 24l-1.8-10.2L0 12l10.2-1.8z' fill='%2339ff14' stroke='%23fff' stroke-width='0.6'/%3E%3C/svg%3E") 12 12, pointer !important;
}

/* -----------------------------------
   2) Sparkle Trail Animation
   (elements created by sparkles.js)
----------------------------------- */
.y2k-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  font-size: 14px;
  animation: sparkle-fall 0.8s ease-out forwards;
  user-select: none;
}

@keyframes sparkle-fall {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.2) translateY(30px) rotate(180deg);
  }
}

/* -----------------------------------
   3) Custom Neon Scrollbar
   Chromium + Safari
----------------------------------- */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-left: 1px solid #39ff14;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fc53ad, #ff69b4, #fc53ad);
  border-radius: 7px;
  border: 2px solid #1a1a2e;
  box-shadow: 0 0 8px rgba(252, 83, 173, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff69b4, #ff87d1, #ff69b4);
  box-shadow: 0 0 14px rgba(255, 105, 180, 0.9);
}

::-webkit-scrollbar-corner {
  background: #0a0a0a;
}

/* Firefox */
@supports (scrollbar-color: auto) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #fc53ad #0a0a0a;
  }
}

/* -----------------------------------
   4) Dial-Up Loading Overlay
   (element created by dialup.js)
----------------------------------- */
.dialup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.dialup-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.dialup-text {
  font-family: 'Courier New', monospace;
  color: #39ff14;
  font-size: 14px;
  text-shadow: 0 0 8px #39ff14;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.8;
}
.dialup-bar-track {
  width: min(280px, 80vw);
  height: 18px;
  border: 2px solid #39ff14;
  border-radius: 4px;
  background: #0a0a0a;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}
.dialup-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #39ff14, #00ffff, #fc53ad);
  border-radius: 2px;
  transition: width 0.15s linear;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.3);
}
.dialup-destination {
  font-family: 'Orbitron', sans-serif;
  color: #fc53ad;
  font-size: 0.65em;
  text-shadow: 0 0 6px #fc53ad;
  margin-top: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
