body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: #fff;
}

.navbar {
  background: #1f2d3d;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

#loginBox input {
  margin: 5px;
  padding: 10px;
}

#loginBox button {
  padding: 10px 20px;
  margin-top: 10px;
}

#moneyDisplay {
  font-size: 24px;
  margin-bottom: 20px;
}

.road {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.lane {
  width: 70px;
  height: 120px;
  background: #2e3a50;
  border-radius: 10px;
  border: 2px dashed #aaa;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: visible;
}

.multiplier {
  font-weight: bold;
  margin-bottom: 5px;
}

.chicken {
  font-size: 32px;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: left 0.4s cubic-bezier(.68,-0.55,.27,1.55), filter 0.2s;
  filter: drop-shadow(0 2px 8px #fff8);
}

.flame {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  font-size: 32px;
  color: #ff4500;
  animation: burst 0.5s cubic-bezier(.68,-0.55,.27,1.55), flicker 0.6s infinite alternate;
}

@keyframes flicker {
  from { opacity: 1; transform: scaleY(1); }
  to { opacity: 0.6; transform: scaleY(1.1); }
}

@keyframes burst {
  0% { transform: translateX(-50%) scale(0.5); opacity: 0.2; }
  60% { transform: translateX(-50%) scale(1.4); opacity: 1; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 0.7; }
}

.controls {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cashoutBtn, .goBtn {
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cashoutBtn {
  background: gold;
  color: #000;
}

.goBtn {
  background: #2ecc71;
  color: #fff;
}
