* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { font-family: 'Inter', sans-serif; height: 100vh; color: #eaeaea; background: linear-gradient( 120deg, #050505, #0b1a2a, #2b1247, #0a2f3a ); background-size: 400% 400%; animation: gradientMove 20s ease infinite; overflow: hidden; } /* GRADIENT ANIMATION */ @keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
/* HOME ONLY */
body.home {
  background: linear-gradient(
    120deg,
    #050505,
    #0b1a2a,
    #2b1247,
    #0a2f3a
  );
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* INNER PAGES */
body.about,
body.thoughts,
body.ideas {
  background: radial-gradient(circle at top, #0b1a2a 0%, #050505 70%);
  animation: none !important;
}

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 60px; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(12px); background: rgba(0, 0, 0, 0.25); z-index: 10; } 
.nav-logo { font-weight: 500; letter-spacing: 2px; } 
.nav-links { list-style: none; display: flex; gap: 30px; } 
.nav-links a { text-decoration: none; color: #cfcfcf; position: relative; transition: color 0.3s ease; } 
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0%; height: 2px; background: linear-gradient(90deg, #7f5af0, #2cb67d); transition: width 0.3s ease; } 
.nav-links a:hover { color: #ffffff; } 
.nav-links a:hover::after { width: 100%; }

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  padding: 40px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 16px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1rem;
  color: #bdbdbd;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 1.2s ease forwards;
}

.reveal.delay {
  animation-delay: 0.6s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INNER PAGE LAYOUT */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.page h1 {
  font-family:'Inter', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 32px;
}

.page p {
  line-height: 1.8;
  margin-bottom: 24px;
  color: #cfcfcf;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}




.ideas-board {
  position: relative;
  width: 100%;
  height: 120vh; /* allow scrolling */
  overflow: hidden;
  padding-top: 60px; /* avoid navbar */
}

.idea-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  cursor: pointer;
  animation: float 6s ease-in-out infinite alternate;
  transition: transform 0.3s ease, color 0.3s ease;
}

.idea-text:hover {
  color: #2cb67d;
  transform: scale(1.2);
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25% { transform: translateY(-8px) translateX(5px) rotate(-1deg); }
  50% { transform: translateY(5px) translateX(-5px) rotate(1deg); }
  75% { transform: translateY(-5px) translateX(8px) rotate(-1deg); }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

/* Animation delay for async floating */
.idea-text:nth-child(1) { animation-delay: 0s; }
.idea-text:nth-child(2) { animation-delay: 0.5s; }
.idea-text:nth-child(3) { animation-delay: 1s; }
.idea-text:nth-child(4) { animation-delay: 1.5s; }
.idea-text:nth-child(5) { animation-delay: 2s; }

/* Responsive */
@media (max-width: 768px) {
  .idea-text {
    font-size: 1.1rem;
  }
}

#ideas-canvas {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bubble {
  position: absolute;
  padding: 18px 26px;
  border-radius: 999px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  cursor: grab;
  user-select: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.bubble:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

.bubble:active {
  cursor: grabbing;
}

.bubble {
  touch-action: none;
}


.bubble {
  touch-action: none;
  user-select: none;
  cursor: grab;
  will-change: transform;
}

.bubble:active {
  cursor: grabbing;
}



.popup {
  position: absolute;
  width: 240px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 50;
  animation: popupIn 0.25s ease;
}

.popup img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.popup h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.popup p {
  font-size: 0.85rem;
  color: #cfcfcf;
  line-height: 1.4;
}

.hidden {
  display: none;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

