.leto-promo {
  position: relative;
  display: block;
  width: min(100%, 26rem);
  min-height: 4.75rem;
  padding: 0.85rem 1rem 0.9rem;
  border-radius: 0.65rem;
  overflow: hidden;
  text-decoration: none;
  color: #fefce8;
  background: linear-gradient(
    125deg,
    #0a0a0a 0%,
    #141414 32%,
    #1c1c1c 55%,
    #0f0f0f 100%
  );
  background-size: 220% 220%;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(250, 204, 21, 0.35) inset,
    0 0 20px rgba(234, 179, 8, 0.12);
  animation:
    letoPromoGradient 7s ease-in-out infinite,
    letoPromoLift 4.2s ease-in-out infinite;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.leto-promo::before {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(250, 204, 21, 0.2) 50%,
    transparent 58%
  );
  transform: translateX(-120%) skewX(-16deg);
  animation: letoPromoShine 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.leto-promo::after {
  content: '';
  position: absolute;
  width: 7rem;
  height: 7rem;
  right: -2.5rem;
  bottom: -3rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.35) 0%, transparent 68%);
  animation: letoPromoGlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.leto-promo:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(253, 224, 71, 0.55) inset,
    0 0 28px rgba(234, 179, 8, 0.22);
  animation-play-state: paused;
}

.leto-promo__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}

.leto-promo__orb--a {
  width: 3.25rem;
  height: 3.25rem;
  left: -1rem;
  top: -1.1rem;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.4) 0%, transparent 70%);
  animation: letoPromoOrbA 6s ease-in-out infinite;
}

.leto-promo__orb--b {
  width: 2.5rem;
  height: 2.5rem;
  right: 0.25rem;
  top: -0.65rem;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.38) 0%, transparent 72%);
  animation: letoPromoOrbB 5.2s ease-in-out infinite;
}

.leto-promo__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.leto-promo__code {
  font-family: 'Plus Jakarta Sans', var(--font-sans, system-ui, sans-serif);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px #facc15;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.45);
  animation: letoPromoCodePulse 2.8s ease-in-out infinite;
}

.leto-promo__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.leto-promo__title {
  font-family: 'Plus Jakarta Sans', var(--font-sans, system-ui, sans-serif);
  font-size: clamp(0.95rem, 2.8vw, 1.125rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fef08a;
}

.leto-promo__pill {
  display: inline-block;
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
  animation: letoPromoPillPop 4.5s ease-in-out infinite;
}

@keyframes letoPromoGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes letoPromoLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes letoPromoShine {
  0% {
    transform: translateX(-120%) skewX(-16deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  42% {
    transform: translateX(220%) skewX(-16deg);
    opacity: 0;
  }
  100% {
    transform: translateX(220%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes letoPromoGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.75;
  }
}

@keyframes letoPromoOrbA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(6px, 4px) scale(1.08);
    opacity: 1;
  }
}

@keyframes letoPromoOrbB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-5px, 3px) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes letoPromoCodePulse {
  0%,
  100% {
    -webkit-text-stroke-color: #eab308;
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    -webkit-text-stroke-color: #fde047;
    filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.6));
  }
}

@keyframes letoPromoPillPop {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
  }
  12% {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.5);
  }
  24% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
  }
}

@media (max-width: 420px) {
  .leto-promo {
    width: 100%;
  }

  .leto-promo__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leto-promo__copy {
    align-items: center;
  }

  .leto-promo__code {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leto-promo,
  .leto-promo::before,
  .leto-promo::after,
  .leto-promo__orb,
  .leto-promo__code,
  .leto-promo__pill {
    animation: none;
  }

  .leto-promo:hover {
    transform: translateY(-2px);
  }
}
