/* Promotional Banner Styles */

.promo-banner {
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: GothamRounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 1rem 0 2rem 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Wrapper with gradient backgrounds */
.promo-banner__wrapper {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}

.promo-banner:hover .promo-banner__wrapper {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Brand color variants */
.promo-banner__wrapper--bg-yellow-100 {
  background: linear-gradient(135deg, #ffd500 0%, #ffdd33 100%);
  border: 1px solid rgba(255, 213, 0, 0.3);
}

.promo-banner__wrapper--bg-orange-100 {
  background: linear-gradient(135deg, #FFE8DC 0%, #FFF0E6 100%);
  border: 1px solid rgba(255, 107, 53, 0.15);
}

.promo-banner__wrapper--bg-green-100 {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F5 100%);
  border: 1px solid rgba(76, 175, 80, 0.15);
}

.promo-banner__wrapper--bg-red-100,
.promo-banner__wrapper--bg-rose-100 {
  background: linear-gradient(135deg, #FEE5E5 0%, #FFF0F0 100%);
  border: 1px solid rgba(244, 63, 94, 0.15);
}

.promo-banner__wrapper--bg-black {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(255, 213, 0, 0.2);
}

/* Container with max width and centering */
.promo-banner__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .promo-banner__container {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .promo-banner__container {
    padding: 2rem 2rem;
  }
}

/* Content flex layout */
.promo-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .promo-banner__content {
    flex-wrap: nowrap;
    gap: 2rem;
  }
}

/* Text section */
.promo-banner__text {
  flex: 1;
  min-width: 0;
}

/* Title styling */
.promo-banner__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 640px) {
  .promo-banner__title {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .promo-banner__title {
    font-size: 1.5rem;
  }
}

.promo-banner__title--text-gray-900 {
  color: #111827;
}

.promo-banner__title--text-white {
  color: #ffffff;
}

.promo-banner__title--text-yellow-400 {
  color: #ffd500;
}

/* Subtitle styling */
.promo-banner__subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 0.5rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .promo-banner__subtitle {
    font-size: 1rem;
  }
}

.promo-banner__subtitle--text-gray-900 {
  color: #111827;
}

.promo-banner__subtitle--text-white {
  color: #ffffff;
}

.promo-banner__subtitle--text-yellow-400 {
  color: #ffd500;
}

/* Actions container (button + close) */
.promo-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Button styling */
.promo-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #ffd500;
  color: #111827;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .promo-banner__button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
  }
}

.promo-banner__button:hover {
  background-color: #ffdd33;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.promo-banner__button:active {
  transform: scale(0.98);
}

/* Close button styling */
.promo-banner__close {
  padding: 0.5rem;
  cursor: pointer;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd500;
  transition: all 0.2s ease;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.promo-banner__close:hover {
  color: #ffdd33;
  background-color: rgba(255, 213, 0, 0.1);
}

.promo-banner__close:focus {
  outline: 2px solid #ffd500;
  outline-offset: 2px;
}

.promo-banner__close:active {
  transform: scale(0.9);
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .promo-banner {
    margin: 0.75rem 0;
  }

  .promo-banner__container {
    padding: 1.25rem 1rem;
  }

  .promo-banner__close {
    padding: 0.375rem;
  }
}
