body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: #fff;
}

.page {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  color:#262626;
}

.subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color:#262626;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  max-width: 1280px;
  width: 100%;
  flex-wrap: wrap;
}

.item {
  width: 290px;
  background: #f1f3f5;
  border-radius: 16px;
  color: #262626;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
}

.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* картинка */
.item__img {
  margin: 20px auto 0;
  width: 140px;
  height: 140px;
}

.item__img_type_1 {
  background-image: url('./img/1.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_2 {
  background-image: url('./img/2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_3 {
  background-image: url('./img/3.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_4 {
  background-image: url('./img/4.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_5 {
  background-image: url('./img/5.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_6 {
  background-image: url('./img/6.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_7 {
  background-image: url('./img/7.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_8 {
  background-image: url('./img/8.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_9 {
  background-image: url('./img/9.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_10 {
  background-image: url('./img/10.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_11 {
  background-image: url('./img/11.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_12 {
  background-image: url('./img/12.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_13 {
  background-image: url('./img/13.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_14 {
  background-image: url('./img/14.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.item__img_type_15 {
  background-image: url('./img/15.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* тело карточки */
.item__body {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

/* тег */
.item__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #262626;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  padding: 4px 10px 4px 24px;
  border-radius: 8px;
  align-self: flex-start;
  user-select: none;
  pointer-events: none;
}
.item__tag::before {
  position: absolute;
  content: '';
  top: 5px;
  left: 5px;
  width: 12px;
  height: 12px; 
  background-image: url('./img/star.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* заголовок */
.item__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #262626;
  margin: 0;
  line-height: 1.3;
}

/* ссылка */
.item__link {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #262626;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background 0.25s ease;
}

.item__link:hover {
  background: #444;
}
