* {
  box-sizing: border-box;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  overflow: hidden;
  background-color: #000; /* Цвет для полос, если они появятся */
  font-family: "Montserrat", sans-serif;
  touch-action: manipulation;
}

.game-container {
  width: 100vw;
  height: 100dvh;
  display: flex;
  background-image: url("images/grill-bg.png");
  background-size: cover;
  background-position: center;
  color: white;

  container-type: inline-size;
  container-name: game;
}

body.proportional-mode {
  display: grid;
  place-items: center;
}

.proportional-mode .game-container {
  width: min(100vw, calc(100dvh * 3 / 2));
  height: min(100dvh, calc(100vw * 2 / 3));
}

.currency-icon {
  height: 1.1em; /* Задаем высоту, равную высоте строки текста (1.1em для запаса) */
  width: auto; /* Ширина подстроится автоматически */
  vertical-align: middle; /* Лучше выравнивает иконку по центру строки */
  display: inline-block; /* Помогает избежать странных отступов */
}

.click-zone {
  flex: 2;
  position: relative; /* Важно для позиционирования дочерних элементов */
  padding: 2cqw;
  /* background-color: rgba(0, 0, 0, 0.3); */
}
.top-bar {
  position: relative;
  width: 100%;
  height: 6cqw; /* Немного увеличим высоту для статистики */
}

.top-center-info {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.meat-counter {
  font-size: 3cqw; /* Увеличиваем размер шрифта (было 2.5cqw) */
  font-weight: 700; /* Более жирное начертание */
  display: flex;
  align-items: center;
  margin-bottom: 0.8cqw; /* Увеличиваем отступ снизу */
  text-shadow: 0 0 0.3cqw rgba(0, 0, 0, 0.9);
}
.meat-counter img {
  width: 3.5cqw;
  margin-right: 1cqw;
}
.stats {
  display: flex;
  flex-direction: column; /* Ставим элементы в столбик */
  align-items: center; /* Выравниваем по центру */
  gap: 0.5cqw; /* Вертикальный отступ между строками */

  font-size: 1.4cqw; /* Увеличиваем шрифт (было 1.2cqw) */
  font-weight: 700; /* Делаем жирным */
  opacity: 0.9;
}
.stats p {
  margin: 0;
}

#central-item-wrapper {
  position: relative;
  cursor: pointer;
  flex-grow: 1; /* Занимает все свободное пространство */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 6cqw 9cqw;
}
#central-item-wrapper.locked .item-lock-display {
  display: flex;
}

#grill-item-img {
  width: 18cqw; /* Картинка растягивается на весь wrapper */
  height: auto;
  flex-grow: 0;
  flex-shrink: 0;
  transition: transform 0.1s;
  position: relative;
  z-index: 1;
}

/* Анимация нажатия теперь применяется ТОЛЬКО к картинке */
#central-item-wrapper:active #grill-item-img {
  transform: scale(0.95);
}

/* Эффект силуэта для заблокированных предметов */
#grill-item-img.silhouette {
  filter: brightness(0) opacity(0.8);
}

.grill-item-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Идеальное центрирование */

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
}

#grill-item-name {
  font-size: 1.5cqw;
}
.arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; /* Убираем padding у самой кнопки */
  margin: 0 1.5cqw;
  flex-shrink: 0;

  /* Устанавливаем размер самой кнопки */
  width: 3cqw;
  height: 3cqw; /* Делаем кнопку квадратной */

  /* Добавляем transition для эффекта нажатия */
  transition: transform 0.1s ease-out;
}
.arrow:active {
  transform: scale(0.9); /* Слегка уменьшаем при нажатии */
}

/* Стилизуем картинку ВНУТРИ кнопки */
.arrow img {
  width: 100%; /* Картинка занимает всю область кнопки */
  height: 100%;
}
.corner-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.corner-ui > div {
  position: absolute;
  padding: 2cqw;
}
.top-right {
  top: 0;
  right: 0;
}

.thermometer-group {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Прижимаем все к правому краю */
  gap: 1cqw;
  transition: transform 0.2s;
}
.thermometer-group.shaking {
  animation: shake 0.5s infinite;
}

.fever-multiplier {
  font-size: 3cqw;
  font-weight: 700; /* Жирное начертание (если подключен Montserrat 700) */
  color: yellow;
  text-shadow: 0 0 1cqw orange, 0 0 0.5cqw red; /* Эффект огня */

  /* Начальное состояние (скрыто) */
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* По умолчанию анимация выключена */
  animation: none;
}

.fever-multiplier.active {
  /* Конечное состояние (видимо) */
  opacity: 1;
  transform: scale(1);

  /* Включаем анимацию, когда надпись активна */
  animation: shake-and-rotate 1.5s infinite ease-in-out;
}

/* Анимация покачивания и вращения */
@keyframes shake-and-rotate {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

.top-left {
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* Выравниваем кнопки по центру по вертикали */
  gap: 1.5cqw;
}
.bottom-left {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1cqw;
}
.ui-btn {
  /* Сбрасываем абсолютно все стандартные стили кнопок */
  background: transparent;
  border: none;
  outline: none;
  padding: 0; /* Убираем внутренние отступы, так как нет фона */
  margin: 0.5cqw; /* Добавляем внешний отступ, чтобы кнопки не прилипали к краям */
  cursor: pointer;

  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* <-- ВАЖНО: Делаем кнопку контекстом позиционирования */
  overflow: hidden;
  transition: transform 0.2s ease-out;
}
.ui-btn img {
  /* Начальный размер иконки */
  width: 3.5cqw;
  height: 3.5cqw;
}

.ui-btn.on-cooldown {
  opacity: 0.5;
  pointer-events: none; /* Делаем некликабельной */
}

.bonus-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Центрируем увеличенную иконку */
  gap: 0.5cqw;
  color: white;
  font-size: 1.1cqw;
}
.bonus-btn img {
  width: 5cqw; /* Было ~2.5cqw */
  height: 5cqw;
}

.ui-btn:hover {
  transform: scale(1.15); /* Увеличиваем иконку на 15% */
}

.thermometer-custom {
  position: relative;
  width: 3cqw;
  height: 12cqw;
}

.thermometer-custom::before {
  content: ""; /* Обязательное свойство для псевдоэлементов */
  position: absolute;

  /* Используем те же отступы, что и для самой шкалы */
  inset: 10% 8% 10% 8%; /* Подберите эти значения под вашу картинку */

  /* Задаем цвет фона */
  background-color: #737373; /* Темно-серый цвет, можете выбрать любой */

  z-index: 0; /* Помещаем этот слой на самый задний план ВНУТРИ контейнера */
}

/* Картинка корпуса термометра */
.thermometer-case-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Картинка всегда сверху */
  pointer-events: none; /* Чтобы не мешала кликам, если окажется над кнопкой */
}

/* Заполняющаяся шкала */
.thermometer-fill {
  position: absolute;
  /* Располагаем шкалу внутри картинки с отступами */
  inset: 10% 8% 10% 8%; /* Подберите эти значения под вашу картинку */

  background: linear-gradient(to top, red, orange, yellow);
  z-index: 1;

  /* --- КЛЮЧЕВОЕ ИЗМЕНЕНИЕ --- */
  /* Изначально "маска" обрезает все, показывая 0% высоты снизу */
  clip-path: inset(100% 0 0 0);

  /* Анимируем изменение этой "маски" */
  transition: clip-path 0.2s linear;
}

@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate(-1px, 0) rotate(-1deg);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translate(1px, 0) rotate(1deg);
  }
}

/* ЗОНА УЛУЧШЕНИЙ */
.shop-zone {
  flex: 1;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Полупрозрачный темный фон для всего блока */
  border-radius: 1cqw; /* Скругляем углы */
  padding: 1cqw; /* Внутренний отступ */

  display: flex;
  flex-direction: column;
  margin-right: 1cqw;
  margin-top: 1cqw;
  margin-bottom: 1cqw;
}
#shop-container {
  flex-grow: 1;
  overflow-y: auto;
  /* Убираем старый отступ, т.к. теперь есть padding у родителя */
  /* padding-right: 1cqw; */
}
#shop-container::-webkit-scrollbar {
  width: 0.5cqw;
}
#shop-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25cqw;
}
#shop-container::-webkit-scrollbar-thumb {
  background: #ff6600;
  border-radius: 0.25cqw;
}

button.shop-item {
  border: none; /* Убираем стандартные рамки */
  text-align: left;
  width: 100%;
  cursor: pointer;

  display: flex;
  background-color: #e9e7e7;
  border-radius: 0.7cqw;
  padding: 0.8cqw;
  margin-bottom: 0.4cqw; /* Оставляем место для тени */

  /* "Резкая тень" снизу */
  border-bottom: 0.4cqw solid #ccc8c8;

  /* Плавный переход для эффекта затемнения */
  transition: filter 0.1s ease-out;
}

/* Эффект затемнения при клике */
button.shop-item:active:not(:disabled) {
  filter: brightness(0.9); /* Делаем кнопку на 10% темнее */
  /* Никаких transform и border-width больше нет */
}

/* --- СТИЛИ ДЛЯ НЕДОСТУПНЫХ УЛУЧШЕНИЙ --- */
button.shop-item:disabled {
  cursor: not-allowed;
  background-color: #353434;
  border-bottom-color: #2a2a2a; /* Более темная "тень" для неактивной кнопки */
}

/* --- Внутренние элементы карточки (БЕЗ ИЗМЕНЕНИЙ) --- */
.item-image-wrapper {
  background-color: #a89898;
  border-radius: 0.5cqw;
  /* padding: 0.5cqw; */
  margin-right: 1cqw;
  flex-shrink: 0;
  align-self: center;
}
.item-image-wrapper img {
  width: 4.5cqw;
  height: 4.5cqw;
  display: block;
}

.item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3cqw;
}

.details-row {
  display: flex;
  align-items: center;
}
.top-row {
  justify-content: space-between;
}
.item-name {
  margin: 0;
  font-size: 1.2cqw;
  color: #535353;
}
.level {
  font-size: 1cqw;
  color: #535353;
  opacity: 0.8;
}
.item-desc {
  margin: 0;
  font-size: 1cqw;
  color: #535353;
}
.bottom-row {
  justify-content: flex-end;
}
.cost {
  background-color: #887a7a;
  color: white;
  border-radius: 0.5cqw;
  padding: 0.4cqw 0.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5cqw;
  font-size: 1.3cqw;
  font-weight: bold;
}

/* Цвета для неактивного состояния (БЕЗ ИЗМЕНЕНИЙ) */
button.shop-item:disabled .item-name,
button.shop-item:disabled .level,
button.shop-item:disabled .item-desc {
  color: #a0a0a0;
}
button.shop-item:disabled .cost {
  background-color: #222222;
}

.modal-overlay {
  position: absolute; /* Позиционируемся относительно .game-container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Само окно */
.modal {
  position: absolute; /* Позиционируемся относительно .game-container */
  top: 50%;
  left: 50%;
  z-index: 101;

  background-color: #e9e7e7;
  color: #474747;

  /* Возвращаем все размеры к cqw, чтобы они масштабировались вместе с игрой */
  border-radius: 1.5cqw;
  padding: 2cqw;
  width: 40cqw; /* Ширина в процентах от ширины игры */
  max-width: 90%; /* Предохранитель для очень узких контейнеров */
  box-sizing: border-box;

  box-shadow: 0 0.5cqw 2cqw rgba(0, 0, 0, 0.3);

  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.2s ease-out;
  pointer-events: none;
}
.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

.modal h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2cqw;
  font-size: 1.8cqw;
}

/* Стили для ползунков */
.slider-group {
  margin-bottom: 1.5cqw;
}
.slider-group label {
  display: block;
  margin-bottom: 0.8cqw;
  font-size: 1.1cqw;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.8cqw;
  background: #a4a3a3;
  border-radius: 0.4cqw;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.8cqw;
  height: 1.8cqw;
  background: #372512;
  cursor: pointer;
  border-radius: 50%;
  border: none;
}
input[type="range"]::-moz-range-thumb {
  width: 1.8cqw;
  height: 1.8cqw;
  background: #372512;
  cursor: pointer;
  border-radius: 50%;
  border: none;
}

/* Стили для кнопок в окне */
.modal-buttons {
  margin-top: 2.5cqw;
  display: flex;
  gap: 1cqw;
}
.modal-btn {
  flex-grow: 1;
  border: none;
  background-color: #c8c6c6;
  color: #474747;
  font-weight: bold;
  font-size: 1.1cqw;
  padding: 1cqw;
  border-radius: 0.7cqw;
  cursor: pointer;
  border-bottom: 0.4cqw solid #aeacac;
  transition: filter 0.1s ease-out;
}
.modal-btn:active {
  filter: brightness(0.95);
}
.modal-btn.danger {
  background-color: #d4a3a3;
  border-bottom-color: #b08d8d;
}

#click-numbers-pool {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Контейнер не должен мешать кликам */
  overflow: hidden; /* Чтобы цифры не вылетали за пределы зоны */
  z-index: 10;
}

.click-number {
  position: absolute;
  font-size: 2cqw;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 0.5cqw black, 0 0 1cqw black; /* Тень для читаемости */
  white-space: nowrap; /* Чтобы "+1.5K" не переносилось */

  /* Начальное состояние (невидимо) */
  opacity: 0;

  /* Управляем анимацией через JS */
  animation: none;
}
.fever-mode-active .click-number {
  color: #ffc107; /* Яркий оранжево-желтый цвет */
  text-shadow: 0 0 0.5cqw red, 0 0 1cqw rgba(0, 0, 0, 0.8); /* Огненная тень */
}

.click-number.animate {
  animation: fly-up 1s ease-out forwards;
}

@keyframes fly-up {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10cqw) scale(0.8); /* Улетает вверх на 10cqw */
  }
}

#smoke-container {
  position: absolute;
  bottom: 40%; /* Начало дыма примерно от середины мяса */
  left: 50%;
  transform: translateX(-50%);
  width: 10cqw;
  height: 10cqw;
  pointer-events: none; /* Не мешает кликам */
  z-index: 15; /* Дым должен быть выше мяса (z-index: 5) и цифр (z-index: 10) */
}

.smoke-particle {
  position: absolute;
  bottom: 0;
  left: 50%;

  /* Создаем мягкий полупрозрачный круг */
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 55%
  );
  border-radius: 50%;

  /* Анимация будет бесконечной */
  animation-name: smoke-rise;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes smoke-rise {
  0% {
    /* Начало: внизу, маленький, непрозрачный */
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0.5;
  }
  100% {
    /* Конец: улетает вверх, становится большим и полностью прозрачным */
    transform: translate(-50%, -20cqw) scale(2);
    opacity: 0;
  }
}

#smoke-container.fever-mode .smoke-particle {
  /* Делаем дым более интенсивным и быстрым */
  animation-duration: 2s !important; /* Уменьшаем время анимации, чтобы дым шел быстрее */
  animation-timing-function: ease-out !important; /* Дым "выстреливает" и замедляется */

  /* Делаем частицы еще плотнее */
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 50%
  );
}

/* Опционально: можно даже заставить дым идти от всей ширины мяса, а не из центра */
#smoke-container.fever-mode {
  width: 15cqw; /* Расширяем область генерации дыма */
}

/* Эффект силуэта для заблокированных предметов */
#grill-item-img.silhouette {
  filter: brightness(0);
}

/* Блок с бонусом (справа вверху) */
.item-bonus-display {
  position: absolute;
  top: 4cqw;
  right: 4cqw;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5cqw 1cqw;
  border-radius: 0.5cqw;
  font-size: 1.2cqw;
  font-weight: bold;
  pointer-events: none; /* Чтобы не мешал кликам */
}

/* Блок с замком (в центре, изначально скрыт) */
.item-lock-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* По умолчанию скрыт */
  flex-direction: column;
  align-items: center;
  gap: 0.5cqw;
  pointer-events: none;
  z-index: 2;
}
.lock-icon {
  width: 4cqw;
  height: 4cqw;
}
#lock-condition-text {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 0.5cqw 1cqw;
  border-radius: 0.5cqw;
  font-size: 1.1cqw;
  white-space: nowrap;
}

#ad-bonus-knuckle,
#autoclick-bonus-btn,
#multiplier-bonus-btn {
  position: relative; /* Необходимо для позиционирования псевдоэлемента */
  overflow: hidden; /* Чтобы проблеск не вылезал за пределы кнопки */
  border-radius: 0.5cqw;
}

#aut-bonus-btn::after,
#multiplier-bonus-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    /* Чуть менее яркий блик */ rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);

  animation: shine 10s infinite;
  animation-delay: 2s;
}

@keyframes shine {
  10% {
    /* Начинаем движение чуть позже */
    left: 140%;
  }
  100% {
    left: 140%;
  }
}

#ad-bonus-knuckle {
  display: none; /* Изначально скрыта */
}
#ad-bonus-knuckle.visible {
  display: flex; /* Показываем, когда JS добавляет класс */
}

/* Контейнер для уведомлений */
.notification-container {
  position: absolute;
  bottom: 2cqw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
  pointer-events: none;
}

/* Стиль одного уведомления */
.notification {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1cqw 1.5cqw;
  border-radius: 0.7cqw;
  font-size: 1.2cqw;
  box-shadow: 0 0.5cqw 1cqw rgba(0, 0, 0, 0.5);
  animation: fade-in-out 4s ease-in-out forwards;
}
@keyframes fade-in-out {
  0% {
    opacity: 0;
    transform: translateY(2cqw);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-2cqw);
  }
}

/* Анимированная лопатка */
.autoclick-spatula {
  position: absolute;
  /* Размер теперь определяется здесь */
  width: 5cqw;
  height: 4cqw;
  z-index: 3;

  /* Позиционируем и поворачиваем КОНТЕЙНЕР */
  top: 50%;
  left: 50%;
  transform: translate(-80%, -70%) rotate(-45deg);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}
.autoclick-spatula.visible {
  opacity: 1;
}
.spatula-image-wrapper {
  width: 100%;
  height: 100%;
  /* Анимируем только эту обертку */
  animation: spatula-press 0.5s infinite alternate;
}

/* Картинка внутри */
.autoclick-spatula img {
  width: 100%;
  /* height: 100%; */
}
@keyframes spatula-press {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.9);
  }
}

/* Вертикальный прогресс-бар */
.timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* --- ИЗМЕНЕНИЕ №1: Подложка --- */
  /* Делаем фон бара очень темным и почти прозрачным. 
       Это будет "пустая" часть стакана. */
  background-color: rgba(0, 0, 0, 0.6);

  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}
.timer-bar.visible {
  opacity: 1;
}

/* Заливка прогресс-бара */
.timer-bar-fill {
  width: 100%;
  height: 100%;

  /* --- ИЗМЕНЕНИЕ №2: Заливка --- */
  /* Делаем заливку полупрозрачной желтой.
       Это будет "жидкость" в стакане. */
  background-color: rgba(255, 193, 7, 0.7); /* #ffc107 с 70% прозрачности */

  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.1s linear;
}

/* Родительским кнопкам нужен relative для позиционирования бара */
#autoclick-bonus-btn,
#multiplier-bonus-btn {
  position: relative;
}

.ad-icon {
  position: absolute;
  top: -0.2cqw;
  left: 0cqw;
  width: 2cqw;
  height: 2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2cqw;
}
.ad-icon img {
  width: 100%;
  height: 100%;
}
