:root {
  --nexus-bg: rgba(20, 12, 28, 0.6);
  --nexus-accent: rgba(94, 114, 228, 0.7);
  --nexus-hover: rgba(94, 114, 228, 0.9);
  --nexus-accent-green: rgba(52,211,153,0.7);
  --nexus-hover-green: rgba(52,211,153,0.9);
}

/* Body gradient override */
body {
  background: linear-gradient(to bottom right, #1e0a2a, #000000, #0c0835);
}

/* Liquid glass panels */
.liquid-panel {
  background: var(--nexus-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}

/* Navigation items */
.nav-item {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: #fff;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-item:hover::before {
  opacity: 1;
}
.nav-item:hover {
  box-shadow: 0 0 8px var(--nexus-accent), 0 0 16px var(--nexus-accent);
}

/* Hover glass animation */
@keyframes hover-glass {
  from {
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(255,255,255,0.1);
  }
  to {
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
  }
}
.hover-glass:hover {
  animation: hover-glass 0.3s forwards;
}

/* Nexus buttons */
.btn-nexus {
  background: var(--nexus-accent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(94,114,228,0.4);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nexus:hover {
  background: var(--nexus-hover);
  transform: scale(1.05);
}
.btn-nexus.green {
  background: var(--nexus-accent-green);
  border-color: rgba(52,211,153,0.4);
}
.btn-nexus.green:hover {
  background: var(--nexus-hover-green);
}

/* Short URL display styling */
#shortUrlText, .short-url-text {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  max-width: 100%;
  word-break: break-all;
  color: #fff;
  margin: 0 auto;
  font-weight: 500;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#shortUrlText:hover, .short-url-text:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 16px rgba(255,255,255,0.15);
}

/* Compact version of the nexus button */
.btn-nexus.sm {
  margin-top:0.4rem;
  padding: 0.5rem 1rem;     /* tighter vertical padding */
  font-size: 0.875rem;     /* slightly smaller text */
}
/* Keep the same green hover for small copy button */
.btn-nexus.green.sm:hover {
  background: var(--nexus-hover-green);
  transform: scale(1.05);
}



/* marquee animation */
@keyframes marquee {
  from { transform: translateX(0%); }
  to   { transform: translateX(-100%); }
}
.marquee {
  display: inline-block;
  white-space: nowrap;
}
.marquee‐hover:hover .marquee {
  animation: marquee 8s linear infinite;
}

/* Optional: liquid-blue & liquid-green for icons */
@keyframes liquid-blue {
  0%,100% {
    box-shadow:0 0 8px rgba(96,165,250,0.4),0 0 16px rgba(96,165,250,0.3);
    transform: scale(1);
  }
  50% {
    box-shadow:0 0 12px rgba(96,165,250,1),0 0 20px rgba(96,165,250,0.6);
    transform: scale(1.03);
  }
}
@keyframes liquid-green {
  0%,100% {
    box-shadow:0 0 8px rgba(52,211,153,0.4),0 0 16px rgba(52,211,153,0.3);
    transform: scale(1);
  }
  50% {
    box-shadow:0 0 12px rgba(52,211,153,1),0 0 20px rgba(52,211,153,0.6);
    transform: scale(1.03);
  }
}


.liquid-blue { animation: liquid-blue 2.5s ease-in-out infinite; }
.liquid-green { animation: liquid-green 2.5s ease-in-out infinite; }


/* move reCAPTCHA badge above footer in signup.php */


