.btn-container {
  display: flex;
  flex-wrap: wrap;     /* Allows buttons to move to the next line */
  justify-content: center;
  gap: 15px;           /* Space between buttons */
  max-width: 1000px;
  padding: 10px;
  padding-left:40px;
}

.glass-btn {
  /* Matching your dark glass theme */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  
  color: white;
  padding: 12px 24px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  
  /* Standardizing width for the grid look */
  flex: 0 1 auto; 
  min-width: 120px;
}

.glass-btn:hover {
  background: rgba(0, 119, 255, 0.2); /* Subtle blue tint on hover */
  border-color: rgba(0, 119, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.3);
  transform: translateY(-2px);
}

.glass-btn2 {
  /* Matching your dark glass theme */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  
  color: white;
  padding: 12px 24px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  
  /* Standardizing width for the grid look */
  flex: 0 1 auto; 
  min-width: 60px;
}

.glass-btn2:hover {
  background: rgba(0, 119, 255, 0.2); /* Subtle blue tint on hover */
  border-color: rgba(0, 119, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.3);
  transform: translateY(-2px);
}

/* Mobile logic: Max 3 wide */
@media (max-width: 768px) {
  .glass-btn {
    /* (100% / 3) minus the gap allows 3 per row */
    flex: 1 1 calc(33.333% - 20px); 
    max-width: calc(33.333% - 20px);
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .glass-btn2 {
    /* (100% / 3) minus the gap allows 3 per row */
    flex: 1 1 calc(33.333% - 20px); 
    max-width: calc(33.333% - 20px);
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .btn-container {
    padding:10px;
  }
}


.glass-back-to-top {
  /* Positioning */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  
  /* Hidden by default */
  display: none; 
  
  /* Glass Look */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%; /* Circular button */
  
  /* Size & Text */
  width: 50px;
  height: 50px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.glass-back-to-top:hover {
  background: rgba(0, 119, 255, 0.3); /* Match your blue theme */
  border-color: rgba(0, 119, 255, 0.6);
  transform: translateY(-5px);
}

.arrow {
  display: inline-block;
  transform: translateY(3px); /* Centering the ^ symbol visually */
}