*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    /*********  Colors  *********/
    --modal-background-color: #121313;
    --button-background-color: #171818;
    --button-background-hover-color: #1e1f1f;
    --button-color: #fff;

    /*********  Fonts  *********/
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;


    /********* Button **********/
    button{
        border: none;
    }
}

h1 {
  font-weight: 700;
  font-size: 2.5rem; /* ~40px */
  line-height: 1.2;
}

h2 {
  font-weight: 700;
  font-size: 2rem; /* ~32px */
  line-height: 1.3;
}

h3 {
  font-weight: 600;
  font-size: 1.75rem; /* ~28px */
  line-height: 1.35;
}

h4 {
  font-weight: 600;
  font-size: 1.5rem; /* ~24px */
  line-height: 1.4;
}

p {
  font-weight: 400;
  font-size: 1rem; /* ~16px */
  line-height: 1.6;
}

a {
  font-weight: 500;
  font-size: 1rem; /* ~16px */
  line-height: 1.6;
  text-decoration: none;
  color: inherit;
}
  .gateway {
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/img/quests-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  
  .gateway-box {
    position: relative;
    z-index: 0;
    background: rgba(10, 20, 40, 0.7);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,200,255,0.3);
  }

  .gateway-box h2 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #00eaff;
    letter-spacing: 1px;
  }

  .btn-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  @media (max-width: 500px) {
    .btn-container {
      flex-direction: column;
    }
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(90deg, #007bff, #00eaff);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }

  .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 220, 255, 0.9);
  }

@media (max-width:500px) {
    .desktop-container, #connect-btn-desktop{
        display: none;
    }
    .mobile-container, #connect-btn-mobile{
        display: block;
    }
 .mobile-container #connectwallet-mobile{
        bottom:0%;
        display: none;
        width: 100%;
        height: 500px;
        position: absolute;
        background-color: var(--modal-background-color);
        border: 1px solid #1d1e29;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        transition: 0.5s;
        z-index:1;
    }
 .mobile-container .walletlist-container {
  width: 100%;
  height: 400px; 
  margin-top: 1rem;
  
}

.mobile-container .walletlist-scroll {
  max-height: 100%;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  padding: 0 0.5rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;

  animation: slideInUp 0.6s ease-out forwards;
}

.mobile-container .walletlist-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

@keyframes slideInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-container .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
}

#cancelbtn-mobile, #infobtn-mobile, #backbtn-info-mobile, .info-btn{
    background: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}
.mobile-container .header-center h4{
    color: #fff;
    font-size: 20px;
}
.mobile-container .wallet-btn{
    display: flex;
    flex-direction: column;
    background-color: var(--button-background-color);
    width: 110px;
    padding: 15px 5px; 
    justify-content:center;
    cursor: pointer;
    gap: 10px;
    align-items: center;
    border-radius: 25px;
}
.mobile-container .wallet-btn:hover{
    background-color: var(--button-background-hover-color);
}
.mobile-container .wallet-btn img{
    width: 50px;
    border-radius: 5px;
}
.mobile-container .wallet-btn span{
    color: #fff;
    font-weight: 300;
    font-size: 13px;
}

}
   
@media (min-width: 501px) {
    .desktop-container, #connect-btn-desktop{
        display: block;
    }
    .mobile-container, #connect-btn-mobile{
        display: none;
    }
 .desktop-container .connect-wallet{
        display: none;
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        height: 500px;
        position: absolute;
        background-color: var(--modal-background-color);
        border: 1px solid #1d1e29;
        border-radius: 30px;  
        z-index: 1;
    }
 .desktop-container .walletlist-container {
  width: 100%;
  height: 400px;
  margin-top: 1rem;
  
}

.desktop-container .walletlist-scroll {
  max-height: 100%;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  padding: 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
  animation: slideInUp 0.6s ease-out forwards;
}

.desktop-container .walletlist-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

@keyframes slideInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.desktop-container .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
}

#cancelbtn-desktop, .info-btn, #backbtn-info-desktop, #infobtn-desktop{
    background: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}
.desktop-container .header-center h4{
    color: #fff;
    font-size: 20px;
}
.desktop-container .wallet-btn{
    display: flex;
    flex-direction: column;
    background-color: var(--button-background-color);
    width: 110px;
    padding: 15px 5px; 
    justify-content:center;
    cursor: pointer;
    gap: 10px;
    align-items: center;
    border-radius: 25px;
}
.desktop-container .wallet-btn:hover{
    background-color: var(--button-background-hover-color);
}
.desktop-container .wallet-btn img{
    width: 50px;
    border-radius: 5px;
}
.desktop-container .wallet-btn span{
    color: #fff;
    font-weight: 300;
    font-size: 13px;
}
}
