
/* Add any custom global styles here */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbars but keep scrolling */
body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; }
body, * { -ms-overflow-style: none; scrollbar-width: none; }


#mobile-nav.hidden {
    display: none;
}

#mobile-nav {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.88); /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

#mobile-nav.open { opacity: 1; pointer-events: auto; }

/* Make burger visible also on tablets (>=768px) even if Tailwind added md:hidden */
@media (min-width: 768px) {
  #burger-menu { display: inline-flex !important; }
}

/* Prevent content scroll under the overlay */
body.nav-open { overflow: hidden; }

/* Unique visual utilities available to the generator */
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #22d3ee, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid-bg {
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
}

.neumorphic {
  background: #0f172a; /* slate-900 */
  box-shadow: 12px 12px 24px #0b1020, -12px -12px 24px #131e3a;
  border-radius: 16px;
}

.shine {
  position: relative;
  overflow: hidden;
}
.shine::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.15), transparent 60%);
  transform: rotate(25deg) translateY(-50%);
  transition: transform 0.6s ease;
}
.shine:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.blob {
  position: absolute;
  filter: blur(40px);
  opacity: 0.6;
  animation: blob 18s infinite ease-in-out;
}
@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(20px,-30px) scale(1.05); }
  50% { transform: translate(-10px,20px) scale(0.95); }
  75% { transform: translate(-20px,-10px) scale(1.08); }
}

.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.gradient-anim {
  background: linear-gradient(120deg, #1d4ed8, #8b5cf6, #06b6d4, #10b981);
  background-size: 300% 300%;
  animation: gradientShift 16s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Helper layer class for canvas backgrounds */
.fx-layer { pointer-events: none; display: block; }
