body, .mariachi-bg {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #1E2937 0%, #23272F 100%);
  color: #fff;
}

#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: none;
}

.game-block {
  background: rgba(30,41,55,0.98);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(239,68,68,0.10), 0 2px 8px rgba(31,41,55,0.12);
  padding: 36px 40px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 340px;
  border: 2.5px solid #F59E0B;
  position: relative;
}

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

.bet-input {
  width: 80px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid #F59E0B;
  font-size: 1.1em;
  outline: none;
  background: #23272F;
  color: #fff;
  transition: border 0.2s;
}
.bet-input:focus {
  border: 2px solid #EF4444;
}

.main-btn {
  background: linear-gradient(90deg, #EF4444 0%, #F59E0B 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(239,68,68,0.08);
  transition: background 0.2s, transform 0.1s;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.5px;
}
.main-btn:hover,
.main-btn:focus {
  background: linear-gradient(90deg, #F59E0B 0%, #EF4444 100%);
  color: #23272F;
  transform: translateY(-2px) scale(1.04);
}
.spin-btn {
  background: linear-gradient(90deg, #16A34A 0%, #1D4ED8 100%);
  color: #fff;
}
.spin-btn:hover,
.spin-btn:focus {
  background: linear-gradient(90deg, #1D4ED8 0%, #16A34A 100%);
  color: #fff;
}

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

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

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

@media (max-width: 600px) {
  .game-block {
    min-width: 90vw;
    padding: 18px 4vw 18px 4vw;
  }
  .main-container {
    padding: 0;
  }
}
