body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(90deg, #000000, #130518, #22072c, #480655, #22072c, #130518, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease-in-out infinite;
  margin: 0;
  font-size: 14px;
  overflow-x: hidden;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.wallet-support {
  padding: 1rem 0.5rem;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  margin: 4rem 0; 
  max-width: 100%;
  min-height: 100vh;
  box-shadow: none;
  border: none;
  overflow-y: auto;
  box-sizing: border-box;
}

.wallet-support-heading {
  text-align: center;
  font-size: 1.6rem; 
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  margin-top: 3rem;
  background: linear-gradient(135deg, #6395a1, #1648e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.wallet-support-text {
  text-align: center;
  width: 100%;
  color: #a1a1a6;
  font-size: 0.8rem; 
  font-weight: 300;
  padding: 0 0.5rem 0.8rem 0.5rem;
  line-height: 1.2;
  margin: 0 auto;
  margin-bottom: 1.0rem;
  max-width: 260px;
  letter-spacing: 0.01em;
}

.search-container {
  margin-bottom: 1.2rem;
  animation: fadeInDown 0.6s ease forwards;
  padding: 0 0.5rem;
}

.search-box {
  position: relative;
  max-width: 260px;
  margin: 0 auto 0.8rem auto;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.search-input::placeholder {
  color: #a0aec0;
}

.search-input:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  transition: color 0.3s ease;
  pointer-events: none;
  font-size: 0.8rem;
}

.search-input:focus + .search-icon {
  color: #c084fc;
}

.clear-search-btn {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.clear-search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
  gap: 0.6rem;
  padding: 0.5rem;
  min-height: 200px;
  transition: all 0.3s ease;
  align-items: start;
  justify-content: center;
  grid-auto-rows: 80px;
}

.item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  width: 80px;
  height: 80px;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

.item a {
  text-decoration: none;
}

.item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.item:hover::before {
  left: 100%;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.item.hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.item.visible {
  display: flex !important;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 80px;
  height: 80px;
  min-width: 80px;
  max-width: 80px;
  min-height: 80px;
  max-height: 80px;
  flex-shrink: 0;
  flex-grow: 0;
}

.logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  margin: 0 auto 0.3rem auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.item:hover .logo {
  transform: scale(1.1);
}

.logo-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

/* Footer Styles */
footer {
  background: transparent;
  backdrop-filter: none;
  border-top: none;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .wallet-support {
    padding: 2rem 1rem;
    margin: 4rem auto; 
    border-radius: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .wallet-support-heading {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  
  .wallet-support-text {
    font-size: 0.9rem;
    padding-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.3;
    font-weight: 200;
    letter-spacing: 0.005em;
  }
  
  .search-container {
    margin-bottom: 2rem;
  }
  
  .search-box {
    max-width: 350px;
    margin: 0 auto 1rem auto;
  }
  
  .search-input {
    padding: 0.7rem 1rem 0.7rem 2.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  
  .search-icon {
    left: 0.7rem;
    font-size: 0.9rem;
  }
  
  .clear-search-btn {
    right: 0.7rem;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
  }
  
  .item-list {
    grid-template-columns: repeat(auto-fill, minmax(100px, 100px));
    gap: 0.8rem;
    padding: 1rem;
    grid-auto-rows: 100px;
  }
  
  .item {
    width: 100px;
    height: 100px;
    min-width: 100px;
    max-width: 100px;
    min-height: 100px;
    max-height: 100px;
    padding: 0.7rem;
  }
  
  .item.visible {
    width: 100px;
    height: 100px;
    min-width: 100px;
    max-width: 100px;
    min-height: 100px;
    max-height: 100px;
  }
  
  .logo {
    width: 35px;
    height: 35px;
    margin: 0 auto 0.4rem auto;
  }
  
  .logo-title {
    font-size: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .wallet-support {
    padding: 3rem 2rem;
    margin: 4rem auto; 
    border-radius: 0;
    max-width: 1200px;
  }
  
  .wallet-support-heading {
    font-size: 2.3rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  
  .wallet-support-text {
    font-size: 1rem;
    max-width: 580px;
    line-height: 1.4;
    font-weight: 200;
    letter-spacing: 0.005em;
  }
  
  .search-box {
    max-width: 400px;
  }
  
  .search-input {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  
  .search-icon {
    left: 0.8rem;
    font-size: 1rem;
  }
  
  .clear-search-btn {
    right: 0.8rem;
    font-size: 1rem;
    width: 22px;
    height: 22px;
  }
  
  .item-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
    gap: 1rem;
    padding: 1.5rem;
    grid-auto-rows: 100px;
  }
  
  .item {
    width: 120px;
    height: 100px;
    min-width: 120px;
    max-width: 120px;
    min-height: 100px;
    max-height: 100px;
    padding: 0.8rem;
  }
  
  .item.visible {
    width: 120px;
    height: 100px;
    min-width: 120px;
    max-width: 120px;
    min-height: 100px;
    max-height: 100px;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem auto;
  }
  
  .logo-title {
    font-size: 0.75rem;
  }
}

@media (min-width: 1440px) {
  .wallet-support {
    max-width: 1400px;
    margin: 4rem auto; 
  }
  
  .wallet-support-heading {
    font-size: 2.6rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  
  .wallet-support-text {
    font-size: 1.1rem;
    max-width: 680px;
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 0.005em;
  }
  
  .search-box {
    max-width: 450px;
  }
  
  .search-input {
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    font-size: 1rem;
    border-radius: 14px;
  }
  
  .search-icon {
    left: 0.9rem;
    font-size: 1.1rem;
  }
  
  .clear-search-btn {
    right: 0.9rem;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
  }
  
  .item-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 130px));
    gap: 1.2rem;
  }
  
  .item {
    width: 130px;
    height: 110px;
    min-width: 130px;
    max-width: 130px;
    min-height: 110px;
    max-height: 110px;
  }
  
  .item.visible {
    width: 130px;
    height: 110px;
    min-width: 130px;
    max-width: 130px;
    min-height: 110px;
    max-height: 110px;
  }
  
  .logo {
    width: 45px;
    height: 45px;
    margin: 0 auto 0.5rem auto;
  }
  
  .logo-title {
    font-size: 0.8rem;
  }
}

.item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
