
body {
  font-family: Arial, sans-serif;
  background-color: #222;
  color: white;
  text-align: center;
}

#game {
  max-width: 600px;
  margin: 0 auto;
}

#money {
  font-size: 2em;
  margin-bottom: 20px;
}

#controls {
  margin: 10px;
}

button {
  background-color: #444;
  color: white;
  font-size: 1.2em;
  padding: 10px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

button:disabled {
  background-color: #777;
}

.row {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.slot {
  width: 100px;
  height: 100px;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  border-radius: 10px;
}

.slot img {
  width: 60px;
  height: 60px;
}

#result {
  font-size: 1.5em;
  margin-top: 15px;
  transition: all 0.3s ease;
}

#result.win {
  color: #0f0;
  text-shadow: 0 0 10px #0f0;
}

#result.lose {
  color: #f00;
  text-shadow: 0 0 10px #f00;
}

#jackpot {
  font-size: 1.2em;
  margin: 10px;
  color: gold;
}

.slot.win {
  border: 3px solid gold;
  box-shadow: 0 0 15px gold;
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px gold; }
  to { box-shadow: 0 0 20px #ffd700, 0 0 30px #ffa500; }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

#spin.win-shake {
  animation: shake 0.5s ease;
}

.money-fall {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: #0f0;
  animation: fall 1.2s ease-in forwards;
  pointer-events: none;
}

@keyframes fall {
  0% {
    top: 20%;
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}

/* Стили для логотипа */
.logo h1 {
  font-size: 36px; /* Уменьшаем размер текста */
  text-align: center; /* Центрируем текст */
  color: #FFD700; /* Цвет текста */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Тень */
  margin-top: 20px; /* Отступ сверху */
}

/* Если ваш логотип — это изображение, можно сделать так: */
.logo img {
  width: 300px; /* Уменьшаем размер изображения */
  height: auto; /* Сохраняем пропорции изображения */
  display: block; /* Делает изображение блочным элементом */
  margin: 0 auto; /* Центрирует изображение по горизонтали */
}

#bonus-controls {
  margin: 20px 0;
}

.bonus-buttons {
  display: flex;
  gap: 10px; /* Расстояние между кнопками */
  justify-content: start;
}

#buy-bonus, #buy-super-bonus {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#buy-bonus:hover, #buy-super-bonus:hover {
  background-color: #f0f0f0;
}

.slot img.bonus-anim {
  animation: bonus-pop 0.5s ease-out;
}

body.super-mode {
  background: linear-gradient(45deg, #ffffff, #0015ff, #ff0000);
  background-size: 400% 400%;
  animation: rainbowBackground 10s ease infinite;
}

@keyframes rainbowBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

