/* Reset & Base Setup */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body {
  margin: 0;
  padding: 0;
  background-color: #050508;
}

/* CRT Scanlines Overlay */
.crt-lines {
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.4) 50%
  );
  background-size: 100% 4px;
}

/* Arcade Vignette */
.vignette {
  background: radial-gradient(circle, transparent 65%, rgba(0, 0, 0, 0.85) 100%);
}

/* Round Dots */
.round-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #262626;
  border: 1.5px solid #525252;
  transition: all 0.3s ease;
}
.round-dot.won {
  background-color: #eab308;
  border-color: #fef08a;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.9);
}

/* Custom Keyboard styling */
.kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  background-color: #262626;
  border: 1px solid #404040;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Char Card Active Glow */
.char-card.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.9) 0%, rgba(120, 53, 15, 0.4) 100%);
}

/* Combo Banner Shake */
@keyframes comboPop {
  0% { transform: scale(0.7) rotate(-4deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.combo-banner.active {
  opacity: 1 !important;
  animation: comboPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Button Pressed states */
.control-btn:active {
  transform: scale(0.92);
}
.action-btn:active {
  transform: scale(0.88);
}