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

html, body {
  height: 100%;
  background: #0d0a06;
  color: #fff;
  font-family: "Trebuchet MS", "Palatino Linotype", Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stage {
  position: relative;
  width: 540px;
  height: 960px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(120, 180, 240, 0.30), transparent 55%),
    linear-gradient(180deg, #7db6e8 0%, #a9d3f0 32%, #8fb56a 55%, #6f8f45 78%, #5a3d22 100%);
  border: 3px solid #6b4a24;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 60px rgba(0,0,0,0.3);
  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(45,25,10,0.78), rgba(45,25,10,0));
  z-index: 10;
  pointer-events: none;
}

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

.team .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  opacity: 0.9;
}

.team .score {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.15s ease;
}

.team.red .label, .team.red .score {
  color: #d83a3a;
  text-shadow: 0 0 14px rgba(216, 58, 58, 0.6), 0 0 2px rgba(120,20,20,0.9);
}

.team.blue .label, .team.blue .score {
  color: #3f7fd8;
  text-shadow: 0 0 14px rgba(63, 127, 216, 0.6), 0 0 2px rgba(20,40,110,0.9);
}

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

.meta {
  text-align: center;
}

.meta .title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #f2d98a;
  text-shadow: 0 0 10px rgba(242,217,138,0.5), 0 1px 2px rgba(0,0,0,0.6);
}

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

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

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  color: #ffe9b0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  pointer-events: none;
}

@keyframes charge {
  0%   { transform: translate(0, 0); }
  15%  { transform: translate(-5px, 0); }
  30%  { transform: translate(5px, 1px); }
  45%  { transform: translate(-4px, -1px); }
  60%  { transform: translate(5px, 0); }
  75%  { transform: translate(-3px, 1px); }
  90%  { transform: translate(3px, 0); }
  100% { transform: translate(0, 0); }
}

#stage.charging {
  animation: charge 0.28s linear infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6),
              inset 0 0 60px rgba(0,0,0,0.3),
              0 0 40px rgba(242, 200, 90, 0.55);
}
