body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: url("images/background.png");
  background-position: 20px 0px;
  background-repeat: no-repeat;
}

#wrap {
  width: 300px;
  height: 240px;
  overflow: hidden;
}

#game {
  width: 200px;
  text-align: center;
}

button {
  font-size: 7pt;
}

#info {
  position: absolute;
  top: 20px;
  left: 200px;
  width: 100px;
  text-align: left;
  font-size: 9pt;
  font-family: arial, helvetica, sans-serif;
}

#credits {
  font-size: 10pt;
}

#log {
  color: #666666;
}

#attribution {
  text-align: right;
  width: 280px;
  font-size: 7pt;
  color: #666666;
  font-family: arial, helvetica, sans-serif;
  margin-top: 20px;
}

#attribution a {
  color: #6666ff;
}

/* Центрирование главного контейнера */
.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/A_bright_cartoonstyle_farm.jpg") center center/cover no-repeat,
    linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
}

.game-block {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(60, 60, 120, 0.15);
  padding: 32px 36px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 340px;
}

.bet-row,
.lines-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 0 0;
}

.bet-input {
  width: 70px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #bfc7d1;
  font-size: 1.1em;
  outline: none;
  transition: border 0.2s;
}

.bet-input:focus {
  border: 1.5px solid #6c63ff;
}

.main-btn {
  background: linear-gradient(90deg, #6c63ff 0%, #48c6ef 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(76, 99, 255, 0.08);
  transition: background 0.2s, transform 0.1s;
}

.main-btn:hover,
.main-btn:focus {
  background: linear-gradient(90deg, #48c6ef 0%, #6c63ff 100%);
  transform: translateY(-2px) scale(1.04);
}

.spin-btn {
  background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
  color: #333;
}

.spin-btn:hover,
.spin-btn:focus {
  background: linear-gradient(90deg, #ffcc33 0%, #ffb347 100%);
}

.info-block {
  margin-top: 22px;
  width: 100%;
  text-align: center;
}

#credits {
  font-size: 1.2em;
  font-weight: 700;
  color: #6c63ff;
  margin-bottom: 6px;
}

#log {
  font-size: 1em;
  color: #444;
  min-height: 24px;
}