.offer-countdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  overflow: hidden;
  margin: 1.25rem auto 0;
  padding: .78rem 1.15rem;
  border: 1px solid #efbb47;
  border-radius: 999px;
  background: linear-gradient(105deg, #fff5cf, #fffdf3 45%, #fff0bd);
  box-shadow: 0 9px 22px rgba(210, 139, 0, .18), inset 0 1px 0 rgba(255,255,255,.85);
  color: #704700;
  font-size: .95rem;
  font-weight: 600;
  isolation: isolate;
  animation: offerPulse 2.2s ease-in-out infinite;
}

.offer-countdown::after {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 35%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  transform: translateX(-330%) skewX(-22deg);
  animation: offerShimmer 2.8s ease-in-out infinite;
}

.offer-countdown > span { color: #cf8100; font-size: 1.16rem; }
.offer-countdown b { color: #9b5500; }
.offer-countdown strong { color: #bf3e00; font-size: 1rem; font-variant-numeric: tabular-nums; }

@keyframes offerShimmer {
  0%, 35% { transform: translateX(-330%) skewX(-22deg); }
  65%, 100% { transform: translateX(430%) skewX(-22deg); }
}

@keyframes offerPulse {
  0%, 100% { box-shadow: 0 9px 22px rgba(210, 139, 0, .18), inset 0 1px 0 rgba(255,255,255,.85); }
  50% { box-shadow: 0 12px 28px rgba(210, 139, 0, .32), inset 0 1px 0 rgba(255,255,255,.95); }
}

@media (prefers-reduced-motion: reduce) {
  .offer-countdown, .offer-countdown::after { animation: none; }
}

@media (max-width: 560px) {
  .offer-countdown { border-radius: .75rem; line-height: 1.45; }
}

/* Personal Vocab blue and green offer countdown theme. */
.offer-countdown{border-color:#80b7fa;background:linear-gradient(105deg,#eff6ff,#f8fbff 45%,#e9fbf3);box-shadow:0 9px 22px rgba(35,103,237,.14),inset 0 1px 0 rgba(255,255,255,.9);color:#0b256b}.offer-countdown>span{color:#2367ed}.offer-countdown b{color:#078b6a}.offer-countdown strong{color:#07945d}@keyframes offerPulse{0%,100%{box-shadow:0 9px 22px rgba(35,103,237,.14),inset 0 1px 0 rgba(255,255,255,.9)}50%{box-shadow:0 12px 28px rgba(8,171,114,.24),inset 0 1px 0 rgba(255,255,255,.95)}}

/* Increase contrast so the offer countdown is easier to notice. */
.offer-countdown{border-color:#2367ed;background:linear-gradient(105deg,#d7e7ff,#e4f1ff 45%,#c9f3e1);box-shadow:0 10px 26px rgba(35,103,237,.25),inset 0 1px 0 rgba(255,255,255,.95);color:#102e78}.offer-countdown>span{color:#1557d5}.offer-countdown b{color:#05764e;font-weight:800}.offer-countdown strong{color:#08794f;font-weight:800}@keyframes offerPulse{0%,100%{box-shadow:0 10px 26px rgba(35,103,237,.22),inset 0 1px 0 rgba(255,255,255,.95)}50%{box-shadow:0 13px 32px rgba(8,171,114,.34),inset 0 1px 0 rgba(255,255,255,1)}}
