/* #cps-counter */
#cps-counter .counter-container {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  width: 100%;
  padding: 30px;
  max-width: 800px;
  margin: 20px auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: center;
}

#cps-counter .counter-display {
  font-size: 40px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 30px;
  transition: transform 0.2s;
}

#cps-counter .click-button {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border: none;
  cursor: pointer;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s, box-shadow 0.1s;
  overflow: hidden;
  position: relative;
}

#cps-counter .click-button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#cps-counter .button-image {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: opacity 0.1s;
  user-select: none;
  pointer-events: none;
}

#cps-counter .stats {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

#cps-counter .stat-box {
  background: rgba(106, 17, 203, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin: 10px;
  min-width: 120px;
}

#cps-counter .stat-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-secondary);
  text-align: center;
}

#cps-counter .stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
}

/* Click animation */
#cps-counter .click-animation {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  animation: clickEffect 0.1s ease-out;
}

@keyframes clickEffect {
  0% {
    transform: scale(0);
    opacity: 0.7;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}