@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 50% 0%, #143224 0%, #0a1410 100%);
  color: #f3f4f6;
  min-height: 100vh;
  overflow-x: hidden;
  /* background-color: #030706 !important;
  background-image: linear-gradient(to bottom, #030706, #050a08) !important;
  
  margin: 0;
  padding: 0;
  width: 100%; */
}

/* Top and bottom of webpage black for iPhones with notch/dynamic island */
html {
  background-color: #030706 !important;
}

/* Floating Glassmorphic Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Lock down the boundaries */
  border-radius: 16px !important;
  overflow: hidden !important;
  
  /* Force hardware layer creation */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.glass-card-nohover {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Lock down the boundaries */
  border-radius: 16px !important;
  overflow: hidden !important;
  
  /* Force hardware layer creation */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(34, 197, 94, 0.3); /* Subtle green glow */
  box-shadow: 0 15px 45px 0 rgba(34, 197, 94, 0.1);
}

/* Smooth Floating Animation for Hero Title */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Custom Scrollbar for smooth modern scrolling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 197, 94, 0.5);
}

/* --- Asynchronous Float Modifiers --- */

/* Speed variations */
.float-fast {
  animation-duration: 3.5s;
}

.float-slow {
  animation-duration: 6s; /* Heavy, slow glide for the main title */
}

/* Timing offsets (This stops them from moving together) */
.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1.2s;
}

/* LINKS */
.link {
  color: rgb(119, 183, 255);
  text-decoration: underline;
}

#bg-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.museum-item-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Lock down the boundaries */
  border-radius: 16px !important;
  overflow: hidden !important;
  
  /* Force hardware layer creation */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.museum-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(34, 197, 94, 0.3); /* Subtle green glow */
  /* box-shadow: 0 15px 45px 0 rgba(34, 197, 94, 0.1); */
}