#floating-gift {
  position: fixed;
  bottom: 50%;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  animation: fg-bounce 2s infinite;
}
#floating-gift img {
  width: 48px;
  height: 48px;
}
@keyframes fg-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fg-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fg-modal.fg-visible {
  display: flex;
}

.fg-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease-in-out;
  font-family: 'Segoe UI', sans-serif;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fg-close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
}
.fg-close-modal:hover {
  color: #333;
}

.fg-operator-logo {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fg-offer-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.3;
}


.fg-cta-button {
  display: inline-block;
  background: #2ecc71;
  color: white;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.25s ease;
}


.fg-terms {
  display: block;
  font-size: 10px;
  color: #777;
  margin-top: 20px;
  line-height: 1.5;
  text-align: center;
}


@media (max-width: 480px) {
  .fg-modal-content {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .fg-operator-logo {
    width: 60px;
    margin-bottom: 16px;
  }
  .fg-offer-title {
    font-size: 18px;
  }
  .fg-cta-button {
    font-size: 15px;
    padding: 12px 20px;
  }
}