.block-hot-message {
  position: fixed;
  bottom: 20px;
  left: 20px; /* keep block fixed to bottom-left */
  max-width: 350px;
  width: 90%;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
  padding: 15px 15px 15px; /* some padding */
  box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
  color: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;  /* center children horizontally */
  gap: 10px;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.block-hot-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.block-hot-message .message-content {
  font-size: 15px;
  line-height: 1.5;
  text-align: center;   /* center text */
  width: 100%;
}

.block-hot-message .message-content strong {
  font-weight: 700;
}

.block-hot-message .message-content p,
.block-hot-message .message-content a.btn-theme {
  margin: 0 auto;    /* center paragraphs and buttons */
  display: inline-block;  /* allow margin centering */
}

.block-hot-message .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.block-hot-message .close-btn:hover {
  transform: rotate(90deg);
  color: #000;
}

@media (max-width: 768px) {
  .block-hot-message {
    max-width: 90%;
    width: 90%;
  }
}
@media (max-width: 480px) {
  .block-hot-message .message-content img {
    max-width: 80%;
  }
}
