.floating-offer-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 9999;
  transform: translateY(400px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: white;
  overflow: hidden;
}

.floating-offer-card.show {
  transform: translateY(0);
}

.floating-offer-card.pulse {
  animation: pulse 2s infinite;
}

.floating-offer-card.minimized {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.floating-offer-card.minimized .floating-offer-content {
  display: none;
}

.floating-offer-card.minimized::after {
  content: "🎁";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.floating-offer-close,
.floating-offer-minimize {
  position: absolute;
  top: 10px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.floating-offer-close {
  right: 10px;
}

.floating-offer-minimize {
  right: 45px;
}

.floating-offer-close:hover,
.floating-offer-minimize:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.floating-offer-content {
  padding: 20px;
}

.floating-offer-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.floating-offer-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.floating-offer-desc {
  margin: 0 0 12px;
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.4;
}

.floating-offer-discount {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.floating-offer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 12px;
  opacity: 0.9;
}

.floating-offer-code {
  background: rgba(255,255,255,0.2);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.floating-offer-claim {
  display: block;
  width: 100%;
  padding: 12px;
  background: white;
  color: #667eea;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 12px;
  transition: all 0.2s;
}

.floating-offer-claim:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.floating-offer-viewall {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  margin-top: 10px;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.25);
}

.floating-offer-viewall:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 480px) {
  .floating-offer-card {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 10px;
  }
}
