/* Theme adaptation for dark site */
.bg-light {
  background: linear-gradient(135deg, var(--dark-alt) 0%, var(--dark) 100%) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  background: var(--dark-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.table {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: var(--dark-alt);
  border-bottom: 2px solid var(--primary);
}

.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tournament-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.prize-pool {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leaderboard-position {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  margin-right: 1rem;
}

.position-1 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.position-2 { background: linear-gradient(135deg, #C0C0C0, #808080); }
.position-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); }

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--dark-alt);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 1rem);
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child::after {
  display: none;
}

.game-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.875rem;
  margin: 0.25rem;
}