/* Table Wrapper */
.wins-table-wrapper {
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
}

.wins-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.wins-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  padding: 12px 14px;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
}

.wins-table tbody tr {
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  transition: background 0.15s;
}

.wins-table tbody tr:last-child {
  border-bottom: none;
}

.wins-table tbody tr:hover {
  background: rgba(51, 65, 85, 0.2);
}

.wins-table td {
  padding: 10px 14px;
  color: #cbd5e1;
  vertical-align: middle;
}

/* Rank */
.col-rank {
  width: 48px;
  text-align: center;
}

.rank-num {
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
}

.medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
}

.medal-1 {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #1e293b;
}

.medal-2 {
  background: linear-gradient(135deg, #c0c0c0, #94a3b8);
  color: #1e293b;
}

.medal-3 {
  background: linear-gradient(135deg, #cd7f32, #b45309);
  color: #fff;
}

/* Game */
.game-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #334155;
}

.game-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.game-title {
  color: #f8fafc;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.game-title:hover {
  color: #f59e0b;
  text-decoration: none;
}

.provider {
  color: #64748b;
  font-size: 11px;
}

/* Player */
.col-player {
  color: #94a3b8;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* Payout */
.col-payout {
  text-align: right;
  white-space: nowrap;
}

.payout-amount {
  color: #22c55e;
  font-weight: 700;
  font-size: 15px;
}

.payout-currency {
  color: #64748b;
  font-size: 11px;
  margin-left: 4px;
}

/* Multiplier */
.col-multiplier {
  text-align: center;
  width: 80px;
}

.mult-value {
  color: #f59e0b;
  font-weight: 700;
  font-size: 13px;
}

.mult-na {
  color: #475569;
}

/* Time */
.col-time {
  white-space: nowrap;
  color: #64748b;
  font-size: 12px;
}

/* Empty State */
.empty-message {
  text-align: center;
  color: #64748b;
  padding: 32px 16px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {
  .wins-table {
    font-size: 13px;
  }

  .wins-table thead th,
  .wins-table td {
    padding: 8px 10px;
  }

  .game-thumb {
    width: 32px;
    height: 32px;
  }

  .game-title {
    font-size: 13px;
  }

  .payout-amount {
    font-size: 14px;
  }

  .col-player {
    max-width: 100px;
  }

  .col-multiplier,
  th.col-multiplier {
    display: none;
  }
}

@media (max-width: 479px) {
  .wins-table thead th,
  .wins-table td {
    padding: 6px 8px;
  }

  .game-thumb {
    display: none;
  }

  .col-player {
    max-width: 80px;
    font-size: 12px;
  }

  .payout-amount {
    font-size: 13px;
  }

  .provider {
    display: none;
  }
}
