/* Ported from BubType ComboMeter — pixel combo for the marketing hero stage. */
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

.combo-meter {
  position: relative;
  width: max-content;
  font-family: "Press Start 2P", monospace;
  text-align: right;
  pointer-events: none;
  color: var(--power, #ff4d6d);
  opacity: 1;
  transition: opacity 0.7s ease;
  transform-origin: top right;
}

.combo-meter.combo-zero {
  opacity: 0;
}

.combo-title {
  color: #fff;
  font-size: 14px;
  text-shadow: 2px 2px 2px var(--power, #ff4d6d);
}

.combo-max {
  margin-top: 8px;
  color: var(--power, #ff4d6d);
  font-size: 11px;
}

.combo-counter {
  margin-top: 10px;
  color: var(--power, #ff4d6d);
  font-size: 52px;
  line-height: 1;
}

.combo-counter.bump {
  animation: combo-grow 0.25s both;
}

.combo-bar {
  width: 100%;
  height: 6px;
  margin-top: 8px;
  background: var(--power, #ff4d6d);
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: right center;
}

.combo-exclamations {
  position: absolute;
  right: 0;
  bottom: -4px;
  display: block;
}

.combo-exclamation {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  color: var(--power, #ff4d6d);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.95;
  animation: combo-exclamation 1.5s ease-out both;
}

.combo-exclamation.up,
.combo-exclamation.down {
  font-size: 13px;
}

.combo-exclamation.down {
  color: #ee3c3c;
}

.combo-exclamation.level,
.combo-exclamation.max,
.combo-exclamation.bingo {
  color: var(--power, #ff4d6d);
}

@keyframes combo-grow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes combo-exclamation {
  100% {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
  }
}

@media (max-width: 760px) {
  .combo-title {
    font-size: 12px;
  }
  .combo-max {
    font-size: 10px;
  }
  .combo-counter {
    font-size: 40px;
  }
  .combo-exclamation {
    font-size: 12px;
  }
}
