/* Игры: кнопки, сетка, карточки (public/arena) */

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  white-space: nowrap;
  color: #0b0b15;
  min-height: 48px;
  min-width: 120px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  max-width: 100%;
  text-decoration: none;
}

.vs-btn--primary {
  background: linear-gradient(135deg, #ff3055, #ff4b8a);
  box-shadow: 0 0 18px rgba(255, 64, 129, 0.65), 0 10px 30px rgba(255, 64, 129, 0.28);
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.vs-btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.vs-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-main, #f5f6ff);
}

.vs-btn--ghost:hover {
  border-color: #4aa8ff;
  box-shadow: 0 0 12px rgba(74, 168, 255, 0.6);
}

.vs-grid {
  display: grid;
  gap: 16px;
}

.vs-grid--games {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .vs-grid--games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vs-hero--games {
  padding: 72px 0 36px;
}

.vs-game-card {
  background: radial-gradient(circle at top left, rgba(16, 16, 40, 0.98), rgba(5, 5, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-strong, 0 18px 46px rgba(0, 0, 0, 0.65));
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
  display: flex;
  flex-direction: column;
}

.vs-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.vs-game-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.vs-game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.vs-game-card:hover .vs-game-card__img {
  transform: scale(1.05);
}

.vs-game-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(5, 5, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  color: #aeb5ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-game-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vs-game-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  color: #fff;
}

.vs-game-card__description {
  margin: 0 0 16px;
  color: var(--text-soft, #c7cbff);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.vs-game-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vs-game-card__spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vs-game-card__spec-label {
  font-size: 11px;
  color: #aeb5ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-game-card__spec-value {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.vs-game-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vs-game-card__actions .vs-btn {
  flex: 1;
  min-width: 120px;
}

.page-games .vs-game-card {
  opacity: 1 !important;
  transform: none !important;
}
