/* Flip Countdown Web Component Styles */
.flip-countdown-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  user-select: none;
  transition: none !important;
  transform: none !important;
}

.flip-countdown-card:hover {
  transform: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Digits Box */
.flip-digits-container {
  display: flex;
  gap: 6px;
}

.flip-digit-box {
  position: relative;
  width: 54px;
  height: 76px;
  background: #111827;
  border-radius: 12px;
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  perspective: 400px;
}

.flap-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #111827;
  backface-visibility: hidden;
}

.flap-half.top {
  top: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.flap-half.bottom {
  bottom: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.flap-half span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 76px;
  text-align: center;
  line-height: 76px;
}

.flap-half.top span {
  top: 0;
}

.flap-half.bottom span {
  bottom: 0;
}

.flap-half.flip-top {
  transform-origin: 50% 100%;
  animation: flipTop 0.28s ease-in forwards;
}

.flap-half.flip-bottom {
  transform-origin: 50% 0%;
  animation: flipBottom 0.28s ease-out forwards;
}

@keyframes flipTop {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-90deg); }
}

@keyframes flipBottom {
  0% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}

.flip-label-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 900;
  color: #111827;
  line-height: 1.05;
}

.label-line1 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.label-line2 {
  font-size: 20px;
  letter-spacing: -0.01em;
}
