/* Promo Banner Styles - Part of Header */
.promo-banner {
  background: linear-gradient(135deg, #b5abf7 0%, #010105 100%);
  padding: 10px 0;
  position: relative;
  z-index: 1001;
}

.promo-banner__content {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.promo-banner__icon {
  display: flex;
  position: relative;
  align-items: center;
  flex-shrink: 0;
}

.promo-banner__icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  animation: lightningPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}
.promo-banner__text {
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.promo-banner__text--mobile {
  display: none;
}

.promo-banner__text--desktop {
  display: inline;
}

.promo-banner__button {
  border: 1px solid #fff;
  padding: 2px 14px;
  border-radius: 50px;
  background: #fff;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.promo-banner__button:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Make entire header with promo banner sticky */

/* Ensure promo banner is part of sticky header */
.mono-header .promo-banner {
  position: relative;
  z-index: 1001;
}

/* Hide promo banner on Workspace page */
.page-template-template-workspace .promo-banner {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .promo-banner__content {
    flex-direction: row;
    gap: 12px;
    text-align: center;
    flex-wrap: nowrap;
  }
  
  .promo-banner__text {
    /* font-size: 14px; */
    min-width: auto;
    flex: 1;
  }
  
  .promo-banner__text--mobile {
    display: inline;
  }
  
  .promo-banner__text--desktop {
    display: none;
  }
  
  .promo-banner__button {
    padding: 2px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .promo-banner {
    padding: 8px 0;
  }
  
  .promo-banner__content {
    gap: 8px;
    padding: 0 10px;
  }
  
  /* .promo-banner__text {
    font-size: 13px;
  } */
  
  .promo-banner__button {
    padding: 2px 10px;
    font-size: 12px;
  }
  
  .promo-banner__icon svg {
    width: 20px;
    height: 20px;
  }
}
  
  .promo-banner__content {
    padding: 0 15px;
    gap: 8px;
  }
  
  /* .promo-banner__text {
    font-size: 13px;
    line-height: 1.3;
  } */
  
.promo-banner__icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  animation: lightningPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}
/* Lightning Icon Animation */
@keyframes lightningPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  }
  50% {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  }
}

/* Sparkle effect for extra attention */
.promo-banner__icon::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  animation: sparkle 1.5s ease-in-out infinite;
}

.promo-banner__icon::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  animation: sparkle 1.8s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.promo-banner__icon svg {
  animation: elegantGlow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

@keyframes elegantGlow {
  0% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  }
  25% {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  }
  50% {
    transform: scale(1.1) rotate(0deg);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 1));
  }
  75% {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  }
}
