/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Адаптация к теме сайта */
.bg-light {
  background: #f6f6f8 !important;
  color: var(--text) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-dark {
  background: #8863c4 !important;
  color: var(--text) !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.bg-dark:nth-child(2n) {
  background: #708dd5 !important;
}

.bg-dark:nth-child(3n) {
  background: #a867c3 !important;
}

.bg-dark:nth-child(4n) {
  background: #3a77e1 !important;
}

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

.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: #fd8b0f;
  border-bottom: 2px solid #fd8b0f;
  color: var(--text);
}

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

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

.vip-level-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.level-bronze { background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%); color: #fff; }
.level-silver { background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%); color: #000; }
.level-gold { background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%); color: #000; }
.level-platinum { background: linear-gradient(135deg, #E5E4E2 0%, #B9B8B5 100%); color: #000; }
.level-diamond { background: linear-gradient(135deg, #B9F2FF 0%, #00CED1 100%); color: #000; }

.benefit-icon {
  width: 60px;
  height: 60px;
  background: #fd8b0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-section {
  background: #fd8b0f;
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.progress-bar-custom {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: #fd8b0f;
  border-radius: 10px;
}