body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #e9e9e9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  font-weight: 300;
  margin-bottom: 20px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.input-container {
  display: flex;
  align-items: center;
}

.input-container label {
  margin-right: 5px;
  font-size: 14px;
  color: #666;
}

.input-container input {
  width: 50px;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #ff7f50;
  color: white;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff6347;
}

.lotto-ticket {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 350px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.ticket-header {
  text-align: center;
  border-bottom: 2px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.ticket-header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
}

.ticket-header .date {
  font-size: 12px;
  color: #999;
}

.ticket-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-items: center;
}

.number {
  background-color: #fff;
  border: 2px solid #ff7f50;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  animation: grow 0.5s ease;
}

.placeholder {
  grid-column: 1 / -1;
  color: #999;
  font-style: italic;
}

.ticket-footer {
  text-align: center;
  border-top: 2px dashed #ccc;
  padding-top: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: #999;
}

@keyframes grow {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
