body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* background: linear-gradient(
    135deg,
    #000000 0%,
    #1a1a2e 25%,
    #0f3460 50%,
    #16213e 75%,
    #000000 100%
  ); */
  background: white;
}

.selector-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown-container {
  display: flex;
  align-items: center;     
  justify-content: center; 
  gap: 20px;               
  position: relative;      
}

.menu,
.social-lists {
  width: 300px; 
  box-sizing: border-box;
}

.menu {
  background: lightgrey;
  opacity: 0.95;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  cursor: pointer;
  margin-bottom: 0; 
  user-select: none;
}

.menu .fas {
  transition: transform 0.25s ease;
}

.menu p {
  margin: 0 10px;
  display: flex;
  align-items: center;
  color: #111;
}

.rotate .fas {
  transform: rotate(180deg);
}

.social-lists {
  position: absolute;      
  top: calc(100% + 8px);   
  left: 0;                 
  margin: 0;               
  padding: 10px;
  z-index: 100;            
  background: lightgray;
  opacity: 0.98;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, opacity 0.18s ease;
  transform-origin: top center;
}

.social-lists li {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: padding 0.15s linear, background 0.12s ease;
}

.social-lists li + li {
  margin-top: 6px;
}

.social-lists li:hover {
  background: darkgray;
  padding-left: 14px;
}

.social-lists li .fab {
  margin: 0 10px;
  font-size: 20px;
}

.hide {
  display: none !important;
}

#goBtn {
  padding: 12px 28px;
  margin-top: 0;
  height: 40px;
  margin-bottom: 0;
  vertical-align: middle;
  font-size: 18px;
  font-weight: bold;
  border: none;
  background: #1da1f2; 
  color: white;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.35s cubic-bezier(.2,.9,.2,1),
    transform 0.28s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.28s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

#goBtn:hover:enabled {
  background: #0d8de1; 
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 26px rgba(29, 161, 242, 0.28);
}

#goBtn:disabled {
  background: #888; 
  color: #ddd;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.95;
}

#goBtn:focus {
  outline: 3px solid rgba(29,161,242,0.18);
  outline-offset: 4px;
}

.loading-screen {
  text-align: center;
  width: 400px;
  color: black;
}

.container {
  position: relative;
}

.counter {
  font-size: 40px;
  margin: 20px 0;
}

.loading-bar-back {
  position: absolute;
  height: 8px;
  background-color: lightgray;
  width: 100%;
  border-radius: 5px;
  border: none;
  top: 100px;
  left: 0;
}

.loading-bar-front {
  position: absolute;
  height: 8px;
  background-color: #1da1f2;
  width: 0%;
  border-radius: 5px;
  border: none;
  top: 100px;
  left: 0;
}

@media (max-width: 420px) {
  .menu,
  .social-lists {
    width: 220px;
  }

  #goBtn {
    padding: 10px 18px;
    font-size: 16px;
    height: 36px;
  }
}
