@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  background-color: #050508;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(20, 24, 45, 0.6) 0%, rgba(5, 5, 8, 0.95) 100%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: 'Press Start 2P', monospace, sans-serif;
  color: #fff;
}

#arcade-cabinet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  background: linear-gradient(145deg, #181922, #0d0e14);
  border: 4px solid #ffcc00;
  border-radius: 14px;
  box-shadow: 
    0 0 25px rgba(255, 204, 0, 0.35),
    inset 0 0 15px rgba(0, 0, 0, 0.8),
    0 20px 50px rgba(0, 0, 0, 0.9);
}

#cabinet-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px 10px;
  border-bottom: 2px dashed #444;
  margin-bottom: 10px;
  font-size: 9px;
  color: #ffdd44;
  text-shadow: 0 0 8px rgba(255, 221, 68, 0.7);
  gap: 8px;
}

.marquee-badge {
  background: #ff0055;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
  animation: pulseBadge 1.5s infinite alternate;
  white-space: nowrap;
}

@keyframes pulseBadge {
  0% { transform: scale(0.98); opacity: 0.85; }
  100% { transform: scale(1.05); opacity: 1; }
}

#game-wrapper {
  position: relative;
  width: 480px;
  height: 640px;
  border: 3px solid #333;
  border-radius: 6px;
  overflow: hidden;
  background-color: #000;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.95);
}

/* CRT Scanline & Curvature Vignette Effect */
#crt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%),
    radial-gradient(circle at center, transparent 65%, rgba(0, 0, 0, 0.7) 100%);
  background-size: 100% 4px, 100% 100%;
  z-index: 100;
  opacity: 0.85;
}

#cabinet-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 10px 4px;
  font-size: 9px;
  color: #889;
  letter-spacing: 0.5px;
}

.controls-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.key-tag {
  color: #00ffff;
  font-weight: bold;
}
