.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 4px;
}
.casino-grid *, .casino-grid *::before, .casino-grid *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.cg-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #1a1d2e;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30,34,60,0.07);
}
.cg-card:hover {
  transform: translateY(-4px);
  border-color: #d0d3e0;
  box-shadow: 0 10px 30px rgba(30,34,60,0.12);
}
.cg-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.cg-logo-wrap {
  width: 100%;
  background: #f7f8fb;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cg-logo {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cg-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cg-logo-ph {
  font-size: 40px;
  font-weight: 800;
  color: #bfc3d6;
}
.cg-body {
  padding: 18px 20px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cg-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #e63946;
}
.cg-bonus {
  background: #f3f4f8;
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #1a1d2e;
}
.cg-rating {
  background: #f3f4f8;
  border-radius: 10px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1d2e;
}
.cg-rating-star {
  font-size: 20px;
  color: #f5c518;
}
.cg-rating-max {
  font-size: 14px;
  font-weight: 500;
  color: #6b7094;
}
.cg-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #e63946;
  pointer-events: none;
  transition: background 0.2s;
  margin-top: 2px;
}
.cg-card:hover .cg-btn {
  background: #d12d3a;
}
@media (max-width: 620px) {
  .casino-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
