body
  {
  font-family: sans-serif;
  padding: 20px;
  text-align: center;
  background: #ffffff;
  }

h1 { margin-bottom: 20px; }

button
  {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background: seagreen;
  color: #ffffff;
  cursor: pointer;
  margin: 5px;
  }

button:hover { background: darkgreen; }

.maschine
  {
  margin: 40px auto;
  width: 300px;
  height: 300px;
  border: 6px solid #555555;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #dddddd 0%, #aaaaaa 100%);
  }

/* Rotierende Container */
.outer-ring, .inner-ring
  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  }

.outer-ring
  {
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  animation: wirbel 8s linear infinite;
  }

.inner-ring
  {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  animation: gegenwirbel 6s linear infinite;
  }

@keyframes wirbel
  {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
  }

@keyframes gegenwirbel
  {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
  }

.kugel
  {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%; left: 50%;
  user-select: none;
  }

/* Äußere Trommelkugeln */
.kugel-outer
  {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  background: radial-gradient(circle at center, #ffffff 0%, #cccccc 100%);
  }

/* Innere Trommelkugeln */
.kugel-inner
  {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  background: radial-gradient(circle at center, #ffffff 0%, #bbbbbb 100%);
  }

/* Bereich für Ziehungen */
.history
  {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  }

.ziehung
  {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  }

.ziehung-label
  {
  font-weight: bold;
  margin-right: 10px;
  min-width: 80px;
  text-align: right;
  }

.gezogen
  {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #000000;
  background: #dddddd;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.4);
  transform: scale(0);
  opacity: 0;
  animation: bounceIn 0.6s forwards;
  }

@keyframes bounceIn
  {
  0% { transform: scale(0);   opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  80% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
  }