/* Theme adaptation for dark site */
.bg-light {
  background-color: var(--dark-surface) !important;
  color: var(--text-primary) !important;
}

.card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

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

.table-dark {
  --bs-table-bg: var(--dark-surface);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: var(--dark-surface);
  border-bottom: 2px solid var(--electric-teal);
}

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

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.sports-category {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--dark-surface);
  margin-bottom: 1rem;
  border-left: 3px solid var(--electric-teal);
}

.odd-box {
  background: var(--gradient-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin: 0.25rem;
}

.row .col-md-6 .card,
.row .col-md-4 .card {
  width: 100%;
  height: auto;
  min-height: auto;
}

h1 {
  font-size: 2.45rem;
  margin-top: 2rem;
}

h2 {
  font-size: 1.73rem;
}

@media (max-width: 767px) {
  section.container {
    padding-top: 7rem !important;
  }

  h1 {
    margin-top: 4rem;
  }
}