body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 90%;
}

h1 {
  color: #333;
  margin-bottom: 0.5rem;
}

p {
  color: #666;
  margin-bottom: 1.5rem;
}

#lotto-container {
  margin-bottom: 2rem;
}

.ad-section {
  margin: 1.5rem 0;
  min-height: 100px;
  background-color: #fcfcfc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lotto-set {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: #f9f9f9;
}

.ball {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Lotto ball colors based on number ranges */
.ball.range-1-10 { background-color: #fbc400; }  /* Yellow */
.ball.range-11-20 { background-color: #69c8f2; } /* Blue */
.ball.range-21-30 { background-color: #ff7272; } /* Red */
.ball.range-31-40 { background-color: #aaa; }    /* Grey */
.ball.range-41-45 { background-color: #b0d840; } /* Green */

#generate-btn {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#generate-btn:hover {
  background-color: #357abd;
}

#generate-btn:active {
  transform: translateY(1px);
}
