
/* initial site visit */
/* page refresh */
/* any direct navigation to internal pages */
#pageLoader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease;
}

.crypto-spiner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.crypto-spiner .coin {
  width: 60px;
  height: 60px;
  border: 6px solid #1c2128;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spinCoin 0.9s linear infinite;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

@keyframes spinCoin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.loading-text {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: #dbeafe;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  text-align: center;
  opacity: 0;
  animation: fadeInText 1s ease-in;
  animation: slideInText 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(1opx); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInText {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}
/* initial site visit */
/* page refresh */
/* any direct navigation to internal pages */

.main-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}   

.main-container.display {
  opacity: 1;
  transform: translateY(0);
}












/* Base Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background-color: #0e1117;
  color: #fff;
  padding: 1rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 32px;
  height: 32px;
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 65px;
  right: -100%;
  width: 100%;
  background-color: #0e1117;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.mobile-menu ul li {
  margin: 1rem 0;
}

.mobile-menu ul li a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

.auth-buttons-mobile .signup {
  border: 1px solid;
  color: #fff;
  border-image: linear-gradient(to right, #00ffae, #00c2ff) 1;
}


.auth-buttons-mobile .login {
  border: 1px solid #fff;
  color: #fff;
  background-color: #3cc85e;
}

.auth-buttons-mobile {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.auth-buttons-mobile .login,
.auth-buttons-mobile .signup {
  width: 45%;
}

.auth-buttons-mobile button {
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 4px;
}

/* Hide desktop navs by default (on mobile) */
.desktop-only {
  display: none;
}

/* ========== Desktop Styles ========== */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .desktop-only {
    display: flex;
    align-items: center;
  }

  .nav-links ul {
    display: flex;
    list-style: none;
    gap: 1rem;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  .auth-buttons {
    gap: 1rem;
    margin-left: 1.5rem;
  }

  .auth-buttons .signup {
    border: 1px solid;
    color: #fff;
    border-image: linear-gradient(to right, #00ffae, #00c2ff) 1;
  }
  
  
  .auth-buttons .login {
    border: 1px solid #fff;
    color: #fff;
    background-color: #3cc85e;
  }

  .auth-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
  }

  /* Mobile menu stays hidden */
  .mobile-menu {
    display: none;
  }
}