/* ===== Global tweaks ===== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* nicer text selection */
::selection {
  background: #a855f7;
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#a855f7, #d946ef);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#c084fc, #e879f9);
}


.glow-text {
  text-shadow:
    0 0 8px rgba(168,85,247,0.6),
    0 0 18px rgba(217,70,239,0.4);
}

.glow-box {
  box-shadow:
    0 0 25px rgba(168,85,247,0.25),
    0 0 60px rgba(217,70,239,0.15);
}

/* ===== Glass effect enhancement ===== */

.glass {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

/* ===== Smooth hover cards ===== */

.card-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-hover:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(168,85,247,.15);
}

/* ===== Subtle background noise (makes site feel expensive) ===== */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Centered Images
.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; /* Optional: set a width for responsiveness
} */

.server-disabled {
  text-decoration: line-through;
  opacity: 0.5;                /* Fades the server box out slightly */
  pointer-events: none;        /* Prevents users from clicking any links inside */
  cursor: not-allowed;         /* Shows a "no entry" icon on hover */
}