/* Wallet page styles */
.wallet-section {
  min-height: 100vh;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-top: 6rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  position: relative;
}

.wallet-logo::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  animation: logoGlow 2s infinite alternate;
}

.wallet-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.3);
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-text {
  color: var(--gray-700);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.connect-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  /* width: 50%; */
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.connect-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.connect-btn:hover::before {
  opacity: 1;
}

.connect-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.connect-btn.connected {
  background: var(--success-color);
}

.connect-btn span {
  position: relative;
  z-index: 1;
}

.phantom-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.wallet-footer {
  margin-top: 2rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.wallet-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.wallet-footer a:hover {
  color: var(--secondary-color);
}

@keyframes logoGlow {
  0% {
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 40px rgba(153, 69, 255, 0.6);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.feature-text h4 {
  color: var(--gray-800);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.feature-text p {
  color: var(--gray-700);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}