/* ============================================================
   BOT SHOWCASE SECTION
   ============================================================ */
.bots-showcase {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.bots-showcase__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.bots-showcase__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.bots-showcase__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Category filter tabs */
.bots-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.bots-tab {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  font-family: var(--font-body);
  white-space: nowrap;
}

.bots-tab:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.bots-tab.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35);
}

/* Bot grid */
.bots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Hidden bot items (filtered out) */
.bot-item.hidden {
  display: none;
}

.bot-item {
  padding: 28px 24px;
  position: relative;
  cursor: default;
}

.bot-item__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
}

.bot-item__avatar::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.bot-item:hover .bot-item__avatar::after {
  opacity: 0.5;
}

.bot-item__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bot-item__role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.bot-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* "And 490 more..." teaser */
.bots-showcase__more {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.bots-showcase__more-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.bots-showcase__more-text .count {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 1024px) {
  .bots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .bots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bots-grid {
    grid-template-columns: 1fr;
  }
}
