.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 34px; /* 45 × 0.75 */
  background-color: rgba(0, 100, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px; /* 30 × 0.75 */
  z-index: 1000;
  color: white;
  font-family: Arial, sans-serif;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.footer:hover,
.footer.visible {
  opacity: 1;
}

/* Левая часть футера */
.footer-left {
  display: flex;
  align-items: center;
  gap: 7px; /* 9 × 0.75 */
}

.footer-logo {
  height: 18px; /* 24 × 0.75 */
}

.footer-left span {
  line-height: 18px;
  font-size: 12px; /* 16 × 0.75 */
}

/* Центр футера с кнопками */
.footer-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px; /* 18 × 0.75 */
}

/* Контейнер кнопки */
.footer-icon {
  position: relative;
  height: 27px; /* 36 × 0.75 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Кнопки */
.footer-btn {
  height: 18px; /* 24 × 0.75 */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px #00ff99);
}

/* Подсказки */
.footer-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 40px; /* 53 × 0.75 */
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px; /* 16 × 0.75 */
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
}

.footer-icon::before {
  content: "";
  position: absolute;
  bottom: 32px; /* 42 × 0.75 */
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px; /* 9 × 0.75 */
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1199;
}

.footer-icon:hover::after,
.footer-icon:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
