@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  background-color: #000;
  background-image:
    radial-gradient(#ff00ff 1px, transparent 1px),
    radial-gradient(#fff200 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  animation: starsMove 20s linear infinite;
  font-family: 'Poppins', sans-serif;
  color: white;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes starsMove {
  100% {
    background-position: 500px 500px, 525px 525px;
  }
}

.theme-btn {
  background: linear-gradient(45deg, #ff00ff, #fff200);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 100px;
  padding: 10px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.swap-tool {
  background: linear-gradient(83.55deg, #8a2be2 14.95%, #1da1f2 84.15%);
  border-radius: 20px;
  color: white;
  text-align: left;
}

.swap-container {
  max-width: 450px;
  width: 100%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.swap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px dotted #fff;
  position: relative;
}

.swap-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.swap-header p {
  font-size: 14px;
  margin: 0;
}

.swap-input-main {
  background: #222252;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  position: relative;
}

.swap-input-main h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}

.swap-input-main .swap-balance {
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.swap-input-main span {
  font-size: 26px;
}

.swap-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  width: 100%;
  padding-right: 110px;
  outline: none;
}

.swap-icon {
  background: linear-gradient(45deg, #ff00ff, #fff200);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  cursor: pointer;
  font-size: 19px;
}

.swap-btn {
  margin-top: 20px;
  text-align: center;
}

.alert-box {
  background: linear-gradient(-83.55deg, #8a2be2 14.95%, #1da1f2 84.15%);
  border-radius: 20px;
  box-shadow: 0 0 1rem 0 #0003;
  padding: 10px;
  margin: 10px 0;
  color: white;
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  font-weight: 600;
  background: linear-gradient(90deg, #ff00ff, #fff200);
  color: #000;
}

.footer a {
  color: #000;
  text-decoration: none;
  position: relative;
  padding: 0 10px;
}

.footer a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -10px;
  color: #000;
}

@media (max-width: 576px) {
  body {
    padding: 0 10px;
  }
  .swap-container {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}

.app-logo {
  display: block;
  margin: 0 auto;
}


