/* 1) Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2) Фон */
body {
  font-family: sans-serif;
  background: url('../images/fon.png') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3) Контейнер */
.container {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  max-width: 100vw;
}

/* 4) Кнопка-заголовок */
.btn-select {
  background: #c00;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
  white-space: normal;
  line-height: 1.3;
}

/* 5) Подсказка про скролл */
.scroll-hint {
  color: #fff;
  opacity: 0.8;
  font-size: 0.9rem;
  text-align: right;
  margin-bottom: 8px;
}

/* 6) Сетка карточек */
.servers {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 7) Карточки */
.server-card {
  display: block;
  width: 260px;
  transition: transform 0.2s;
}
.server-card img {
  display: block;
  width: 100%;
  height: auto;
}
.server-card:hover {
  transform: translateY(-5px);
}

/* 8) Планшеты */
@media (max-width: 900px) {
  .servers {
    gap: 10px;
  }
  .server-card {
    width: 45%;
  }
}

/* 9) Мобильный: горизонтальный скролл */
@media (max-width: 600px) {
  .scroll-hint {
    /* немного увеличим шрифт на мобильных */
    font-size: 1rem;
  }
  .servers {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
  }
  .server-card {
    flex: 0 0 auto;
    min-width: 260px;
    margin-right: 16px;
  }
  .server-card:last-child {
    margin-right: 0;
  }
}