/* ==========================================================================
   OFFERLIST 2 - STWARDNIENIESMROZSIANE.PL
   High-Conversion 10-Casino Grid/Row Layout
   ========================================================================== */

.aff-table-wrapper {
  margin: 1.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.aff-card-row {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 48px 120px 1.4fr 1.3fr 160px;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.aff-card-row:hover {
  transform: translateY(-2px);
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.aff-card-row.top-rank {
  border: 2px solid #2563eb;
  background: #fcfdfe;
}

/* Rank column */
.aff-rank-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  border: 1px solid #cbd5e1;
}

.aff-card-row.top-rank .aff-rank-badge {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
}

/* Logo column */
.aff-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  height: 64px;
}

.aff-logo-img {
  max-height: 48px;
  max-width: 100px;
  object-fit: contain;
}

/* Bonus info column */
.aff-bonus-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aff-casino-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.aff-bonus-text {
  font-size: 1rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.3;
}

.aff-rating-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
}

/* Features column */
.aff-specs-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: #475569;
}

.aff-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aff-spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

/* CTA column */
.aff-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.aff-play-btn {
  background: #ea580c;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.aff-play-btn:hover {
  background: #c2410c;
  transform: translateY(-1px);
}

.aff-review-anchor {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.15s ease;
}

.aff-review-anchor:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .aff-card-row {
    grid-template-columns: 44px 100px 1fr 1fr;
    gap: 1rem;
  }
  .aff-action-wrap {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .aff-play-btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .aff-card-row {
    grid-template-columns: 36px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
  .aff-rank-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .aff-logo-wrapper {
    justify-self: flex-start;
  }
  .aff-bonus-info {
    grid-column: 1 / -1;
  }
  .aff-specs-info {
    grid-column: 1 / -1;
  }
  .aff-action-wrap {
    grid-column: 1 / -1;
  }
}
