.scroll-btn {
  position: fixed;
  bottom: 20px;
  right: -80px; /* Start off-screen */
  display: flex; /* Initially display as flex */
  background-color: #101520;
  color: #f0f8ff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px #00ff88;
  transition: right 0.5s ease, opacity 0.5s ease; /* Smooth sliding and fading */
  opacity: 0;
  animation: bounce-btn 1s ease-in-out infinite;
  z-index: 9999;
}

@keyframes bounce-btn {
  0% {
    bottom: 20px;
  }

  25% {
    bottom: 25px;
  }

  75% {
    bottom: 20%;
  }

  75% {
    bottom: 15px;
  }
}

.scroll-btn.show {
  right: 20px; /* Move to visible position */
  opacity: 1; /* Make the button fully visible */
}

.scroll-btn:hover {
  background-color: #054a2a;
  animation: none;
  color: #f0f8ff;
}

/* Container for the progress bar */
#progressContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #f0f0f0; /* Light background for the bar */
  z-index: 9999; /* Ensure the progress bar is above other content */
}

/* The actual progress bar */
#progressBar {
  height: 100%;
  width: 0; /* Start with width 0 */
  background-color: #0e0e0e; /* Progress bar color */
  transition: width 0.2s ease; /* Smooth transition when the width changes */
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #217417;
  color: #f0f8ff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  display: none; /* Hidden by default */
  z-index: 9999;
}

.cookie-popup p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.accept-button {
  background-color: #101520;
  color: #f0f8ff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.accept-button:hover {
  background-color: #0e0e0e;
  color: #f0f8ff;
}

.bouncing-mouse {
  position: absolute;
  justify-content: center;
  left: 2.5rem;
  display: flex;
  padding: 0;
  transform: translateX(-50%);
  bottom: 7rem;
  z-index: 1;
}

.mouse {
  border: 2px solid #f0f8ff;
  height: 35px;
  width: 22px;
  border-radius: 15px;
}

.mouse-btn {
  position: absolute;
  border: 1.35px solid #f0f8ff;
  border-radius: 10px;
  width: 0px;
  height: 8px;
  animation: bouncing-mouse 2s ease-in-out infinite;
}

.text {
  position: absolute;
  bottom: -3.3rem;
  display: flex;
  font-size: 0.7rem;
}

@keyframes bouncing-mouse {
  0% {
    transform: translateY(14px);
  }

  50% {
    transform: translateY(7px);
  }

  100% {
    transform: translateY(14px);
  }
}

@media screen and (max-width: 1040px) {
  /* .bouncing-mouse {
    display: none;
  } */
}

.tradingview-widget-container {
  /* height: 4rem !important; */
  background: #26205e;
  z-index: -9;
}

.tradingview-widget-copyright {
  display: none;
}

.actionBtn {
  margin: 3rem auto 2rem;
  display: flex;
  justify-content: center;
}

.news-ticker {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
}

.news-ticker p {
  margin: 1rem auto 2rem;
}

/* Style for the particle container */
#particle-container {
  position: absolute;
  left: 0;
  right: 0;
  height: 100vh; /* Full-screen height */
  overflow: hidden;
}

/* Canvas to fill the container */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
  z-index: -1;
}
