.badge-popup {
  position: fixed;
  top: 21%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #d14c9c;
  padding: 24px 20px;
  z-index: 9999;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgb(209, 76, 156, 0.3);
  text-align: center;
  width: 90%;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.4;
  animation: popup-fade-in 0.3s ease-out;
}

@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

#model-cta-wrapper{
    display:flex;
    justify-content: space-evenly;;
}

.sign-in-btn {
    display: inline-block;
    border-radius: 999px;
    padding: 10px 20px;
    background-color: #3A86FF;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}
.sign-in-btn:hover {
    background-color: rgba(55, 125, 237, 0.4);
    transform: scale(1.03);
}

.tweet-badge-btn{
  color:#3A86FF; 
  text-decoration: none;
  margin-right:20px;
}

.close-btn {
    border-radius: 10px;
    padding: 8px 16px;
    background: #555;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.close-btn:hover {
    background: #777;
    transform: scale(1.05);
}

.badge-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#badgeScroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  max-width: 100%;
  -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

#badgeScroll::-webkit-scrollbar {
    display: none;             /* Chrome, Safari and Opera */
}

#badgeEarnedTitle{
    display:none;
}
.badgeItem{
    padding: 20px;
    background: #161B22;
    border-radius: 12px;
    border:1px solid #30363d;
    color: #fff;
    flex: 0 0 auto;
    min-width: 220px;
    max-width:300px;
    transition: transform .1s ease;
}

.badgeItem:hover{
  transform: translateY(-2px);
}

.earned{
  border-color:#3A86FF;
}

.locked{
  opacity:.55; filter: grayscale(1);
}

.scroll-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
}

.scroll-btn.left {
  position: absolute;
  left: 0;
  display:none;
}

.scroll-btn.right {
  position: absolute;
  right: 0;
  display:none;
}


