.lotto-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.game-select {
  padding: 10px 14px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--color-text);
  background: white;
}

.generate-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.generate-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.generate-btn:active {
  transform: translateY(0);
}

/* Results */
.lotto-results {
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.lotto-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.lotto-row:last-child {
  border-bottom: none;
}

.row-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-muted);
  min-width: 24px;
  text-align: center;
}

.balls-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lotto-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  animation: ballPop 0.4s ease both;
}

@keyframes ballPop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
  .lotto-ball {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .balls-container {
    gap: 6px;
  }
}
