/* CARDS SECTION */
.card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1.5rem;

  /* dark background + brighter green glow */
  background: var(--color-dark-card-bg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;

  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* CARD NUMBER */
.card__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-heading-green);
  text-shadow: 0 2px 4px rgba(126, 211, 33, 0.3);
  min-width: 60px;
  text-align: center;
}

/* IMAGE */
.card__img {
  width: 200px;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card__img:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.card__content {
  color: #eee;
  font-family: var(--font-base);
  line-height: var(--line-height);
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-heading-green);
  margin-bottom: 0.5rem;
}
.card__desc {
  font-size: var(--fs-base);
  margin-bottom: 1rem;
  max-width: 500px;
}
.card__rating {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}
.card__rating .star {
  color: var(--color-green-button);
  font-size: 1.25rem;
  margin-right: 0.1rem;
}
.card__score {
  margin-left: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.card__bonus-highlight {
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* ACTIONS */
.card__actions {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* PAYMENTS */
.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0.75rem;
}

.payment-image {
  height: 20px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.payment-image:hover {
  opacity: 1;
}

.more-info-icon {
  background-color: var(--color-heading-green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  padding: 0.25rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.more-info-icon:hover {
  background-color: var(--color-green-hover);
}

/* BUTTON */
.btn--primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-green-button);
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: var(--fs-md);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(126, 211, 33, 0.5);
  transition: background 0.2s ease;
  margin-bottom: 0.5rem;
}
.btn--primary:hover {
  background: var(--color-green-hover);
}

/* LANGUAGES */
.card__languages {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.card__languages span {
  background-color: rgba(126, 211, 33, 0.2);
  border: 1px solid var(--color-heading-green);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-heading-green);
  font-weight: bold;
  transition: all 0.2s ease;
}

.card__languages span:hover {
  background-color: var(--color-heading-green);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-content: center;
  }
  
  .card__number {
    order: -1;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .card__img {
    margin: auto;
  }
  
  .card__actions {
    align-items: center;
    text-align: center;
  }
  
  .card__actions .btn--primary {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .payments {
    justify-content: center;
  }
  
  .card__languages {
    justify-content: center;
  }
}