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

  /* dark background + brighter green glow */
  background: var(--color-dark-card-bg);
  border: 1px solid rgba(46, 204, 113, 0.4);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.6);
  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-yellow);
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
  min-width: 60px;
  text-align: center;
}

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

.card__img:hover {
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
  border-color: rgba(46, 204, 113, 0.5);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BONUS INFO */
.card__bonus-info {
  color: #eee;
  font-family: var(--font-base);
  line-height: var(--line-height);
}

.card__bonus-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-heading-yellow);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card__bonus-subtitle {
  font-size: var(--fs-base);
  color: var(--color-emerald-green);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card__legal-text {
  font-size: var(--fs-sm);
  color: #ccc;
  margin: 0;
}

/* RATING AND VOTES */
.card__rating-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card__rating .star {
  color: #ffd700; /* gold */
  font-size: 1.25rem;
  margin-right: 0.1rem;
}

.card__votes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.card__votes-count {
  color: #ccc;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.card__vote-button {
  background: none;
  border: none;
  color: var(--color-emerald-green);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.card__vote-button:hover {
  color: var(--color-emerald-green-hover);
  text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

.card__read-review {
  color: #4A90E2 !important;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.2s ease;
}

.card__read-review:hover {
  color: #357ABD !important;
  text-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

/* SCORE AND ACTIONS */
.card__score-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.card__score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-emerald-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.card__score-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-emerald-green);
}

/* BUTTON */
.btn--primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-yellow-button);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--fs-md);
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.5);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn--primary:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(46, 204, 113, 0.6);
}

.card__min-deposit {
  color: #ccc;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* FULL WIDTH TEXT */
.card__full-width-text {
  grid-column: 1 / -1;
  color: #fff;
  font-size: var(--fs-sm);
  line-height: 1.4;
  margin: 1rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(46, 204, 113, 0.2);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-content: center;
    gap: 1rem;
  }
  
  .card__number {
    order: -1;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .card__img {
    margin: auto;
    width: 150px;
    height: 150px;
  }
  
  .card__bonus-info {
    text-align: center;
  }
  
  .card__bonus-title {
    font-size: 1.5rem;
  }
  
  .card__rating-votes {
    align-items: center;
  }
  
  .card__score-actions {
    align-items: center;
  }
  
  .card__score-circle {
    width: 60px;
    height: 60px;
  }
  
  .card__score-value {
    font-size: 1.5rem;
  }
  
  .btn--primary {
    display: block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto 0.5rem auto;
  }
  
  .card__full-width-text {
    text-align: left;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1rem;
  }
  
  .card__bonus-title {
    font-size: 1.25rem;
  }
  
  .card__img {
    width: 120px;
    height: 120px;
  }
  
  .card__score-circle {
    width: 50px;
    height: 50px;
  }
  
  .card__score-value {
    font-size: 1.25rem;
  }
}