/* Modernisierte Bot Liste mit animiertem Design */
.bot-list {
  list-style-type: none;
  padding: 0;
  max-width: 960px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.bot-list li {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: clamp(18px, 4vw, 24px);
  border-radius: 16px;
  color: #f8fafc;
  font-size: clamp(1rem, 3vw, 1.1rem);
  word-break: break-word;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease-out;
}

.bot-list li::before {
  content: '🤖';
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 1.5rem;
  opacity: 0.15;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.bot-list li:hover::before {
  transform: scale(1.1) rotate(10deg);
  opacity: 0.5;
}

.bot-list li:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #1e1e3f 0%, #1a2555 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.bot-list .bot-id {
  color: #64b5f6;
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  display: inline-block;
  padding: 4px 12px;
  background: rgba(100, 181, 246, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(100, 181, 246, 0.2);
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(100, 181, 246, 0.2);
  transition: all 0.3s ease;
}

.bot-list li:hover .bot-id {
  color: #90caf9;
  background: rgba(144, 202, 249, 0.15);
  border-color: rgba(144, 202, 249, 0.3);
  box-shadow: 0 0 15px rgba(144, 202, 249, 0.4);
}

/* Glassmorphismus für moderne Browser */
@supports (backdrop-filter: blur(10px)) {
  .bot-list li {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
  }

  .bot-list li:hover {
    background: rgba(30, 30, 63, 0.85);
    backdrop-filter: blur(16px) saturate(200%);
  }
}

/* Animationen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .bot-list {
    margin: 0 12px;
    gap: 12px;
  }

  .bot-list li {
    padding: 16px;
    border-radius: 12px;
  }

  .bot-list .bot-id {
    display: block;
    text-align: center;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .bot-list {
    max-width: 750px;
    gap: 16px;
  }

  .bot-list li {
    padding: 18px;
  }
}

/* Touch Optimierung */
@media (hover: none) and (pointer: coarse) {
  .bot-list li {
    cursor: pointer;
    transform: none;
  }

  .bot-list li:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #1e1e3f 0%, #1a2555 100%);
  }

  .bot-list li::before {
    opacity: 0.3;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .bot-list li {
    border: 2px solid #ffffff;
    background: #000000;
    color: #ffffff;
  }

  .bot-list .bot-id {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
  }
}

/* Weniger Bewegung für Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .bot-list li {
    animation: none;
    transition: none;
  }

  .bot-list li::before {
    animation: none;
  }

  .bot-list li:hover {
    transform: none;
  }
}

/* Light Mode */
@media (prefers-color-scheme: light) {
  .bot-list li {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1a202c;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }

  .bot-list li:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-color: rgba(0, 0, 0, 0.2);
  }

  .bot-list .bot-id {
    color: #2b6cb0;
    background: rgba(43, 108, 176, 0.1);
    border-color: rgba(43, 108, 176, 0.2);
  }
}
