* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Impact", "Helvetica Neue", "Arial Black", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stage {
  position: relative;
  width: 540px;
  height: 960px;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 100, 220, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #0a0612 0%, #000 100%);
  border: 1px solid #221033;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.85),
              inset 0 0 80px rgba(255, 60, 200, 0.08);
  overflow: hidden;
}

#scoreboard {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  z-index: 10;
  pointer-events: none;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

.team .label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 6px;
  opacity: 0.95;
  font-family: "Impact", "Arial Black", sans-serif;
}

.team .score {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.15s ease;
  letter-spacing: 2px;
}

.team.red .label, .team.red .score {
  color: #ff3aa8;
  text-shadow: 0 0 18px rgba(255, 58, 168, 0.85),
               0 0 4px rgba(255, 200, 230, 0.9);
}

.team.blue .label, .team.blue .score {
  color: #3ce0ff;
  text-shadow: 0 0 18px rgba(60, 224, 255, 0.85),
               0 0 4px rgba(200, 245, 255, 0.9);
}

.score.bump { transform: scale(1.45); }

.meta {
  text-align: center;
}

.meta .title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 8px;
  color: #ffd84d;
  text-shadow: 0 0 14px rgba(255, 216, 77, 0.7),
               0 2px 0 #b07d00;
  font-family: "Impact", "Arial Black", sans-serif;
}

.meta .subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0.65;
  margin-top: 4px;
  color: #fff;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
}

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  opacity: 0.55;
  pointer-events: none;
  color: #ffd84d;
}

@keyframes beatPulse {
  0%   { box-shadow: 0 30px 80px rgba(0,0,0,0.85), inset 0 0 80px rgba(255, 60, 200, 0.08); }
  50%  { box-shadow: 0 30px 80px rgba(0,0,0,0.85), inset 0 0 110px rgba(255, 60, 200, 0.22); }
  100% { box-shadow: 0 30px 80px rgba(0,0,0,0.85), inset 0 0 80px rgba(255, 60, 200, 0.08); }
}

#stage.shaking {
  animation: beatPulse 0.5s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.85),
              inset 0 0 120px rgba(255, 60, 200, 0.32),
              0 0 50px rgba(255, 215, 0, 0.55);
}
