*::-webkit-scrollbar {
    width: 2px; /* Ubugari bwa scrollbar */
    height: 2px;
}
.scr::-webkit-scrollbar {
    width: 0px; /* Ubugari bwa scrollbar */
    height: 0px;
}
*::-webkit-scrollbar-track {
    background: #f1f1f1; /* Ibara rya background ya scrollbar */
    border-radius: 10px;height: 2px;
}
.scr::-webkit-scrollbar-track {
    background: #f1f1f1; /* Ibara rya background ya scrollbar */
    border-radius: 10px;height: 0px;
}
*::-webkit-scrollbar-thumb {
    background: #00aaff; /* Ibara rya scrollbar */
    border-radius: 10px;height: 2px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #01aaff; /* Ibara ihinduka igihe uje kuri scrollbar */
}
body{
  background: linear-gradient(to bottom, #fbe4db, #fbe4db);
}
#popup {
  display: flex;
  background-color: rgb(251 238 237);
  color: cadetblue;
  padding: 5px;
  border-radius: 7px;
  margin-bottom: 15px;
  animation: fadeOut 4s forwards;
  font-size: 15px;
  position: fixed;
  bottom: 5px;
  font-family: monospace;
  z-index: 1001;
  width: 80%;
  left: 5px;
  justify-content: center;
  right: 5px;
  border: 1px solid;
  margin-left: 30px;
    margin-top: 30px;
}
@keyframes fadeOut {
  0% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; display: flex; }
}
  .mai.dark {
    background: #121212;
    color: #f5f5f5;
  }

  /* Button style */
  .toggle-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    background: #4caf50;
    color: white;
    transition: background 0.3s;
  }

  .toggle-btn:hover {
    background: #388e3c;
  }
  .container {
    padding: 15px;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 23px;
  }
  .profile {
    display: flex;
    align-items: center;
  }
  .profile img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 10px;
      border: 1px solid;
  }
  .card {
    background: rgba(128, 0, 128, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #0094ffb3;
  }
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .discover {
    display: flex;
    overflow-x: auto;
    gap: 10px;
  }
  .discover img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffffff40;
  }
  .btn {
    background: #1f6113;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
  }
  .navbar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #012626;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 6px 0;
      flex-direction: row;
      border-radius: 18px;
      border: 1px solid #00ff8c42;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
  }
  .navbar a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Middle Discover Icon */
  .navbar .discover-icon {
      background: linear-gradient(45deg, #8b6322, #fff6d6);
      padding: 13px;
      border-radius: 19%;
      margin-top: -30px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
      font-size: 26px;
      height: 0.5cm;
      border: 1px solid gray;
  }

  /* Desktop */
  @media (min-width: 768px) {
    .grid-2 {
      grid-template-columns: repeat(4, 1fr);
    }
    .navbar {
      position: fixed;
      margin-top: 20px;
      border-radius: 10px;
    }
    .navbar .discover-icon {
      margin-top: 0;
    }
    .mai{
      width: 50%;
    }
    body{
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .navbar{
      width: 50%;
      margin-left: 24.7%;
    }
    .dvlot{
      width:300px;
    }
  }
  .scr{
    display: flex;
    overflow: auto;
    border: 1px solid #ffffff94;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 11px;
    background: #000000d1;
  }
  .container {
      /* max-width: 420px; */
      /* margin: 20px auto; */
      padding: 15px;
      border-radius: 15px;
      /* box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); */
      height: 100vh;
  }

  .balance {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: darkgrey;
  }

  .balance span {
    color: green;
    
  }

  .btn {
    display: inline-block;
    background: #2c2c38;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 5px;
  }

  .withdraw-section {
    margin-top: 20px;
    padding: 15px;
    background: #0c0c14ba;
    border-radius: 15px;
  }

  .input-box {
    width: 90%;
    margin: 10px 0;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(to bottom, #fbe4db, #fbe4db);
    color: #000;
    outline: none;
  }

  .withdraw-btn {
    width: 100%;
    background: linear-gradient(45deg, #17c147e8, #015f64);
    color: #ffebeb;
    font-size: 18px;
    padding: 15px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
  }

  .withdraw-btn:hover {
    background: #e3bd25;
  }

  .rules {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6em;
    color: #fff7f4;
    background: linear-gradient(45deg, #17c147e8, #015f64);
    padding: 10px;
    border-radius: 17px;
}

  .rules strong {
    color: #ffa200;
  }
  .dvlot{
    display: none;
    flex-direction: column;
    background: cadetblue;
    padding: 10px;
    border-radius: 10px;
    position: fixed;
    top: 54px;
    width: 269px;
    box-shadow: -3px 3px 12px 1px #000000f2;
    right: 10px;
  }
  .dvlot button {
    background: #b6adad;
    padding: 6px;
    margin: 2px;
    border: none;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    color: aliceblue;
    font-size: 13px;
}
.dvlot.active {
  display: flex;
}
.dvlot button:hover{
  background: #0a5738;
}