body{
  font-family: "Open Sans";
  display: block;  /* Change from flex to block */
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  min-height: 100vh;
  overflow: hidden;
  background: rgba(193,204,197,1);
  /* background: linear-gradient(90deg, rgba(60, 60, 242, 1) 0%, rgba(98, 245, 230, 1) 52%, rgba(60, 60, 242, 1) 100%); */
  background: radial-gradient(circle, rgba(193,204,197,1) 0%, rgba(42,76,46,1) 100%);
  background-size: cover;
  padding: 2rem;
  margin: 0;
}

#wheelOfFortune {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 10px solid #fff;
  
  /* NEU: responsive Größe */
  width: min(85vh, 85vw);
  height: min(85vh, 85vw);
}

#wheel {
  display: block;
  
  /* NEU: Canvas nimmt immer die volle Wheel-Fläche ein */
  width: 100%;
  height: 100%;
}

#spin {
  font: 5rem/0 sans-serif;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
  -webkit-text-stroke: 3px black;
}

#spin::after {
  content: "";
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
  -webkit-text-stroke: 3px black;
}

#winner:empty {
  display: none;
}

#winner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
  max-width: 80%;
  width: auto;
  height: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem;
  line-height: 1.4;
  z-index: 1000;
  border: 2px solid black;
  color: #fff;
  -webkit-text-stroke: 0.5px black; /* Reduced stroke width */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px; /* Added minimum height */
  white-space: normal; /* Prevent text from being stretched */
  padding: 30px 40px;
}

#winnersList {
  margin-left: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  min-width: 250px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border: 10px solid #fff;
}

#winnersList h2 {
  color: #094d2c;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

#previousWinners li {
  padding: 1rem;
  margin: 0.8rem 0;
  background: white;
  border-radius: 10px;
  font-size: 1.5rem;
  color: #094d2c;
  border: 2px solid #094d2c;
  text-align: center;
  font-family: serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#previousWinners {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem);  /* Account for padding */
  gap: 2rem;
}

.wheel-title {
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: serif;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}