body {
  font-family: 'Arial', sans-serif;
  background-color: #e0f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

#theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #00796b;
  color: white;
}

.dark-mode #theme-toggle {
    background-color: #ffffff;
    color: #121212;
}

.lotto-generator {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top: -100px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.dark-mode .lotto-generator {
    background-color: #1e1e1e;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

h2 {
  color: #00796b;
  margin-bottom: 20px;
}

.dark-mode h2 {
    color: #00bcd4;
}

#generate-lotto {
  background-color: #00bcd4;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#generate-lotto:hover {
  background-color: #0097a7;
}

#lotto-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.lotto-set {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.lotto-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
  color: white;
  margin: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lotto-number.bonus {
  background: linear-gradient(45deg, #a1c4fd 0%, #c2e9fb 100%);
}

.dark-mode .lotto-number {
    background: linear-gradient(45deg, #888 0%, #333 100%);
}

.dark-mode .lotto-number.bonus {
    background: linear-gradient(45deg, #444 0%, #111 100%);
}

.lotto-set > .lotto-number.bonus::before {
  content: "+";
  margin-right: 5px;
}
