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

.bg-dark {
  background: var(--color-card-bg) !important;
  color: var(--color-text) !important;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

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

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

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

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
}

.badge-primary {
  background: var(--gradient-primary);
}

.badge-accent {
  background: var(--gradient-accent);
}

.tournament-banner {
  background: var(--gradient-hero);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

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

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.leaderboard-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  font-weight: 700;
}

.tournament-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--color-dark-alt);
  margin-bottom: 0.5rem;
}