.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 30px 0;
}
.cards__nav {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 1.5fr 0.5fr 0.5fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards__nav li {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}
.cards .card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid #6ec1e4;
  border-radius: 20px;
  padding: 1rem;
  background-color: #111;
  position: relative;
  overflow: hidden;
}
.cards .card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 35px;
  height: 35px;
  border-bottom-right-radius: 20px;
  background-color: #6ec1e4;
  color: #000;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cards .card__header {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1.5fr 0.5fr 0.5fr;
  gap: 1rem;
}
.cards .card__img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  border-right: 1px solid #2b2b2b;
}
.cards .card__img picture {
  background-color: #262626;
  width: 120px;
  height: 120px;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}
.cards .card__img picture img {
  width: 100%;
  height: auto;
}
.cards .card__img a {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.cards .card__img a:hover {
  color: #6ec1e4;
  text-decoration: underline;
}
.cards .card__bonus {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-right: 1rem;
  font-size: 30px;
  font-weight: 600;
  border-right: 1px solid #2b2b2b;
}
.cards .card__rate {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}
.cards .card__play {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.cards .card__play .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 15px;
  background-color: #6ec1e4;
  border: 1px solid transparent;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
  font-weight: 600;
  width: 100%;
}
.cards .card__play .btn:hover {
  background-color: transparent;
  border: 1px solid #6ec1e4;
  color: #6ec1e4;
}
.cards .card__footer {
  font-size: 14px;
  font-weight: 300;
  color: #575757;
}
.cards .card:nth-of-type(1)::before {
  content: '1';
}
.cards .card:nth-of-type(2)::before {
  content: '2';
}
.cards .card:nth-of-type(3)::before {
  content: '3';
}
.cards .card:nth-of-type(4)::before {
  content: '4';
}
.cards .card:nth-of-type(5)::before {
  content: '5';
}
.cards .card:nth-of-type(6)::before {
  content: '6';
}
.cards .card:nth-of-type(7)::before {
  content: '7';
}
.cards .card:nth-of-type(8)::before {
  content: '8';
}
.cards .card:nth-of-type(9)::before {
  content: '9';
}
.cards .card:nth-of-type(10)::before {
  content: '10';
}
.cards .card:nth-of-type(11)::before {
  content: '11';
}
.cards .card:nth-of-type(12)::before {
  content: '12';
}
.cards .card:nth-of-type(13)::before {
  content: '13';
}
.cards .card:nth-of-type(14)::before {
  content: '14';
}
.cards .card:nth-of-type(15)::before {
  content: '15';
}
.cards .card:nth-of-type(16)::before {
  content: '16';
}
.cards .card:nth-of-type(17)::before {
  content: '17';
}
.cards .card:nth-of-type(18)::before {
  content: '18';
}
.cards .card:nth-of-type(19)::before {
  content: '19';
}
.cards .card:nth-of-type(20)::before {
  content: '20';
}

@media (max-width: 767px) {
  .cards__nav {
    display: none;
  }
  .cards .card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cards .card__img {
    border-right: none;
    flex-direction: column;
  }
  .cards .card__bonus {
    font-size: 26px;
    border-right: none;
    border-bottom: 1px solid #6ec1e4;
  }
}
