.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-dark {
  background-color: var(--dark-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

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

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

.table {
  color: var(--dark) !important;
  border-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff !important;
}

.table thead {
  background: var(--gradient-1) !important;
  border-bottom: 3px solid var(--primary);
}

.table thead th {
  color: var(--dark) !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.25rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-dark {
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: rgba(10, 77, 104, 0.1);
  --bs-table-border-color: var(--primary);
  background: #ffffff !important;
  color: var(--dark) !important;
}

.table tbody tr {
  border-color: var(--primary);
  transition: background-color 0.3s ease;
  color: var(--dark) !important;
}

.table tbody tr:hover {
  background-color: rgba(10, 77, 104, 0.15) !important;
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  color: var(--dark) !important;
}

.table tbody td strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.badge-category {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  background: var(--gradient-2);
  color: white;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.25rem;
}

.highlight-box {
  background: var(--gradient-3);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
}

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

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.table-responsive table {
  margin: 0;
  min-width: 100%;
}

@media (max-width: 768px) {
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .table-responsive::-webkit-scrollbar {
    height: 8px;
  }

  .table-responsive::-webkit-scrollbar-track {
    background: var(--light);
  }

  .table-responsive::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
  }

  .table {
    font-size: 0.9rem;
  }

  .table thead th,
  .table tbody td {
    padding: 10px 8px;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .table {
    font-size: 0.85rem;
  }

  .table thead th,
  .table tbody td {
    padding: 8px 6px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}