.vips__cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1400px) {
  .vips__cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .vips__cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 896px) {
  .vips__cards-wrapper {
    grid-template-columns: 1fr;
  }
}

.vips__card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background-color: var(--input-form);
  width: 100%;
  transition: all 0.25s;
  border: 1px solid var(--transparent-3-w);
  position: relative;
  overflow: hidden;
}

.vips__card:hover {
  transform: translateY(-2px);
  border-color: var(--transparent-5-w);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vips__card video,
.vips__card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .3;
  width: 100%;
}

.vips__card:before {
  content: '';
  position: absolute;
  background-image: linear-gradient(0deg, var(--card), transparent);
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.vips__head {
  gap: 0.65rem;
  display: flex;
  z-index: 4;
  padding-bottom: 0.4rem;
}

.vips__avatar {
  height: 56px;
  width: 56px !important;
  border-radius: 0.6rem;
  position: unset !important;
  inset: unset !important;
  opacity: 1 !important;
}

.vips__name {
  font-size: var(--font-size-default);
  font-weight: var(--font-weight-6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-default);
}

.vips__divider {
  width: 100%;
  height: 1px;
  background-color: var(--transparent-5-w);
  margin: 0.4rem 0;
  z-index: 4;
}

.vips__group-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 0;
  z-index: 4;
}

.vips__group-label {
  font-size: var(--font-size-xs);
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  opacity: 0.8;
}

.vips__group-badge {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-default);
  color: var(--span);
  background-color: var(--transparent-3-w);
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  display: inline-block;
  width: fit-content;
}

.vips__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.4rem 0;
  z-index: 4;
}

@media (max-width: 480px) {
  .vips__meta-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.vips__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vips__meta-label {
  font-size: var(--font-size-xs);
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  opacity: 0.8;
}

.vips__meta-value {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-6);
  font-size: var(--font-size-s);
  color: var(--text-default);
  white-space: nowrap;
}

.vips__meta-value.vip-highlight {
  color: var(--span);
  font-weight: var(--font-weight-6);
}

.vips__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 0.25rem 0;
  z-index: 4;
}

.vips__secondary-label {
  font-size: var(--font-size-xs);
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  opacity: 0.7;
}

.vips__secondary-value {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-5);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  opacity: 0.7;
  white-space: nowrap;
}

.vips__bottom {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 4;
  flex-direction: column;
}

.vips__details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.vips__detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vips__title {
  margin-block: 0;
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  font-size: var(--font-size-xs);
  opacity: 0.8;
}

.vips__group {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-default);
  color: var(--span);
  white-space: nowrap;
  background-color: var(--transparent-3-w);
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  display: inline-block;
  width: fit-content;
}

.vips__time {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-6);
  font-size: var(--font-size-s);
  color: var(--text-default);
  white-space: nowrap;
  transition: all 0.25s;
}

.vips__time-remaining {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-6);
  font-size: var(--font-size-s);
  color: var(--span);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.vips__lastvisit {
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-5);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.7;
}

.vips__user-data {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.vips__steam {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: var(--transparent-3-w);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--transparent-5-w);
  color: var(--text-custom);
  border-radius: 0.4rem;
  font-size: var(--font-size-xs);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.25s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.vips__steam svg {
  height: 14px;
  width: 14px;
  fill: currentColor;
  margin-left: auto;
}

.vips__steam:hover {
  border-color: var(--transparent-20-w);
  color: var(--text-default);
}

.vip-status-active {
  color: var(--span);
}

.vip-status-expired {
  color: #dc3545;
}

.vip-status-unlimited {
  color: var(--span);
  font-weight: var(--font-weight-7);
}

.filter_vips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.havent_info {
  display: flex;
  font-family: var(--font-family-1);
  font-size: var(--font-size-xxxl);
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  opacity: 0.3;
  justify-content: center;
  padding: 2rem 0;
}

.pagination {
  margin-bottom: 0;
}

/* Уведомление об истекающей привилегии */
.vip-expiring-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.vip-expiring-notification__content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.05) 100%);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vip-expiring-notification__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #dc3545;
  margin-top: 2px;
}

.vip-expiring-notification__icon svg {
  width: 100%;
  height: 100%;
}

.vip-expiring-notification__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.vip-expiring-notification__title {
  font-size: var(--font-size-default);
  font-weight: var(--font-weight-7);
  color: var(--text-default);
  line-height: 1.3;
}

.vip-expiring-notification__message {
  font-size: var(--font-size-s);
  color: var(--text-secondary);
  line-height: 1.4;
}

.vip-expiring-notification__time {
  font-size: var(--font-size-xs);
  color: #dc3545;
  font-weight: var(--font-weight-6);
  font-variant-numeric: tabular-nums;
}

.vip-expiring-notification__button {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background-color: #dc3545;
  color: #ffffff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-6);
  transition: all 0.25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vip-expiring-notification__button:hover {
  background-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.vip-expiring-notification__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-expiring-notification__close:hover {
  color: var(--text-default);
}

.vip-expiring-notification__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .vip-expiring-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .vip-expiring-notification__content {
    flex-wrap: wrap;
  }
  
  .vip-expiring-notification__button {
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .vip-expiring-notification__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

