.campaign-banner {
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.25);
  position: relative;
  z-index: 50;
}

.campaign-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
  overflow: hidden;
  z-index: 0;
}

.campaign-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: banner-shine 4s infinite;
}

@keyframes banner-shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.campaign-banner.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  transition: all 0.5s ease-out;
}

.campaign-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 1;
}

.campaign-content i {
  color: #ffffff;
  font-size: 1.1em;
  margin-right: -4px;
}

.campaign-title {
  margin-right: 8px;
}

.campaign-discount {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-right: 8px;
}

.campaign-expires {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05em;
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.dropdown-container {
  position: relative;
}

.campaign-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 100;
}

.share-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #FF416C;
  background-color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
}

.share-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.share-menu a:hover {
  transform: translateX(4px);
  filter: brightness(1.1);
}

.x-btn { background-color: #000000; }
.facebook-btn { background-color: #1877F2; }
.instagram-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.whatsapp-btn { background-color: #25D366; }

@media (max-width: 992px) {
  .campaign-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .campaign-content {
    justify-content: center;
    text-align: center;
  }
  
  .campaign-share {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .campaign-content {
    font-size: 13px;
    gap: 8px;
  }
  
  .campaign-share .share-text {
    display: none;
  }
  
  .share-main-btn {
    padding: 8px;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
  }
  
  .share-main-btn i {
    font-size: 16px;
    margin: 0;
  }

  .share-menu {
    right: 50%;
    transform: translateX(50%) translateY(-10px);
  }

  .share-menu.show {
    transform: translateX(50%) translateY(0);
  }
}
