/* Buy Bots Page Styles */
.bots-store {
  padding: 2rem 0;
}

.balance-section {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.balance-card {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.balance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.balance-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.balance-info h3 {
  color: #8b5cf6;
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.balance-currency {
  color: #94a3b8;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.bots-section {
  margin: 3rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 25px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  border-color: #8b5cf6;
}

.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.bot-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.bot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #7c3aed, #6d28d9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bot-card:hover::before {
  opacity: 1;
}

.bot-card:hover {
  transform: translateY(-10px);
  border-color: #8b5cf6;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.bot-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bot-image svg {
  width: 64px;
  height: 64px;
  stroke: #8b5cf6;
}

.bot-title {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.bot-description {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bot-features {
  margin-bottom: 1.5rem;
}

.bot-features h4 {
  color: #8b5cf6;
  font-size: 1rem;
  margin: 0 0 0.75rem 0;
}

.bot-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bot-features li {
  color: #94a3b8;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bot-features li i {
  color: #10b981;
  font-size: 0.8rem;
}

.bot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bot-tag {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.bot-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.bot-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fbbf24;
  font-weight: 600;
  font-size: 1.1rem;
}

.bot-price i {
  color: #fbbf24;
}

.buy-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.buy-btn:disabled {
  background: #374151;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  margin: 10% auto;
  padding: 0;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  background: rgba(139, 92, 246, 0.1);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
}

.close-modal {
  color: #94a3b8;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #8b5cf6;
}

.modal-body {
  padding: 2rem;
}

.purchase-info {
  margin-bottom: 2rem;
}

.purchase-info h3 {
  color: #8b5cf6;
  margin: 0 0 1rem 0;
}

.purchase-info p {
  color: #94a3b8;
  margin: 0 0 1rem 0;
}

.price-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fbbf24;
  font-weight: 600;
  font-size: 1.2rem;
}

.balance-check {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
}

.current-balance,
.after-purchase {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.current-balance:last-child,
.after-purchase:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  background: #374151;
  color: #94a3b8;
}

.btn-secondary:hover {
  background: #4b5563;
  color: #fff;
}

/* Login Section Styles */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem 0;
}

.login-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-header {
  margin-bottom: 2rem;
}

.discord-logo {
  margin-bottom: 1rem;
}

.login-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.8rem;
}

.login-card p {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.discord-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #5865f2;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-login-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .balance-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bots-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bot-card {
    padding: 1.5rem;
  }

  .bot-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-footer {
    flex-direction: column;
  }

  .login-card {
    padding: 2rem;
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .balance-amount {
    font-size: 2rem;
  }

  .bot-title {
    font-size: 1.3rem;
  }

  .filter-buttons {
    justify-content: center;
  }
}
