body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #222;
  color: #fff;
}

h1 {
  text-shadow: 0 0 10px #ff9900, 0 0 20px #ff9900;
  margin-bottom: 20px;
}

/* 统计信息样式 */
.stats-container {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-box {
  background-color: #333;
  border: 2px solid #ff9900;
  border-radius: 8px;
  padding: 10px 20px;
  min-width: 120px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.3);
}

.stat-label {
  font-size: 16px;
  color: #ff9900;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
}

/* 积分变化动画 */
.points-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: bold;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
}

.points-animation.show {
  animation: floatUp 1.5s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

.positive {
  color: #4caf50;
}

.negative {
  color: #f44336;
}

.slot-machine-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.slot-machine {
  display: flex;
  gap: 10px;
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
  border: 3px solid #ff9900;
}

.reel {
  width: 100px;
  height: 150px;
  overflow: hidden;
  background-color: white;
  border-radius: 5px;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.images {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  transition: top 3s cubic-bezier(0.1, 0.7, 0.2, 1);
}

.images li {
  width: 100px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 拉杆样式 */
.lever-container {
  position: relative;
  width: 60px;
  height: 200px;
  margin-left: 30px;
}

.lever-base {
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-color: #ff9900;
  border-radius: 50%;
  left: 10px;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
}

.lever {
  position: absolute;
  bottom: 20px;
  width: 20px;
  height: 150px;
  background-color: #ff7700;
  border-radius: 10px;
  left: 20px;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 0.3s;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.lever:hover {
  background-color: #ff9900;
}

.lever.pulled {
  transform: rotate(30deg);
}

.lever.disabled {
  background-color: #666;
  cursor: not-allowed;
}

.result {
  margin-top: 20px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  min-height: 40px;
  color: #ff9900;
  text-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
}

/* 控制区域 */
.controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.bet-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bet-amount {
  background-color: #333;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 18px;
  min-width: 100px;
  text-align: center;
}

/* 闪烁动画 */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.win-animation {
  animation: blink 0.5s infinite;
}

button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #ff9900;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff7700;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

#decreaseBet, #increaseBet {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 24px;
  font-weight: bold;
}

#resetButton {
  background-color: #555;
}

#resetButton:hover {
  background-color: #777;
} 