.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1.8px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

/* Чистый крестик через псевдоэлементы */
.close-btn::before,
.close-btn::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 1.6px;
  background: #333;
  border-radius: 1px;
  transition: all 0.28s ease;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}

/* Ховер — прозрачная обводка + чёрный крестик */
.close-btn:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.04);
  transform: scale(1.06);
}

.close-btn:hover::before,
.close-btn:hover::after {
  background: #000;
  width: 17px;
}

/* Нажатие */
.close-btn:active {
  transform: scale(0.94);
  background: rgba(0, 0, 0, 0.08);
}

/* Мобильные */
@media (max-width: 480px) {
  .close-btn {
    width: 34px;
    height: 34px;
    top: 14px;
    right: 14px;
  }
  .close-btn::before,
  .close-btn::after {
    width: 15px;
  }
}