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

html, body {
  height: 100%;
  background: #1a0f08;
  color: #f5e6cf;
  font-family: "Georgia", "Times New Roman", 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(214, 132, 48, 0.30), transparent 60%),
    linear-gradient(180deg, #5a2e12 0%, #3a1c0c 45%, #1f1006 100%);
  border: 1px solid #6e3c1c;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 60px rgba(40,16,4,0.55);
  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(30,12,4,0.6), rgba(30,12,4,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: "Georgia", "Times New Roman", 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: #e8642a;
  text-shadow: 0 0 14px rgba(232, 100, 42, 0.6), 0 0 2px rgba(232, 100, 42, 0.9);
}

.team.blue .label, .team.blue .score {
  color: #f0b429;
  text-shadow: 0 0 14px rgba(240, 180, 41, 0.6), 0 0 2px rgba(240, 180, 41, 0.9);
}

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

.meta {
  text-align: center;
}

.meta .title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 5px;
  opacity: 0.9;
  color: #f3d9a4;
}

.meta .subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.55;
  margin-top: 4px;
}

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

.ticker {
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.55;
  color: #e9cfa0;
  pointer-events: none;
}

/* Gust sway — gentle lateral lean while the harvest wind blows. */
@keyframes gust {
  0%   { transform: translate(0, 0) rotate(0); }
  25%  { transform: translate(5px, 0) rotate(0.18deg); }
  50%  { transform: translate(7px, -1px) rotate(0.22deg); }
  75%  { transform: translate(4px, 0) rotate(0.12deg); }
  100% { transform: translate(0, 0) rotate(0); }
}

#stage.gusting {
  animation: gust 0.9s ease-in-out infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6),
              inset 0 0 60px rgba(40,16,4,0.55),
              0 0 40px rgba(214, 132, 48, 0.5);
}
