html, body {
  height: auto;
}
/* RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle, #0f2740, #081a2b);
  color: white;
  overflow-x: hidden;
  cursor: none;
  
}

/* BACKGROUND NETWORK */
#bg-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
  pointer-events: none;
}

/* make sure content is above */
.hero, .content, .pinned {
  position: relative;
  z-index: 1;
}


/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* TITLE ANIMATION */
.title {
  font-size: 60px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1.5s ease forwards;
}

.subtitle {
  opacity: 0;
  animation: fadeUp 2s ease forwards;
  animation-delay: 0.5s;
}

/* CONTENT */
.content {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARDS */
.card {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  cursor: pointer;
  
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255,255,255,0.1);
}

/* ANIMATION KEYFRAMES */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PINNED SECTION */
.pinned {
  height: 200vh; /* important: gives scroll space */
  position: relative;
}

.pinned-inner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* TEXT STYLE */
.pinned-title {
  font-size: 50px;
  margin-bottom: 20px;
}

.pinned-text {
  font-size: 20px;
  opacity: 0.7;
}