/* Hostinger-ready offer presentation overrides */
.offer-card {
  padding-top: 60px;
}

/* Ticket-shaped countdown banner */
.offer-countdown {
  top: -23px;
  right: 12px;
  width: calc(100% - 24px);
  height: 47px;
  padding: 7px 54px 7px 20px;
  border: 2px solid #ffd987;
  border-radius: 10px;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0 50%);
  background: linear-gradient(105deg, #4c1607 0%, #8e2508 38%, #e85813 72%, #ff963d 100%);
  box-shadow: 0 9px 26px #8f280752, 0 0 18px #ffad535e, inset 0 1px 0 #fff4c28f, inset 0 -8px 18px #6f1b0738;
}

.offer-countdown::before {
  content: "⚡";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #683200;
  background: linear-gradient(145deg, #fff7b8, #ffc94f);
  border: 1px solid #fff7cf;
  border-radius: 50%;
  box-shadow: 0 0 13px #ffe49fc7;
  font-size: 14px;
}

.offer-countdown span {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 6px #3d1008;
}

.offer-countdown b {
  position: relative;
  z-index: 2;
  padding: 3px 9px;
  border: 1px solid #ffffff42;
  border-radius: 7px;
  background: #2e0b074f;
  color: #fff8d8;
  font-size: 14px;
  text-shadow: 0 0 9px #ffe7a4;
}

.offer-countdown::after {
  z-index: 1;
  width: 28%;
  background: linear-gradient(90deg, transparent, #fff8d7a8, transparent);
  animation-duration: 3.1s;
}

.offer-card .service-gift {
  top: 34px;
}

/* Glowing offer action button */
.offer-card .service-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #fff4c7;
  box-shadow: 0 0 0 1px #fff1b84f, 0 0 14px #fff4cfcc, 0 0 30px #ffbd55b8, 0 10px 24px #8f28054d;
  animation: offer-button-glow 2.1s ease-in-out infinite;
}

.offer-card .service-button::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 30%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, #fff8cf, transparent);
  opacity: .8;
  animation: offer-button-shine 2.7s ease-in-out infinite;
}

.offer-card .service-button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 0 0 2px #fff4c766, 0 0 20px #fff8d9, 0 0 42px #ffc15c, 0 14px 30px #81230059;
}

.offer-card .service-button:focus-visible {
  outline: 3px solid #fff1a8;
  outline-offset: 3px;
}

@keyframes offer-button-glow {
  0%, 100% {
    box-shadow: 0 0 0 1px #fff1b84f, 0 0 12px #fff4cfb8, 0 0 24px #ffbd5594, 0 10px 24px #8f280547;
  }
  50% {
    box-shadow: 0 0 0 2px #fff4c766, 0 0 20px #fff8d9ed, 0 0 42px #ffc15cc7, 0 14px 30px #81230059;
  }
}

@keyframes offer-button-shine {
  0%, 35% { left: -45%; }
  68%, 100% { left: 120%; }
}

@media (max-width: 700px) {
  .offer-card {
    padding-top: 56px !important;
  }

  .offer-countdown {
    top: -20px;
    right: 7px;
    width: calc(100% - 14px);
    height: 42px;
    padding: 6px 43px 6px 15px;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  }

  .offer-countdown::before {
    right: 11px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .offer-countdown span { font-size: 9px; }
  .offer-countdown b { padding: 2px 6px; font-size: 11px; }
  .offer-card .service-gift { top: 31px !important; }
}

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