/* Сетка карточек */
.casblock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Карточка казино */
.cascard {
  background-color: #1b1d2b;
  border-radius: 16px;
  border: 2px solid transparent;
  padding: 20px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Анимация тряски при наведении */
.cascard:hover {
  border-color: rgba(0, 255, 0, 0.2);
  animation: shake 0.3s;
}

/* Логотип казино */
.casino-logo {
  width: 300px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Разделительная линия */
.cascard hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

/* Название казино */
.cascard h3 {
  color: #fff;
  margin: 10px 0;
  font-size: 1.2rem;
}

/* Ссылка "Перейти" */
.casino-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 25px;
  background-color: #28a745;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.casino-link:hover {
  background-color: #218838;
}

/* Анимация тряски */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
  .casino-logo {
    width: 100%;
    height: auto;
  }
}
