.floating-message {
  position: fixed;
  bottom: 60px;
  right: 20px;
  animation: floatBounce 2.2s ease-in-out infinite;
  transform-origin: bottom center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999999;
}

.floating-message.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-message img {
  max-width: 60px;
}

/* OFFER */
.dopfn-ads-title {
  font-size: 28px;
  font-weight: 700;
  color: #e54941;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dopfn-ads-title::after {
  content: "";
  flex: 1;
  height: 4px;
  background-color: #e54941;
  display: block;
}

.offer-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.offer-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.offer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: -webkit-fill-available;
}

.offer-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4e8df5;
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
  width: fit-content;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
  align-self: end;
  cursor: pointer;
}

.offer-btn:hover {
  background: #3b78e4;
}

.offer-card-custom {
  flex-direction: column;
}

.offer-card-custom img {
  width: 100%;
  height: auto;
}

.offer-card-custom .offer-content {
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.offer-card-custom .offer-title {
  font-weight: 400;
}

.offer-card-custom .offer-btn {
  display: block;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: unset;
  font-weight: unset;
  transition: none;
  align-self: unset;
  width: 60px;
  height: 60px;
}

.offer3 {
  border: 1px solid #0000001c;
  padding: 0;
  margin-bottom: 10px;
  gap: 10px;
}

.offer3 .offer-content {
  padding: 0 8px;
  padding-bottom: 8px;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .dopfn-ads-title {
    font-size: 18px;
  }

  .dopfn-ads-title::after {
    height: 3px;
  }

  .offer-title {
    font-size: 14px;
  }

  .offer-btn {
    font-size: 13px;
    padding: 10px 30px;
  }

  .offer-image {
    height: 100px;
    width: 100px;
  }

  .offer-card-custom {
    border: 1px solid #0000001c;
    padding: 0;
  }

  .offer-card-custom .offer-content {
    padding: 0 8px;
  }
}

/* FLOATING MESSAGE ICON ANIMATION */
@keyframes floatBounce {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(0);
  }

  80% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}
