.countdown-timer-section {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-text));
}
.countdown-timer__picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.countdown-timer__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.countdown-timer__inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.countdown-timer__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.countdown-timer__description {
  color: rgb(var(--color-text), 0.8);
}
.countdown-timer__header,
.countdown-timer__button {
  width: 25%;
}
.countdown-timer__button {
  display: flex;
  justify-content: flex-end;
}
.countdown-timer__header,
.countdown-timer__widget,
.countdown-timer__button {
  animation: fadeInUp 0.8s ease-out;
}
.countdown-timer__widget {
  animation-delay: 0.2s;
}
.countdown-timer__button {
  animation-delay: 0.4s;
}
.countdown-timer-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.countdown-timer-widget[data-loading="true"] {
  opacity: 0.8;
}
.hidden {
  display: none !important;
}
.countdown-timer-widget__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.countdown-timer-widget__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  flex: 1;
}
.countdown-timer-widget__digit {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 72px;
  transition: all 0.3s ease;
}
.countdown-timer-widget__digit.countdown-update {
  transform: scale(1.1);
}
.countdown-timer-widget__label {
  color: rgba(var(--color-text), 0.8);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.countdown-timer-widget__separator {
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-timer-widget[data-loading="true"] .countdown-timer-widget__digit {
  opacity: 0.6;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.countdown-timer-widget__digit {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.countdown-timer-widget__item:hover .countdown-timer-widget__digit {
  transform: translateY(-2px);
}
.countdown-timer-widget--no-separator .countdown-timer-widget__separator {
  display: none;
}
.countdown-timer-widget--no-separator .countdown-timer-widget__container {
  gap: 24px;
}
@media (max-width: 959px) {
  .countdown-timer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .countdown-timer__header, .countdown-timer__button {
    width: 100%;
    justify-content: center;
  }
  .countdown-timer-widget__container {
    gap: 8px;
  }
  .countdown-timer-widget__digit {
    line-height: 40px;
  }
  .countdown-timer-widget__label {
    line-height: 24px;
  }
  .countdown-timer-widget__separator {
    font-size: 24px;
    margin-top: -8px;
  }
}
@keyframes countdown-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}
.countdown-timer-widget[data-loading="true"] .countdown-timer-widget__digit {
  animation: countdown-pulse 1.5s ease-in-out infinite;
}
@keyframes digit-flip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}
.countdown-timer-widget__digit.flip-animation {
  animation: digit-flip 0.4s ease-in-out;
} 