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

.tournament-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--glow-cyan);
}

.tournament-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.badge-live {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  animation: pulse 2s infinite;
}

.badge-upcoming {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.badge-daily {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid #ffd700;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.prize-pool {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leaderboard-table {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
}

.table {
  color: var(--text-light);
  margin-bottom: 0;
}

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

.table thead th {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 1rem;
  border: none;
}

.table tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

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

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
}

.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #000;
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #e8a87c);
  color: #000;
}

.rank-other {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.feature-box {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
}

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

.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px var(--glow-cyan);
}

@media (max-width: 767px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .nav-menu a {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        width: 100%;
        padding-left: 0;
    }
}